Method 1.
Using Windows Search
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.
The PowerShell will open as administrator.
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.
You have launched PowerShell in administrator mode.
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.
you might now work on PowerShell with administrator privileges.
If you want to know another way, jump to the next method.
Using Task Manager
Step 1: PressCtrl + Shift + Escon your keyboard to open Task Manager.
Step 2: punch 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.
Step 2: TypePowerShell> clickOK.This will open Windows PowerShell with the rights of the current user.
Step 4:In the UAC prompt, clickYes.
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?
The content remains unbiased and authentic and will never affect our editorial integrity.