How to Open PowerShell as Administrator

Running PowerShell commands with elevated privileges is often necessary when configuring system settings, installing software, or troubleshooting issues.

This post covers most methods to open PowerShell as an administrator on Windows, ensuring you have the necessary permissions for advanced operations.

Methods Covered in This Guide:
1. Open PowerShell as Administrator by Command Prompt
2. Open PowerShell as Administrator Using the Start Menu
3. Open PowerShell as Administrator with Windows Terminal
4. Open PowerShell as Administrator Using Task Manager

1. Open PowerShell as Administrator by Command

The following is a very quick way to open PowerShell as Administrator, from a PowerShell Terminal window:

# open powershell as administrator
Start-Process powershell -Verb runas
Open PowerShell as Admin from Command

A User Account Control (UAC) prompt will appear, click Yes to confirm and the PowerShell Admin terminal will open.

2. Open PowerShell as Administrator Using the Start Menu

Next up, we’ll open PowerShell as Admin using the Start Menu:

Windows 10/11:
1. Hit the Windows Key.
2. Type PowerShell in the search bar.
3. Click Run as Administrator when the option appears.

Open PowerShell as Administrator Windows 11

Windows 8:
1. Click the Start button and type PowerShell.
2. Right-click Windows PowerShell and select Run as Administrator.

Windows 7:
1. Click Start and navigate to All Programs > Accessories > Windows PowerShell.
2. Right-click Windows PowerShell and choose Run as administrator.

3. Open PowerShell as Administrator with Windows Terminal

Windows Terminal is the terminal app for PowerShell on Windows 11. Check out my other post for a quick guide for installing Windows Terminal on your machine.

To open PowerShell as Administrator using Windows Terminal:
1. Open Windows Terminal.
2. Hold CTRL and click the + (plus) icon in the top bar (if PowerShell is the default shell).
3. Alternatively, right-click Windows Terminal and select Run as administrator.

Windows Terminal Open PowerShell as Admin

4. Open PowerShell as Administrator Using Task Manager

Lastly, here’s an alternative option sometimes useful if you’re stick with no other option available. We’ll open PowerShell as Admin via Task Manager:

1. Press Ctrl + Shift + Esc to open Task Manager.
2. Click Run New Task.
3. Type PowerShell, check Create this task with administrative privileges, and click OK.

Open PowerShell as Administrator Using Task Manager

Hope all this was useful for you!


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *