The Wayback Machine - https://web.archive.org/web/20240527211008/https://www.geeksforgeeks.org/how-to-open-windows-powershell-as-admin-in-windows-11/
Open In App

How to Open Windows PowerShell as an Admin in Windows 11?

Last Updated : 01 Dec, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Windows Powershell is a powerful command-line shell and scripting language devised for administrators and professionals. PowerShell with administrative privileges in Windows 11 makes it possible to carry out tasks with superior permissions. This article will discuss several ways of opening Windows PowerShell as admin.

How-to-Open-Windows-PowerShell-as-an-Admin-in-Windows-11

What is Windows PowerShell?

The Windows PowerShell is a Command Line Interface and Scripting Language based on the .NET framework. Windows is an important tool that offers an active command line interface for automation of jobs and configuration management. PowerShell can run administrative commands and as such, provide administrator access.

Method 1: Open Windows PowerShell as an Administrator Using Win + X

Step 1: To open the quick access menu, right-click on Start or use the keyboard shortcut Win + X.

Step 2: Then, from the context menu, select “Terminal (Admin)”.

Administrator-Using-Win--X

Step 3: In user account control click on “Yes“

Method 2: Run PowerShell Script as Admin from Start Menu

Step 1: Click on the start button, then the search box, and type “Windows tools”.

Step 2: Then, Right-click on “Windows PowerShell” from the list.

Step 3: Choose “Run as administrator.”

Windows-PowerShell-as-an-Administrator-From-the-Start-Menu

Step 4: In user account control click on “Yes“

Method 3: Open PowerShell as Admin Using Windows Search

Step 1: Type “Windows PowerShell” in the Windows Search bar.

Step 2: Choose “Run as administrator” from the context menu

How-to-Open-PowerShell-as-Admin-Using-Windows-Search

Step 3: In user account control click on “Yes“

Method 4: Run Windows PowerShell Using Task Manager

Step 1: Type “Task Manager” in the search bar or press Ctrl + Shift + Esc to open Task Manager.

Step 2: Choose “Run new task.”

Step 3: Select Powershell, and tick administrative privilege.

How-to-Run-Windows-PowerShell-Using-Task-Manager

Method 5: Open PowerShell as Admin Using Run Dialog

Step 1: Press Win + R to open the Run dialog.

Step 2: Type “PowerShelland ” and press Ctrl + Shift + Enter to run as administrator. Do not click on OK button

How-to-Open-PowerShell-as-Admin-Using-Run-Dialog

Step 3: In user account control click on “Yes“

Method 6: Run Windows PowerShell as Admin from CMD

Step 1: Open Command Prompt as an administrator.

How-to-Run-PowerShell-as-Admin-from-CMD

Step 2: In user account control click on “Yes“

Step 3: Type

powershell Start-Process powershell -Verb runAs

How-to-Run-PowerShell-as-Admin-from-CMD-1

Method 7: Open PowerShell as Admin Using Windows File Explorer

Step 1: Open file explores by using the shortcut Win + E or type “File Explorer” on search bar

Step 2: Type the command in the File Explorer address bar and press Enter.

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

Step 3: Right click on Powershell then click on “run as administrator”.

How-to-Open-PowerShell-as-Admin-Using-Windows-File-Explorer

Step 4: In user account control click on “Yes”

Method 8: Open PowerShell as Admin Using Control Panel

Step 1: Open the Control Panel.

Step 2: Go to “System and Security” > “Windows Tools.”

How-to-Open-PowerShell-as-Admin-Using-Control-Panel

Step 3: Right-click on “Windows PowerShell ISE (x86)” or “Windows PowerShell” with administrative privileges.

Step 4: In user account control click on “Yes“

Method 9: Open PowerShell as Admin With a Desktop Shortcut

Step 1: Right-click on the desktop.

Step 2: Choose “New” > “Shortcut.”

How-to-Open-PowerShell-as-Admin-With-a-Desktop-Shortcut

Step 3: Enter “powershell.exe” as the location.

Step 4: Click “Next” and give your shortcut a name.

Step 5: Right-click on the shortcut, go to “Properties,” and under the “Shortcut” tab, click “Advanced” and check “Run as administrator.”

How-to-Open-PowerShell-as-Admin-With-a-Desktop-Shortcut--1

Conclusion

There are different ways to launch Windows PowerShell with administrative rights in Windows 11 such that you may choose what best suits you. You can use different approaches through which the PowerShell is executed with its administrative access. These means include the use of keyboard shortcuts and the Start Menu among others since it’s an elevated command used in system-level tasks. Adopt these processes within your workflow to simplify your administrative duties in Microsoft Windows 11.

Also Read

FAQs to Open Windows PowerShell

1. Can I open up Windows PowerShell as administrator by use of keyboard?

In order to open it as an administrator, you can use the Win + X shortcut key and select “Terminal (Admin)”.

2. Is there a way to run a PowerShell script with administrative privileges from the Start Menu?

You can right-click “Windows Powershell” icon in start menu and pick “run as administrator” to elevate permissions for Powershell Scripts running with administrative privileges.

3. Are there alternative methods to open PowerShell as an admin, apart from the Start Menu and Win + X shortcut?

A number of PowerShell opening methods include via Run dialogue box, task manager, window search among other options even within file explorer. Every option is suitable for someone depending on there preference and convenience



Similar Reads

How to Reset Windows Admin Password?
If you forgot your Windows administrator password, you might be locked out of your computer and unable to access your files and settings. However, there are some ways to reset your password without losing your data or reinstalling Windows. In this article, we will show you how to reset your Windows admin password Table of Content Method 1: Reset th
5 min read
How to Configure Azure Activity "Administrative" Logs on Azure Subscription using PowerShell?
Azure Activity "Administrative" logs are a type of activity log that record events that occur in your Azure subscription. By enabling and configuring the Azure Activity "Administrative" logs will collect and store logs in your specified log analytics workspace (this is your log destination). Administrative logs help you to view and analyze the logs
3 min read
How to Check the License Type of a Specific Azure VM using PowerShell Command?
In this article, we will show you how to use the Get-AzVM command to check the license type of an Azure VM. We will also tell you about the different license types for Azure VMs. Azure virtual machines (VMs) can be licensed in different ways, like Azure Hybrid Benefit, pay-as-you-go, and Bring Your Own License (BYOL). To know how a particular VM is
3 min read
How to Run PowerShell Script From CMD?
Quick Preview to Run Powershell Script on CMD:Execute the Command Prompt in the Administrative Format.Enter into Powershell mode with the command powershell.Directly enter the Sheel Path to execute it.Or use the powershell.exe along with the shell file path.Every Operating System usually comes up with one dedicated Command Line Tool that works on t
4 min read
How to Run Remote Command Execution on Powershell?
From the Command Line Interface on Windows, the Command Prompt Application first comes to your mind. However, another great Command Line Interface is Windows Terminal i.e. Windows Powershell which can be also useful. If you want to perform Remote Command Execution on some other Remote Computers, then the Powershell on Windows will be used. This art
5 min read
How to Grant Admin Privileges to a User in Linux
Linux is an operating system that is open source operating system. There are many distros available in Linux distribution like Ubuntu, Kali Linux, Arch Linux, and Red Hat Linux. In this article, we will understand how to give admin privileges to non-admin users in the Ubuntu Operating system. Introduction to Permissions, Users, and GroupsLinux is a
5 min read
Spring Boot - Admin Server
Spring boot is one of the most popular applications to develop Java enterprise applications. When you have so many components in your application, you need to monitor and manage them. You have multiple spring boot applications running you need an admin for monitoring. Spring boot admin provides you the power to manage and monitor your spring boot a
4 min read
How to Create a Virus to Open Up Multiple Window Automatically in Windows OS?
The virus that we are going to create in this article will automatically open up multiple windows in the victim's Windows PC. This is an annoying type of Virus because as per the heading this is capable to open the multiple window screen in front of the user without allowing the user to open any other file that he/she wants to work after the activa
2 min read
How to Create a Virus to Open Multiple CMD Windows Automatically ?
The virus that we are going to create in this article will automatically open up multiple CMD windows in the victim's Windows PC. This is an annoying type of Virus because as per the heading this is capable of opening multiple CMD window screen in front of the user without allowing the user to open any other file that he/she wants to work after the
2 min read
How to Open Google Chrome Using Command Prompt on Windows 11?
Command prompt is a Windows-based utility that allows one to manage system files and folders, access core features as well as remove stubborn software. This can also allow the system to go directly into the websites open on a Google Chrome browser. But sometimes, one does not need to. For example, for developers, custom scripts. A command can be se
4 min read