Open Elevated Windows PowerShell in Windows 10

    Open Elevated Windows PowerShell in Windows 10

    How to Open Elevated Windows PowerShell in Windows 10
    Published by Category: Apps & Features
    24 Sep 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 25,730

    Show Printable Version 


    How to Open Elevated Windows PowerShell in Windows 10

    information   Information
    Windows 10 comes with Windows PowerShell 5.0 included.

    Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.

    For more details about Windows PowerShell, see:


    This tutorial will show you different ways to open an elevated Windows PowerShell in Windows 10.

    You must be signed in as an administrator to be able to open an elevated Windows PowerShell.


    CONTENTS:
    • Option One: Open Elevated Windows PowerShell from All apps in Start Menu
    • Option Two: Open Elevated Windows PowerShell in Search
    • Option Three: Open Elevated Windows PowerShell from Task Manager
    • Option Four: Open Elevated Windows PowerShell from Win+X Menu
    • Option Five: To "Open Elevated Windows PowerShell Here" in File Explorer
    • Option Six: Open Elevated Windows PowerShell from File Explorer



    EXAMPLE: Elevated Windows PowerShell
    Name:  Elevated_Windows_PowerShell.png
Views: 19563
Size:  9.8 KB





    Open Elevated Windows PowerShell in Windows 10 OPTION ONE Open Elevated Windows PowerShell in Windows 10
    Open Elevated Windows PowerShell from All apps in Start Menu

    1. Open All apps in the Start menu.

    2. Scroll down and expand open the Windows PowerShell folder, right click or press and hold on Windows PowerShell, click/tap on More, and click/tap on Run as administrator. (see screenshot below)

    Click image for larger version. 

Name:	All_apps_elevated_Windows_PowerShell.jpg 
Views:	1148 
Size:	143.3 KB 
ID:	41891






    Open Elevated Windows PowerShell in Windows 10 OPTION TWO Open Elevated Windows PowerShell in Windows 10
    Open Elevated Windows PowerShell in Search

    1. Press the Win+S keys to open Search.

    2. Type powershell in the search box, right click or press and hold on Windows PowerShell in the search results at the top, and click/tap on Run as administrator. (see screenshot below)

    Click image for larger version. 

Name:	Search_Elevated_Windows_PowerShell.png 
Views:	511 
Size:	51.3 KB 
ID:	41895






    Open Elevated Windows PowerShell in Windows 10 OPTION THREE Open Elevated Windows PowerShell in Windows 10
    Open Elevated Windows PowerShell from Task Manager

    1. Open Task Manager (Ctrl+Shift+Esc).

    2. Click/tap on File (menu bar), and click/tap on Run new task. (see screenshot below)

    Click image for larger version. 

Name:	Task_Manager_Elevated_Windows_PowerShell-1.jpg 
Views:	491 
Size:	78.2 KB 
ID:	41896

    3. Type powershell, check the Create this task with administrative privileges box, and click/tap on OK in the search results at the top. (see screenshot below)

    Name:  Task_Manager_Elevated_Windows_PowerShell-2.png
Views: 49113
Size:  13.6 KB






    Open Elevated Windows PowerShell in Windows 10 OPTION FOUR Open Elevated Windows PowerShell in Windows 10
    Open Elevated Windows PowerShell from Win+X Menu

    1. If you have the Win+X menu set to show Windows PowerShell instead of Command Prompt, then press the Win+X keys to open the Win+X menu.

    2. Click/tap on Windows PowerShell (Admin). (see screenshot below)

    Name:  Win+X_menu_elevated_PowerShell.png
Views: 49013
Size:  28.9 KB






    Open Elevated Windows PowerShell in Windows 10 OPTION FIVE Open Elevated Windows PowerShell in Windows 10
    To "Open Elevated Windows PowerShell Here" in File Explorer

    1. Open File Explorer, select or open a folder or drive that you want to open Windows PowerShell at that location. (see screenshot below)

    2. Click/tap on the File tab on the ribbon, click/tap on Open Windows PowerShell to expand, and click/tap on Open Windows PowerShell as administrator. (see screenshot below)

    Click image for larger version. 

Name:	Open_elevated_PowerShell_Here.png 
Views:	582 
Size:	65.4 KB 
ID:	41894






    Open Elevated Windows PowerShell in Windows 10 OPTION SIX Open Elevated Windows PowerShell in Windows 10
    Open Elevated Windows PowerShell from File Explorer

    1. Open File Explorer, and browse to the folder location below.

    C:\Windows\System32\WindowsPowerShell\v1.0

    2. Select the powershell.exe file, click/tap on the File tab on the ribbon, and click/tap on Run as administrator. (see screenshot below)

    OR

    3. Right click or press and hold on the powershell.exe file, and click/tap on the Run as administrator.

    Click image for larger version. 

Name:	File_Explorer_Elevated_Windows_PowerShell.png 
Views:	486 
Size:	95.5 KB 
ID:	41893



    That's it,
    Shawn


  1.    19 Apr 2017 #1
    Join Date : Aug 2015
    West Australia
    Posts : 15
    64 bit Win10 Pro v1703 - 15063.674

    Thanks Shawn good tutorial
      My ComputerSystem Spec
  2.    19 Apr 2017 #2
    Join Date : Oct 2013
    Posts : 25,730
    64-bit Windows 10 Pro build 17046
    Thread Starter

      My ComputersSystem Spec
  3.    21 Sep 2017 #3
    Join Date : Oct 2014
    NJ USA
    Posts : 15
    Win 10 Pro x64 1709

    Thank you Shawn for the great tute, as usual. However I have 2 problems on my Win 10 PRO 1703
    1) Option 6 (File Explorer) is unavailable as the "Open Windows Powershell" option is greyed out:

    Click image for larger version. 

Name:	grey-out.JPG 
Views:	38 
Size:	72.1 KB 
ID:	154418

    2) Option 4 is unavailable as I previously used a tweak or setting which replaced Powershell with Command Prompt and I cannot find the tweak or setting to change it back.

    Any advice is welcome.

    EDIT: For problem 2 I just found this : Show Command Prompt or Windows PowerShell on Win+X menu in Windows 10 Windows 10 Customization Tutorials
      My ComputerSystem Spec
  4.    21 Sep 2017 #4
    Join Date : Oct 2013
    Posts : 25,730
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Hello Joe,

    Q1) It looks like you may not have a folder or drive selected in the "This PC" window for the "Open Windows PowerShell" option to be available.

    Q2) Yep, that's the one.
      My ComputersSystem Spec
  5.    21 Sep 2017 #5
    Join Date : Oct 2014
    NJ USA
    Posts : 15
    Win 10 Pro x64 1709

    Quote Originally Posted by Brink View Post
    Q1) It looks like you may not have a folder or drive selected in the "This PC" window for the "Open Windows PowerShell" option to be available.
    As Homer Simpson would say.... D'OH!!! Thanks again Shawn for this and other fantabulous sites, tutorials, etc. You the Man!
      My ComputerSystem Spec
  6.    21 Sep 2017 #6
    Join Date : Oct 2013
    Posts : 25,730
    64-bit Windows 10 Pro build 17046
    Thread Starter

    You're most welcome Joe.
      My ComputersSystem Spec
  7.    22 Sep 2017 #7
    Join Date : Oct 2016
    Posts : 187
    Many

    I'd like to add the easiest way to open anything elevated. Hold ctrl + shift and click your application or double click icon on desktop or explorer.

    Run as Administrator in Windows 10 Windows 10 Apps Features Tutorials
    Last edited by Brink; 22 Sep 2017 at 21:51. Reason: added tutorial link for more info
      My ComputerSystem Spec

 


Similar Threads
Tutorial Category
General Tips Open Elevated Command Prompt in Windows 10
How to Open an Elevated Command Prompt in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands in an elevated command prompt, you can perform tasks that require...
Tutorials
Apps & Features Open Windows PowerShell in Windows 10
How to Open Windows PowerShell in Windows 10 Windows 10 comes with Windows PowerShell 5.0 included. Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET...
Tutorials
Solved Get elevated command prompt to open in my user directory
I changed Command Prompt on my Taskbar so when I click on it, it opens as Administrator. That sets the default directory as C:\WINDOWS\system32 which I don't like, since any files I create that do not have a path specified will be created there. ...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 10:23.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums