Of late, Windows 11/10 users who have been facing some problems, may have read a lot of time, run this or that command in PowerShell to fix this or that problem. While most of us are familiar with the Command Prompt and know how to run Command Prompt as an Administrator, not many seem to be knowing how to open an elevated PowerShell prompt. This, I gathered from the several comments I have been reading here and at our forum. So today, I will show you how to open an elevated PowerShell prompt, and run it as an Administrator, in Windows 11/10.
PowerShell is a command-line shell and scripting language, built on the .NET Framework, designed for system administration, IT professionals, and developers.
How to start or run PowerShell
- Search for powershell in Start Search and hit Enter
- Via WinX Menu if you have opted to display PowerShell instead of Command Prompt
- Type powershell in Run prompt and hit Enter
- Type powershell in Command Prompt and hit Enter
- Open Task Manager > File menu > Run new task. Type powershell and hit Enter.
How to open an elevated PowerShell prompt
To open an elevated PowerShell prompt, in the taskbar search, type powershell.
Now see the result Windows PowerShell which appears on the top. Right-click on it and select Run as Administrator.
The UAC prompt will ask you for your consent. Click yes, and the prompt will open.
An elevated PowerShell prompt will display Administrator: Windows PowerShell on the top in the prompt’s border.
This post will show you how to always run PowerShell as Administrator.
- You can also open Task Manager > File menu > Run new task. Type powershell and select the Create this task with administrative privileges check box and click OK to open an elevated PowerShell prompt.
- Press Shift+Ctrl+Alt and then click on the PowerShell icon to open PowerShell as administrator.
Bonus tip: Learn how to find out Which version of PowerShell you are running?