sodcalculator

10 Tech How-To

How to Open PowerShell as Admin in Windows 11

Guide 10-52029 · Updated · Step by step

Opening PowerShell as administrator in Windows 11 lets you run commands that need elevated privileges, such as installing system-wide software, changing system settings, or managing user accounts. This guide shows you five reliable ways to do it, from the Start menu to the Power User menu, plus what to do if something goes wrong.

What You’ll Need

  • A Windows 11 PC with an administrator account (or the password for one).
  • If you’re using a work or school computer, you may need IT permission to run elevated commands.

Step-by-Step

Method 1: Start Menu Search

  1. Click the Start button (Windows icon) on the taskbar, or press the Windows key.
  2. Type PowerShell in the search box.
  3. You’ll see Windows PowerShell (or PowerShell) appear in the results. Right-click it.
  4. Select Run as administrator from the context menu.
  5. If the User Account Control (UAC) prompt appears, click Yes.
  6. The PowerShell window opens with a title bar that says Administrator: Windows PowerShell.

Method 2: Power User Menu (Win+X)

  1. Right-click the Start button or press Windows + X.
  2. From the menu, choose Terminal (Admin) or Windows PowerShell (Admin), depending on your system.
  3. If you see Terminal (Admin), it opens Windows Terminal, which includes PowerShell as a tab. If you prefer classic PowerShell, select Windows PowerShell (Admin) if listed.
  4. Click Yes on the UAC prompt.

Method 3: Run Dialog

  1. Press Windows + R to open the Run dialog.
  2. Type powershell (or powershell.exe).
  3. Instead of pressing Enter, press Ctrl + Shift + Enter.
  4. Click Yes on the UAC prompt.

Method 4: Task Manager

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Click File in the menu bar, then select Run new task.
  3. Type powershell in the dialog box.
  4. Check the box that says Create this task with administrative privileges.
  5. Click OK and confirm the UAC prompt.

Method 5: File Explorer Address Bar

  1. Open File Explorer (Windows + E).
  2. Click in the address bar and type powershell.
  3. Press Ctrl + Shift + Enter instead of Enter.
  4. Click Yes on the UAC prompt.

Common Mistakes

  • Not using Ctrl+Shift+Enter: Pressing Enter alone opens PowerShell in normal (non-admin) mode.
  • Ignoring the UAC prompt: If you click “No” or dismiss it, PowerShell will not run as admin.
  • Choosing the wrong shortcut: Some systems have both “Windows PowerShell” and “PowerShell” (the new version). Both work, but make sure you right-click the one you want and choose “Run as administrator”.
  • Using the wrong account: If you’re not an administrator, you’ll be asked for an admin password. If you don’t have it, you can’t proceed.

Tips

  • Pin it for quick access: After opening PowerShell as admin, right-click the taskbar icon and select “Pin to taskbar”. Next time, right-click the pinned icon and choose “Run as administrator”.
  • Use Windows Terminal: If you have Windows Terminal installed, you can set it to open PowerShell as admin by default. Right-click the Start button, select “Terminal (Admin)”, and it will open with your default profile (often PowerShell).
  • Check the title bar: Always verify that the window title says “Administrator:” before running commands that require elevation.
  • Create a desktop shortcut: Right-click your desktop, choose New > Shortcut, type powershell.exe, and name it. Then right-click the shortcut, select Properties, click “Advanced”, and check “Run as administrator”.

Troubleshooting

  • UAC prompt doesn’t appear: If you click “Run as administrator” and nothing happens, it’s possible that UAC is disabled. Re-enable it by searching “UAC” in Start, then set the slider to “Always notify”. Reboot and try again.
  • “This app has been blocked by your system administrator”: This usually happens on managed devices. Contact your IT department or try using Command Prompt as admin instead.
  • PowerShell opens and immediately closes: This might be caused by a corrupted profile or a startup script. Try launching with powershell -NoProfile from the Run dialog (with Ctrl+Shift+Enter).
  • You get “Access is denied” when running commands: Even though PowerShell is open, some commands may require a specific admin scope. Make sure you’re in the right directory and that the command is correct. Also, check if the command needs PowerShell 7 instead of Windows PowerShell 5.1.

Frequently Asked Questions

Why do I need to run PowerShell as admin?

Many system-level commands (like installing drivers, changing firewall rules, or modifying registry entries) require elevated privileges. Running as admin gives you the necessary permissions.

What is the difference between PowerShell and PowerShell (Admin)?

PowerShell (Admin) runs with elevated privileges, meaning it can access and modify system areas that normal user mode cannot. The standard PowerShell runs with your user permissions only.

Can I open PowerShell as admin from the taskbar?

Yes, if PowerShell is pinned to the taskbar, right-click the icon and select “Run as administrator”. If it’s not pinned, search for it in Start, right-click, and pin it first.

Is there a keyboard shortcut to open PowerShell as admin?

There is no direct shortcut, but you can use Windows + X, then press A (if Terminal is set to admin) or I (for Windows PowerShell). Alternatively, use Windows + R, type powershell, and press Ctrl+Shift+Enter.

What if I accidentally open PowerShell without admin rights?

Close the window and reopen it using one of the methods above. You can also type Start-Process powershell -Verb RunAs in the non-admin window to trigger an elevated prompt.

Does Windows 11 have PowerShell 7 by default?

No, Windows 11 ships with Windows PowerShell 5.1. PowerShell 7 (the current version) is a separate install available from the Microsoft Store or GitHub. The methods above work for both.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →