8 Ways to Run PowerShell as Administrator in Windows 11

To perform specific tasks with admin privileges, it is often necessary to run PowerShell as an admin. PowerShell helps you perform several tasks on your Windows PC such as uninstalling a program, managing users and groups, accessing registry keys, managing network settings, etc. In this article, we will show you 8 ways to run PowerShell as administrator in Windows 11.

Run PowerShell as Administrator

Running PowerShell with admin privileges can be useful in certain situations where you need to troubleshoot or fix issues on your PC that regular users would not have permission to fix. For example, you may need to access system logs or troubleshoot services. With that out of the way, let’s begin with the article.

1. Open Powershell as Admin Using Windows Search

One of the easiest and most common ways to open and run PowerShell as an administrator in Windows 11 is by using Windows’ search feature. Follow the steps below.

Step 1: Press the Windows key on your keyboard and type PowerShell in the search box.

type PowerShell

Step 2: Click on ‘Run as Administrator’ from the right pane.

Note: Alternatively, you can also right-click on the PowerShell in the left pane and select ‘Run as administrator.’

Click on ‘Run as Administrator'

You will get a UAC prompt asking for your consent; click Yes.

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

2. How to Start Powershell as Administrator Using WinX

This method is much easier than the Windows search feature. However, this is not a widely used one. Follow the below-mentioned steps.

Step 1: Press the ‘Windows key + X’ on your keyboard.

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

select Terminal (Admin)

Step 3: In the UAC prompt, click Yes.

There you go. You have launched PowerShell in administrator mode. If you landed on some Command Prompt or in any other terminal, click on the Chevron (arrow) icon at the top of the tab and select PowerShell. Sounds too complicated? Jump to the next method. 

3. Run Powershell Script as Admin From Start Menu

The steps of this method are straightforward and simple. We will be using Windows Tools to execute this method. Follow the instructions below.

Step 1: Press the Windows key on your keyboard and click on All apps.

click on All apps

Step 2: Scroll down and click on Windows Tools.

click on Windows Tools

Step 3: In the Windows Tools window, scroll down and right-click on Windows PowerShell. From the context menu, select ‘Run as administrator.’

go to Windows PowerShell

Step 4: In the prompt, click Yes.

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

4. Use Task Manager to Start Powershell as Admin

Task Manager is generally used to manage apps, but it can also be used to run a new task, meaning it has the potential to open PowerShell. Follow the steps below.

Step 1: Press ‘Ctrl + Shift + Esc’ on your keyboard to open Task Manager.

Note: You can also search for Task Manager using Windows Search.

Press ‘Ctrl + Shift + Esc’ on your keyboard

Step 2: Click on the ‘Run new task’ button.

Click on the ‘Run new task’ button

It will open a ‘Create new task’ dialog box.

Step 3: Type PowerShell in the text field, check the box next to ‘Create this task with administrative privileges,’ and click OK.

Type PowerShell in the text field

There you have it. It will open PowerShell with administrative privileges without having to go through any complications.

5. How to Open Powershell as Admin Using Run Command Box

After Windows search, one of the most common ways to access PowerShell with administrator privileges is using the Run command. Follow the below instructions.

Step 1: Press the ‘Windows key + R’ on your keyboard to open the Run dialog box. 

Note: Alternatively, you can press the Windows key on your keyboard and type Run.

open the Run dialog box

Step 2: Type PowerShell and click OK.

Type PowerShell

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 press Enter.

Start-Process powershell -Verb runAs

To switch from normal mode to administrator mode

In the UAC prompt, click Yes.

That’s it. You have opened Windows PowerShell with administrative privileges. If the above steps seem complicated, move to the next one.

6. How to Run Powershell as Admin From Cmd

There are a lot of things that be done using Command Prompt, including opening up PowerShell. Follow the steps below.

Step 1: Press the Windows key, type Command Prompt and click ‘Run as administrator.’

type Command Prompt

In the prompt, click Yes.

Step 2: In the Command Prompt window, type PowerShell and press Enter.

type PowerShell

Tip: If you’re confused, check out our guide to understand the difference between Command Prompt and Powershell.

That’s it. You have successfully opened PowerShell with administrative privileges. If the steps are lengthy for you, then move to the next method.

7. How to Create a PowerShell Admin Shortcut on Your Desktop

If the above methods are long and tedious for you, then this method can be your one-stop shop. Once you set everything up, you can double-click and open PowerShell as administrator. Let’s begin with the steps.

Step 1: Right-click on your Windows desktop, go to New and choose the Shortcut option.

Right-click on the Windows desktop

Step 2: In the Create Shortcut window, type the below path and click Next.

Note: Choose the bit version your Windows is running on.

For 32-bit Windows OS

C:\Windows\System32\WindowsPowerShell\v1.0

For 64-bit Windows OS

C:\Windows\SysWOW64\WindowsPowerShell\v1.0

type the below path

Step 3: In the next screen, give a name to the shortcut and click Finish.

Example: PowerShell Admin

give a name to the shortcut

Step 4: Now, right-click on the newly created shortcut and select the Properties option from the context menu.

select the Properties option from the context menu

Step 5: In the Shortcut tab, click on the Advanced button.

click on the Advanced button

Step 6: In the Advanced Properties, check the ‘Run as administrator’ option and click OK.

check the 'Run as administrator' option

Step 7: Finally, click Apply followed by OK.

click Apply and OK

That’s it. You have successfully created a PowerShell shortcut that, whenever opened, will open with administrator privileges. That said if you are already working on PowerShell and want to switch from current user rights to administrator rights, jump to the next method.

8. Switch from PowerShell to PowerShell Admin

Sometimes, you start adding commands only to realize that you have opened PowerShell without administrator privileges. You have two choices: close the Windows and open PowerShell with administrator rights or follow the steps below to switch to administrator privileges with just a command quickly.

Simply type the below command and press Enter.

Start-Process powershell -Verb runAs

Switch from PowerShell to PowerShell Admin

The above command will open a new instance of PowerShell with admin privileges, and you can continue your work without starting fresh. If you have any queries, check out the FAQ section below.

FAQs on Running PowerShell as Administrator in Windows 11

1. Does Windows PowerShell run in administrator mode by default?

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.

2. How do I know if PowerShell is running as an administrator?

There are a few ways you can determine if PowerShell is running as an administrator. You can do this by checking the PowerShell window title or the PowerShell execution policy. One of the easiest ways to determine this is by checking the user account control (UAC) prompt.

Quickly Access PowerShell With Admin Rights

Whether you are a power user or need to open PowerShell to manage a system or perform some specific tasks, running it as an administrator can help you get the most out of the tool. Now that you know how to access PowerShell as an administrator, you may also want to know how to make a user an administrator on Windows 11 quickly.

Was this helpful?

Thanks for your feedback!

Last updated on 16 January, 2023

Leave a Reply

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

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.