6 Ways to Run PowerShell as Administrator in Windows 11

Atish is a seasoned tech enthusiast fueled by caffeine and a Computer Science engineering degree. He stumbled into the blogging world in 2015 and hasn’t looked back. Over 2000+ articles later, his work has been featured on sites like Gizbot, Firstpost, PhoneArena, GSMArena, and IBTimes. At GT, he’s your go-to guy for how-tos, invaluable tips, and troubleshooting guides that actually work. He’s also an SEO and digital marketing whiz and content strategist, so his tech takes are always on point and ethical.

Step 1: Press theWindowskey and typePowerShellin the search box.

Step 2: Click onRun as Administratorfrom the right pane.

Step 3:You will get a UAC prompt asking for your consent; clickYes.

That’s it. The PowerShell will open as administrator. If you don’t want to use theWindows Searchfeature to find and open PowerShell, you can do the same with the help of the Windows context menu. Keep reading.

Method2. Using WinX

Step 1: Press theWindows key + Xon your keyboard.

Step 2: From the context menu, selectTerminal (Admin).

Step 3: In the UAC prompt, clickYes.

There you go. You have launched PowerShell in administrator mode. If youlanded on some Command Promptor in any other terminal, click on theChevron(arrow) icon at the top and selectPowerShell.

Method3. From Start Menu

We will be usingWindows Toolsto execute this method.

Step 1: Press theWindowskey on your keyboard > click onAll apps.

Step 2: Scroll down and click onWindows Tools.

Step 3: In the Windows Tools window, scroll down and right-click onWindows PowerShell.

Step 4:From the context menu, selectRun as administrator.

Step 5: In the prompt, clickYes.

There you go. You can now work on PowerShell with administrator privileges. If you want to know another way, jump to the next method.

Method4. Using Task Manager

Step 1: PressCtrl + Shift + Escon your keyboard to open Task Manager.

Step 2: Click on theRun new taskbutton.It will open a Create new task dialog box.

Step 3: TypePowerShellin the text field > check the box forCreate this task with administrative privileges> clickOK.

There you have it. It will open PowerShell with administrative privileges without any complications.

Method5. Using the Run Command Box

Step 1: Press theWindows key + Ron your keyboard to open the Run dialog box.

Step 2: TypePowerShell> clickOK.This will open Windows PowerShell with the rights of the current user.

Step 3: To switch from normal (current user) mode to administrator mode, type the below command and pressEnter.

Step 4:In the UAC prompt, clickYes.

Method6. Using CMD

Step 1: Press theWindowskey > typeCommand Prompt> clickRun as administrator.In the prompt, clickYes.

Step 2: In the Command Prompt window, typePowerShell> pressEnter.

FAQs

Windows PowerShell does not run in administrator mode by default. When you launch PowerShell, it runs with the permissions of the currently logged-in user.

There are several ways to determine if PowerShell is running as an administrator. One is to check the PowerShell window title or the PowerShell execution policy. Another is to check the user account control (UAC) prompt.

Was this helpful?

Last updated on 13 August, 2024

Leave a ReplyCancel reply

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

Name*

Email*

Comment*

Δ

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.

More in Windows

6 Ways to Fix Camera Not Working in Microsoft Edge on Windows

2 Ways to Print Multiple Files on Windows 11

JOIN THE NEWSLETTER

Get Guiding Tech articles delivered to your inbox.

© 2024 Guiding Tech Media. All Rights Reserved.