Open Elevated Windows PowerShell in Windows 10  

Page 1 of 2 12 LastLast
    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
    07 Jun 2020
    Designer Media Ltd

    How to Open Elevated 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 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
    Open Elevated Windows PowerShell in Windows 10-elevated_windows_powershell.png





    OPTION ONE

    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)

    Open Elevated Windows PowerShell in Windows 10-all_apps_elevated_windows_powershell.jpg






    OPTION TWO

    Open Elevated Windows PowerShell in Search


    1 Press the Win+ S keys to open Search.

    2 Type powershell into the search box, click/tap on Run as administrator in the right pane for Windows PowerShell in the search results at the top. (see screenshot below)

    Open Elevated Windows PowerShell in Windows 10-search_elevated_windows_powershell.png






    OPTION THREE

    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)

    Open Elevated Windows PowerShell in Windows 10-task_manager_elevated_windows_powershell-1.jpg

    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)

    Open Elevated Windows PowerShell in Windows 10-task_manager_elevated_windows_powershell-2.png






    OPTION FOUR

    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 Quick Link menu.

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

    Open Elevated Windows PowerShell in Windows 10-win-x_menu_elevated_powershell.png






    OPTION FIVE

    To "Open Elevated Windows PowerShell Here" in File Explorer


    1 Open File Explorer (Win+E).

    2 Select or open a folder or drive that you want to open Windows PowerShell at that location. (see screenshot below)

    3 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)

    Open Elevated Windows PowerShell in Windows 10-open_elevated_powershell_here.png






    OPTION SIX

    Open Elevated Windows PowerShell from File Explorer


    1 Open File Explorer (Win+E).

    2 Browse to the folder location below.

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

    3 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

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

    Open Elevated Windows PowerShell in Windows 10-file_explorer_elevated_windows_powershell.png


    That's it,
    Shawn






  1. Posts : 35
    Win10 Pro 64 v 20H2 build 19042.572
       #1

    Thanks Shawn good tutorial
      My Computer


  2. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

      My Computers


  3. Posts : 16
    Win 10 Pro x64 1909, Win 10 Pro 2004 x64
       #3

    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:

    Open Elevated Windows PowerShell in Windows 10-grey-out.jpg

    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 Computer


  4. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    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 Computers


  5. Posts : 16
    Win 10 Pro x64 1909, Win 10 Pro 2004 x64
       #5

    Brink said:
    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 Computer


  6. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    You're most welcome Joe. :)
      My Computers


  7. Posts : 226
    Many
       #7

    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 Computer


  8. Posts : 144
    Windows 10 Pro x64
       #8

    Sorry DELETED!

    Wrong Thread!

    Thanks. ...
      My Computer


  9. Posts : 316
    Pro 20H2
       #9

    Brink said:
    PowerShell 5.0 included
    So, any reason not to deselect PowerShell 2.0 in "Turn Windows features on and off" ?
      My Computer


 

Tutorial Categories

Open Elevated Windows PowerShell in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
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 18:54.
Find Us




Windows 10 Forums