Almost everything you need to do in Windows PowerShell you can do in a normal window. However, you’ll occasionally have to open PowerShell as an admin to run certain commands that require you to have elevated privileges. Here’s how.
You can quickly launch Windows PowerShell as an admin from the Windows Search bar. In the Search bar, type “Windows PowerShell.” Next, right-click the Windows PowerShell app in the search results, and then click “Run as Administrator” in the menu that appears.
Windows PowerShell will then launch in admin mode.
You can also launch Windows PowerShell as an admin from the Windows Power User menu. To access the Power User menu, right-click the Start menu (Windows icon) in the bottom-left corner of the desktop.
The Power User menu will appear. Here, click “Windows PowerShell (Admin).”
Windows PowerShell will now launch in admin mode.
You can open Windows PowerShell with administrator privileges from Run. First, press Windows+R to open Run, and then type “powershell” in the text box. Next, press Ctrl+Shift+Enter.
Windows PowerShell will open in admin mode.
If you’re already working in PowerShell but you need to switch over to admin mode, you can do so without closing PowerShell. Just run this command:
start-process powershell -verb runas
A new instance of PowerShell will open with admin privileges.
That’s all there is to it. If you use Command Prompt more often than you use PowerShell, then you might often find yourself in a similar situation. No worries, though. You can easily open Command Prompt as an admin, too.
- › 8 Ways to Uninstall a Program on Windows 10
- › How to Repair Corrupted Windows System Files with the SFC and DISM Commands
- › How to Fix “Wi-Fi Doesn’t Have a Valid IP Configuration” on Windows
- › 9 Ways to Open PowerShell in Windows 10
- › 4 Ways to Switch User Accounts on Windows 11
- › How USB Drives Can Be a Danger to Your Computer
- › A World Without Wires: 25 Years of Wi-Fi
- › What’s New in Windows 11’s 22H2 Update: Top 10 New Features