Method 1.

Using Windows Search

Step 1: Press theWindowskey and typePowerShellin the search box.

Step 2: Click onRun as Administratorfrom the right pane.

Click on ‘Run as Administrator'

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.

select Terminal (Admin)

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

Step 3: In the UAC prompt, clickYes.

You have launched PowerShell in administrator mode.

click on All apps

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.

click on Windows 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.

go to Windows PowerShell

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.

Click on the ‘Run new task’ button

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.

Type PowerShell in the text field

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.

Type PowerShell

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.

To switch from normal mode to administrator mode

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.

type Command Prompt

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.

type PowerShell

How to Run Executables EXE From PowerShell

Top 6 Ways Fix This Setting Is Managed by Your Administrator Error on Windows 11

Article image

Top Ways to Fix PowerShell Keeps Popping Up on Windows 11 1

Article image

Article image

Article image

Easy Ways to Open Disk Cleanup