6 Ways to Run PowerShell as Administrator in Windows 10

For some purposes you may need to launch programs as administrator. Even when it comes to a console window.

You may need it when modifying serious system settings like administrating group policies, configuring network interfaces, editing user rights, creating or deleting accounts,  and more. 

Well, here are multiple methods to open an elevated PowerShell session in Windows 10. 

Win+X Menu — Run PowerShell as a Pro Admin

This is perhaps the quickest way to open the PowerShell as admin and my favorite one. You don’t even have a mouse connected to your Windows 10 PC to use it. 

All you need to do is:

  1. Press the “Win+X” key combination.
  2. Select “Windows PowerShell (admin)”.
  3. Hit Enter on your keyboard.
Win+X PowerShell (Admin)

Then, if you have the UAC enabled, select “Yes”. You can do it by using the arrow keys as well. 

Note, that this shortcut is available in Windows 10 Creators Update and later OS versions.

From Start Menu

This method works on all Windows 10 versions.

1. Press the Start button.

2. Start typing “powershell” in the search field.

3. Right-click the PowerShell in the results.

4. Select Run ad administrator:

powershell-as-administrator0011

5. Press Yes in User Account Control dialogue window:

powershell-as-administrator0012

Here is the elevated PowerShell:

powershell-as-administrator0

From CMD or Run Dialogue

  1. Open the command line or Run dialogue by pressing “Win+R” and hitting Enter:
  2. type or copy & paste from here powershell -Command "Start-Process PowerShell -Verb RunAs"
  3. Click “OK” or hit “Enter”.
    elevated PowerShell from Run Windows 10
  4. Click “Yes” in the UAC window.

Run PowerShell as Administrator from Non-Elevated PowerShell Session

  1. In PowerShell session type Start-Process PowerShell -Verb RunAs
  2. Hit “Enter”.
    Run PowerShell as administrator from PowerShell
  3. Confirm by clicking “Yes” in the UAC dialogue.

From Task Manager

Windows Task Manager allows to open an elevated session of PowerShell without typing complicated commands. All you need to do is:

  1. Press “Ctrl+Shift +Esc”.
  2. In the “File” menu click “Run new task”.
  3. Type powershell
  4. Set the “Create this task with administrative privileges” checkbox.
  5. Click “OK” or hit “Enter”.
run PowerShell with administrative privileges Task Manager

From Windows 10 File Explorer

Here is yet another option. You may directly launch the .exe-file. Follow the steps:

  1. Press “Win+E” to launch the File Explorer.
  2. Navigate to C:\Windows\System32\WindowsPowerShell\v1.0
    (assuming that C: is the letter of the disk volume where your Windows 10 is installed).
  3. Find the powershell.exe file
  4. Right-click it and select “Run as administrator”.
run PowerShell as administrator Windows 10 File Explorer

Click “Yes” in the UAC window if it appears and the elevated PowerShell session will open.

Tell us in the comments, for what purpose did you need to follow this guide?

Leave a Comment