How to Execute Windows 11 PowerShell with High Authority

How to Execute Windows 11 PowerShell with High Authority

David Lv13

How to Execute Windows 11 PowerShell with High Authority

PowerShell is a task-based command-line shell and scripting language built on .NET technology. It’s designed especially for system administrators and power users, so it has more features than the standard Command Prompt. If you want to use PowerShell to do anything more than basic tasks, you must run it as an administrator.

In this guide, we’ll show you ten simple ways to open an elevated PowerShell prompt on Windows 11.

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

1. How to Open Windows PowerShell as an Administrator Using the Power User Menu

The Power User Menu is a great way to quickly access important system tools and settings in Windows 11. To open Windows PowerShell using the Power User Menu, do the following:

  1. Right-click onStart to open the quick access menu. You can also access it by pressingWin + X on your keyboard.
  2. From the menu list, selectTerminal (Admin) .
    Open Windows PowerShell Using Power User Menu
  3. If UAC appears on the screen, clickYes to grant permission.

2. How to Open Windows PowerShell as an Administrator From the Windows Search Tool

Alternatively, you can open Windows PowerShell as an administrator using the Windows Search tool. This process is relatively simple and only takes a few steps. Here is how to do it:

  1. Press theWin + S keyboard shortcut to open Windows Search.
  2. Type “PowerShell” into the search bar.
  3. From the right pane, selectRun as administrator .
    Open Windows PowerShell Using Windows Search
  4. If User Account Control prompts you, clickYes to grant admin privileges.

PowerShell will now open with administrative privileges. Here you can type any PowerShell command you want to execute. To exit PowerShell, type “Exit” and pressEnter .

3. How to Open Windows PowerShell as an Administrator Through the Run Command

There is a powerful tool in Windows 11 called Run Command that lets you access files, launch programs, and adjust many system settings. You can also use it to launch Windows PowerShell as an administrator. Here’s how:

  1. PressWin + R on your keyboard. This will open the Run dialog box.
  2. From here, type in “PowerShell” and pressCtrl + Shift + Enter key combination.
    Open Windows PowerShell Using Run Command
  3. If a confirmation prompt pops up, clickYes to continue. This will launch PowerShell as an administrator.

4. How to Open Windows PowerShell as an Administrator From Windows File Explorer

Another method for opening Windows PowerShell as an administrator is through File Explorer’s address bar. To do this, follow these steps:

  1. PressWin + E on your keyboard to open Windows File Explorer.
  2. In the File Explorer address bar, type the following command and press Enter.
    C:\Windows\System32\WindowsPowerShell\v1.0\
  3. Next to the address bar, search for “PowerShell”.
  4. Right-click on the PowerShell executable file and selectRun as administrator .
    Open Windows PowerShell Using File Explorer
  5. When UAC appears, clickYes to grant admin rights.

5. How to Open Windows PowerShell as an Administrator Using Command Prompt

A command prompt lets you run almost any program or application on your Windows device. To run Windows PowerShell using this tool, follow these steps:

  1. Run Command Prompt as an Administrator (seehow to open the Command Prompt as an administrator for instructions).
    Open Windows PowerShell Using Command Prompt
  2. In the elevated command prompt, copy and paste the given command line:
    powershell Start-Process powershell -Verb runAs

As soon as you type the above command line in the elevated command prompt window, Windows PowerShell will start running as an administrator.

6. How to Open Windows PowerShell as an Administrator From the Start Menu

The Start Menu contains a wide range of software programs and files that provide a central place for launching applications and other tasks. Start Windows PowerShell with these steps:

  1. Click theStart button at the bottom left of your screen.
  2. SelectAll apps from the upper right corner.
  3. Scroll down and click theWindows Tools option
  4. Now right-click onWindows PowerShell and selectRun as administrator .
    Open Windows PowerShell Using Control Panel
  5. The UAC will appear on the screen. If it does, clickYes to grant administrative privileges.

7. How to Open Windows PowerShell as an Administrator Through Task Manager

Task Manager is a powerful tool that can help you troubleshoot and fix problems with your PC. Besides this, you can also use this tool to launch programs on your Windows device.

Here’s how to start Windows PowerShell as an administrator with this tool.

  1. PressCtrl + Shift + Esc on your keyboard to open Task Manager (seehow to open the Task Manager for more tips).
  2. SelectRun new task from the top of the page.
  3. In the pop-up menu, type “PowerShell” and check the “Create this task with administrative privileges” box.
    Open Windows PowerShell Using Task Manager
  4. ClickOK and Windows PowerShell will start as an administrator.

8. How to Open Windows PowerShell as an Administrator Using the Control Panel

Windows Control Panel is a software program that contains many tools for managing settings on Windows. With this tool, you can launch almost any application installed on your computer. Follow these steps to open Windows PowerShell as an administrator:

  1. Use one of the manyways to open the Control Panel .
  2. Click onSystem and Security .
  3. Scroll down to the bottom and selectWindows Tools .
  4. Right-click onWindows PowerShell and selectRun as administrator .
    Open Windows PowerShell Using Control Panel
  5. A User Account Control pop-up window will appear asking if you want to allow this app to make changes to your PC; clickYes to continue.

PowerShell will now launch as an administrator, and you can run commands with full privileges. If you need to exit PowerShell, type Exit and press Enter.

9. How to Open Windows PowerShell as an Administrator With a Desktop Shortcut

If you often run commands that require administrative privileges, consider creating a desktop shortcut. Here’s how to do it with Windows PowerShell.

  1. Right-click on your Desktop and selectNew > Shortcut .
  2. Next, type the following command in the “Create Shortcut” window.
    C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
  3. Then clickNext to continue.
    Open Windows PowerShell With Desktop Shortcut
  4. Type in a name for the shortcut and click Finish.

Now, whenever you want to open PowerShell as an administrator, simply double-click on the shortcut.

10. How to Open Windows PowerShell as an Administrator Using a Batch File

This method involves creating a batch file to open Windows PowerShell as an administrator. Here’s how to do it:

  1. PressWin + R , type “Notepad”, and hitEnter to open it (seehow to open Notepad for more ways).
  2. In Notepad, copy and paste the following command line:
    Powershell.exe -Command “& {Start-Process Powershell.exe -Verb RunAs}”
  3. Now click onFile and selectSave as from the menu list.
  4. Put “PowerShell.bat” in the file name. You can name your file anything you like with the .bat extension.
  5. Choose the location where you’d like to save it, and then clickSave .
    Open Windows PowerShell With a Batch File

This will create the Windows PowerShell batch file. To open Windows PowerShell with administrator access, double-click the batch file. When the UAC prompt appears, clickYes to continue.

Get an Elevated Windows PowerShell Running

When you are working with files or folders that need elevated permissions, you may need to open PowerShell as an administrator. This is because some tasks require elevation in order to complete them successfully. As shown above, there are several ways to open Windows PowerShell as an administrator.

Also read:

  • Title: How to Execute Windows 11 PowerShell with High Authority
  • Author: David
  • Created at : 2024-11-21 01:31:36
  • Updated at : 2024-11-27 17:38:50
  • Link: https://win11.techidaily.com/how-to-execute-windows-11-powershell-with-high-authority/
  • License: This work is licensed under CC BY-NC-SA 4.0.