How to Open PowerShell as Administrator on Windows

Running PowerShell as Administrator is required for many system-level tasks such as configuring Windows, installing software, or running administrative scripts.

If a command fails unexpectedly, one of the first things to verify is whether the PowerShell session is actually elevated.

Below are the most reliable ways to open PowerShell with elevated privileges on Windows.


Quick method (fastest)

If you already have a PowerShell window open, run this. -Verb RunAs is how Start-Process asks for Run as administrator:

# Open PowerShell as Administrator
Start-Process powershell -Verb runas
PowerShell command using Start-Process with runas to open an elevated session

You’ll be prompted by User Account Control (UAC). Click Yes to open an elevated PowerShell session.

This is often the fastest option when you realise mid-task that elevation is required.


1. Open PowerShell as Administrator from the Start Menu

Windows 10 / Windows 11

  1. Press the Windows key
  2. Type PowerShell
  3. Select Run as administrator
Opening PowerShell as Administrator from the Windows Start menu

This remains the most common and discoverable method on modern Windows versions.

To do this on Windows 7 or 8, the steps are slightly different. Those versions are out of support and should not be used for administrative work.


2. Open PowerShell as Administrator using Windows Terminal

Windows Terminal is the default terminal application on Windows 11 and supports PowerShell profiles.

To open PowerShell as Administrator:

  • Right-click Windows Terminal
  • Select Run as administrator

Or, from a Windows Terminal window you already have open:

  • Open the dropdown beside the + icon
  • Right-click the PowerShell profile and select Run as Administrator, or hold Ctrl and click it
Running PowerShell as Administrator using Windows Terminal

The elevated profile opens in a new window, not a new tab, because elevated and unelevated tabs cannot share a Windows Terminal window (Windows Terminal profile settings on Microsoft Learn). Windows Terminal does not launch elevated by default, even if PowerShell is your active profile, so always verify the session context.


3. Open PowerShell as Administrator from Task Manager

This method is useful when the Start Menu or Explorer is unavailable.

  1. Press Ctrl + Shift + Esc to open Task Manager
  2. Click Run new task
  3. Type powershell
  4. Check Create this task with administrative privileges
  5. Click OK

An elevated PowerShell window will open.

Opening PowerShell as administrator from Task Manager on Windows

This approach is especially useful during incident response or when troubleshooting broken shell environments.


How to Actually Verify a Session Is Elevated

Do not guess from the window title or the icon. This line answers it:

([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)

Returns True or False, no ambiguity. Worth aliasing or keeping in a snippets file if elevation checks come up often, it’s the one command in this post most worth memorizing.


Notes

  • Many PowerShell cmdlets require administrator rights to modify system or security settings
  • If a script fails with access or permission errors, always confirm the session is elevated before troubleshooting further
  • Windows Terminal profiles can mask whether a tab is elevated, so visual confirmation matters

Where To Go Next

An elevated prompt is almost always step one of something else. These are the jobs that need it.

Comments

Leave a Reply

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