A lot of the fixes and tweaks featured on the web will require you to open a Command Prompt window as an administrator. This can be confusing for non-technical persons because a lot of articles don’t mention the actual steps of opening an elevated Command Prompt.
Most of the time, opening a Command Prompt window as a regular user is more than enough. But there are some situations where you’ll need administrative privileges – you will be required to perform certain actions in an elevated Command Prompt window.
What is an elevated command prompt?
The elevated Command Prompt mode was introduced with Windows Vista and has been an integral part of this OS up until Windows 11. In an attempt o protect the user from those potentially harmful commands, Microsoft restricted the functionality of some commands to the elevated mode only. This means that some commands will only work as long as you run them from an elevated Command Prompt.
Note: You can easily distinguish between a normal Command Prompt window and an elevated one by looking at the starting point. The Elevated Command Prompt starts in the System32 folder while the normal Command Prompt window starts in the User Profile folder.
As with most Windows-related things, you can open an elevated Command Prompt in several different ways. While most of the methods featured in this article can be replicated on the older Windows versions, keep in mind that this article was tailored specifically for Windows 10 and Windows 11.
Here’s a list of different methods that can be used to open an elevated Command Prompt on the latest operating systems released by Microsoft.
Note: Keep in mind that not all methods will work on both Windows 10 or Windows 11. Pay attention to the label under each method to see if it’s compatible with your Windows version.
Open an elevated Command Prompt via the Start menu
Works on Windows 10 & Windows 11.
This is the standard approach that most people use on every Windows version. It’s arguably the longest route but can be considered the most simple method since all the steps are done through the user interface.
Here’s a quick guide to opening an elevated Command Prompt via the Start menu:
- Click the Start menu in the bottom left corner. You can also press the Windows key for the same result.
- With the start menu opened, type “cmd” to automatically use the search function. Wait until the search results are generated, then right-click on Command Prompt and choose Run as Administrator.
Note: You can also use the Ctrl + Shift + Enter keyboard combination if you want o to avoid right-clicking.
This is the classic approach. If you’re looking for a quicker way, move to the other methods below.
Open an Elevated Command Prompt via the Power User Menu
Only works on Windows 10.
If you’re on Windows 10, you can open an Elevated Command Prompt directly from the Power User Menu.
Note: Keep in mind that the Command Prompt (Admin) sub-menu is no longer available on Windows 11.
To access the Power User Menu, right-click on the Start icon or press Windows key + X. Then, simply click on Command Prompt (Admin) to open an Elevated Command Prompt. You will then be asked to confirm the administrative permissions via a User Account Control (UAC) window – hit Yes at the prompt to open the Elevated Command Prompt.
Update: Update Keep in mind that if you have updated your Windows 10 version with the Creators Update, you will see Windows Powershell (Admin) instead of Command Prompt (Admin). This change was implemented by Microsoft in order to tempt more users to migrate to Powershell. On Windows 11, the equivalent is Windows Terminal (Admin).
Note: If you want the old behavior back on Windows 10, you can follow this article (here) to replace the Windows Powershell (Admin) with Command Prompt.
But you can also click on Windows Powershell (Admin) and then type “cmd” inside the Elevated Powershell window to switch to an Elevated Command Prompt window.
Use the Run box to open an Elevated Command Prompt
Works on Windows 10 & Windows 11.
Another way to go around opening an Elevated Command Prompt window is to make use of the run box. Normally, opening Command Prompt from the Run box will not have administrative privileges, but we have a workaround for this.
To open an Elevated Command Prompt window via the Run box, press Windows key + R to bring up the Run menu. Then, type ” cmd ” but instead of pressing Enter directly, press Ctrl + Shift + Enter to open it with administrative privileges. You’ll then be prompted by a UAC (User Account Control) window in which you’ll have to hit Yes.
Create an elevated Command Prompt shortcut
Works on Windows 10 & Windows 11.
If you find yourself running Command Prompt command that requires administrative privileges, it makes sense to create a dedicated shortcut for an Elevated Command Prompt. This is arguably the most efficient way of opening an Elevated Command Prompt window, but it requires some time setting it up.
Here’s a quick guide to creating a shortcut for an Elevated Command Prompt:
- Right-click anywhere on a free space (on the desktop or in a folder) and choose New > Shortcut.
Note: Right-clicking on Windows 11 will bring up the newer, slimmer context menu. Click on Show More Options to make the old menu visible.
Show More Options on Windows 11 - In the box directly under “Type the location of the item” type ” CMD ” and hit the Next button.
- At the next button, grant the newly created shortcut a name and hit the Finish button to finish the process.
- Next, right-click on the newly created shortcut and choose Properties. Then, go to the Shortcut tab, and click the Advanced button.
- In the Advanced Properties window, check the box next to Run as administrator and hit OK. Finally, click on Apply to save the changes.
Open a CMD Prompt using the Quick Link Menu
Only works on Windows 11.
- Press Windows key + X key to open up the Quick Link menu on Windows 11.
- From the list of available options, click on Windows Terminal (Admin).
Accessing the Windows Terminal app on Windows 11 Note: This is the newer terminal app available with Windows 11. It allows you to input both CMD and Powershell commands.
That’s it. Your Elevated Command Prompt window is configured and ready to be used. But keep in mind that even if you set it to run with administrative privileges, you’ll still be prompted by the UAC window.
Run CMD Commands from the Terminal App via Search
Only works on Windows 11.
- Press Windows key + S key to open up the Windows Search functionality on Windows 11.
- In the search box that just appeared, type Windows Terminal.
- Next, right-click on Windows Terminal from the list of results and click on Run as Administrator from the context menu.
Run the Windows Terminal app with admin access - Run the CMD commands inside the newly opened Windows Terminal app.
Run CMD commands in Windows Terminal opened via Task Manager
Only works on Windows 11.
- Press Ctrl + Shift + Esc to open up Task Manager.
- Once you’re inside the Task Manager, click on More details if the simple interface just opened.
Expanding the Task Bar interface Note: If you are already on the regular interface, skip this step altogether.
- next, click on File from the ribbon menu at the top, then click on Run New Task.
Running a new task - Inside the Create new task box that just appeared, type ‘wt’ and then check the box associated with Create this task with administrative privileges before clicking Ok.
Creating a new task - Once you’re inside the Windows Terminal interface, you can input your CMD commands.
Run CMD commands in Windows Terminal opened via Run box
Only works on Windows 11.
- Press Windows key + R to open up a Run dialog box.
- Inside the newly appeared Run box, type ‘wt’ and press Ctrl + Shift + Enter to open up a Windows Terminal app with admin privileges.
Open up a Windows Terminal app - Inside the elevated Windows Terminal, type the CMD commands as you would usually do.
Using the instructions here you will have the ability to open Command Prompt as administrator in Windows 10 from Start, Search, Run, taskmgr, PowerShell, and more. This application allows running commands that help you fix multiple issues, change settings, and access different files. When you stuck in anything on Windows 10 the first tool you remember is CMD. Administrative authority makes you capable to run a task in elevated mode.
We already discussed How to Launch Elevated Command Prompt on Windows 10 but now some additional ways are available for the same. So here we have come with a collection of all methods to open cmd with admin rights.
How to Open Command Prompt as Administrator in Windows 10
Here are 12 Ways to Open Command Prompt as Administrator in Windows 10 –
1] Quickest and easiest way to run cmd as admin
Step-1: Click on the Start icon.
Step-2: Type cmd.
Step-3: Press ctrl+shift+enter on keyboard.
Step-4: Once User Account Control (UAC) dialog appears, select Yes.
2] Open command prompt as administrator from Run dialog
- Press Win+R and let the Run dialog box appear.
- Write down either cmd or cmd.exe in the empty text field onward to Open.
- Press ctrl, shift, and enter simultaneously.
- Click Yes when a UAC dialog prompts to seek permission.
3] Take the help of Windows search bar
- Press Windows and S keys.
- Type “cmd”
- Click – Run as administrator.
- A UAC will prompt up for authentication; choose Yes.
4] Open Command Prompt as Administrator in Windows 10 Via Win+X menu
In the recent versions of Windows 10, you notice rather Windows PowerShell (Admin) in the Power user menu (Win+X). But for launching easily, you can replace it with Command Prompt (Admin) via a small tweak in Settings. This will help you to open cmd with administrative privilege in only 2 clicks. Here’s how –
- Open Windows Settings (by pressing Win and I).
- Select Personalization.
- Select Taskbar from the left-pane and then shift to the right.
- Toggle on the option – “Replace Command Prompt with Windows PowerShell in the menu when I right-click the Start button or press Windows Key+X”.
- From now onward, whenever you will open the Power user menu, you will view Command Prompt (Admin) in the list.
- Simply press Win+X and choose the same.
5] Open command prompt as administrator by means of Task Manager
Important – Before proceeding forward, make sure that you have signed in as administrator.
- Right-click on the Taskbar and select Task Manager or directly press “Ctrl+Alt+Esc”.
- From the menu bar, click on File option.
- Press and hold the Ctrl key and at the same time click Run new task.
- It will right away open cmd as admin.
6] Again using Task Manager
- Open Task Manager using the method given in the previous way.
- Click on File from the uppermost menu bar and choose Run new task.
- Type either cmd.exe or cmd the provided space and check the box for “Create this task with administrative privileges”.
- Click – OK.
7] Through Start menu
- Press Windows key to bring up the Start menu
- Click on # from the top.
- Select W alphabet from the list.
- Click Windows System from here and to expand its options.
- Right-click on Command Prompt, move the cursor over “More”
- Then choose – “Run as administrator”.
- When you see a User Account Control popup, click the Yes to give consent.
8] Switch PowerShell to Command Prompt
- Press “Win+X” hotkey and select “Windows PowerShell (Admin)” from the Power user menu.
- When the User Account Control shows up in the display, click the Yes button to allow it.
- In the “Administrator: Windows PowerShell”, type cmd after PS C:\WINDOWS\system32> and hit the Enter key.
- This will immediately switch the PowerShell utility to Command prompt.
9] Open Command Prompt as Administrator in Windows 10 From System32 Directory
- Press – Win+E.
- Select This PC in Quick access and then Perform a double click on “(C:)” (we assume that this is your system drive).
- Double click – Windows folder.
- From the next window, locate System32 and double-click on the same to enter it.
- Once this directory appears, find cmd.exe.
- Right click on the same and opt Run as administrator from the list.
- Finally, hit the Yes button once the UAC arrives.
- Alternatively, to get access to the location you may copy-paste “C:\Windows\System32” into the Run dialog box and hit Enter.
10] Via Run command
- Press Win+R.
- Paste
C:\Windows\System32\cmd.exe
in Run dialog - Hit – ‘ctrl+shift+enter’.
- Choose Yes when User account control prompt appears.
11] Create Desktop shortcut
- Right-click on the desktop.
- and move cursor on New and select Shortcut.
- A wizard entitled Create Shortcut will show up.
- Copy C:\Windows\System32\cmd.exe paste into the given area
- Click Next.
- Provide a name for this shortcut.
- Click on Finish.
- You will notice a new shortcut for the “CMD” on the desktop. Right-click on the same and select Properties.
- In the Shortcut tab, move down to the bottom and click the Advanced button.
- Mark – Run as administrator
- Hit the – OK.
- Finally, click on Apply and thereafter OK button to save the changes.
- In future, whenever you need to open command prompt as administrator, just double-click on the shortcut.
12] Assign a shortcut key to open cmd as admin
- Follow the previous method to create a shortcut key of Command Prompt and give it administrative authority.
- Right-click on the desktop shortcut and select – Properties.
- Go to Shortcut key area and click on the box located beside it.
- Now, press your preferred key from the keyboard. When you will type C and the system automatically generated a shortcut key Ctrl+Alt+C.
- Lastly, click on Apply and then OK to make the changes effective.
- To open cmd as admin, you just require hitting the shortcut key you just created.
Methods:
1] Quickest and easiest way to run cmd as admin
2] From Run dialog
3] Take the help of Windows search bar
4] Via Win+X menu
5] By means of Task Manager
6] Again using Task Manager
7] Through Start menu
8] Switch PowerShell to Command Prompt
9] From System32 Directory
10] Via Run command
11] Create Desktop shortcut
12] Assign a shortcut key
That’s all!!
The Command Prompt is considered to be an effective tool on the Windows Operating System. Whatever basic operations you do on Windows can also be carried out through the CMD. As you can see whether a code runs successfully or not, this helps to perform changes with authority. In this post, we will look into ways to run Command Prompt as an administrator in Windows 10.
Why should I require running CMD as administrator?
One may perform different tasks on an elevated console, however, when it comes to making changes to the system level, Windows Console simply fails. This is because you don’t have administrative privileges to carry out that particular code on your PC.
Launch Command Prompt as administrator and you become eligible to make any system-level changes to your PC. As it turns out, there are multiple ways using which you can open the elevated CMD on your Windows device. In this article, we will show you five methods to run Command Prompt as Administrator and they are using Windows Search box, Start Menu, and Run dialog box. So let’s see how to do it.
Here is how to open Command Prompt as Administrator in Windows 10 –
Methods List
- Using Windows Search box
- By using the Start Menu
- Using the Run dialog box
- Through the Task Manager
- By creating a Desktop shortcut
1] Using Windows Search box
To open an elevated command prompt using the Windows search box, follow the below instructions:
- Go to the Taskbar and click on the search box to open the Windows Search. Alternatively, you can also use the Shortcut keys like Win+S or Win+Q.
- In the Search box, type cmd, so that it would make the command prompt appear in the result list.
- Now right-click on the Command Prompt and select Run as administrator.
- At this time, a UAC prompt will appear and ask you to allow the Command Prompt to make changes on your device.
- Click on the Yes button to open the elevated Command Prompt on your computer screen.
2] By using the Start Menu
Here is how to open an elevated command prompt using the Start Menu.
- Go to the Taskbar and click on the Start button.
- In the menu list, scroll down until you get the Windows System.
Note: To make it easy, just click on the “#” symbol and then select the W alphabet. Now under the “W” category, you will get the Windows System.
- Once you find the Windows System, expand it.
- Now right-click on the Command Prompt > More > Run as administrator.
- Following this, the User Account Control will appear and ask for your consent.
- Select the Yes button to run Command Prompt as Administrator.
3] Using the Run dialog box
Windows 10 comes with a built-in Run command dialog box, which you can use to open your favorite programs directly. Here is a quick guide to open an elevated command prompt using this method.
- Right-click on the Start button and select the Run command. Alternatively, you can also use the Win+R shortcut key.
- In the text area, type CMD and then press Ctrl + Shift + Esc key combination.
- If the UAC prompt appears, select the Yes button to open the elevated command prompt.
4] Through the Task Manager
In order to open an elevated command prompt using the Task Manager, follow the below guidelines:
- Press Ctrl+Shift+Esc key combination to open the Task Manager directly.
- If the Task Manager is in the fewer details mode then expand it by clicking the More details.
- Go to the menu bar and click on the File menu.
- Now press and hold the Ctrl key and then select Run new task.
- This will open the elevated command prompt directly.
5] By creating a Desktop shortcut
To create a Desktop Shortcut of the elevated command prompt, follow the below steps –
- Right-click on a blank field on your desktop screen and select New > Shortcut.
- In the new pop-up window, copy and paste the below commands and then hit Next.
C:\Windows\System32\cmd.exe
- Give a suitable name you want for this shortcut and then click Finish to create the shortcut. This will create a new shortcut for the command prompt on the Desktop screen.
- Right-click on this new shortcut and select Properties from the context menu.
- In the Properties menu, go to the Shortcut tab and click the Advanced button.
- Next, check the box next to Run as administrator and then click OK.
- Now select Apply > OK button to apply the changes.
To open an elevated command prompt, you just need to double-click on the new desktop shortcut.
Related Post: How to open PowerShell as an administrator in Windows 10
Sometimes we need to open Command Prompt as an administrator to get certain information about the computer or change some settings. This page shows you four simple and quick ways to open Command Prompt as an administrator in Windows 10.
- Way 1: Using the Search box
- Way 2: Using the Win+X menu
- Way 3: Using the Run dialog box
- Way 4: Using Task Manager
Way 1: Using the search box
1. Click in the “Type here to search” box next to the Start (Windows) icon or press Win + S to bring up the search box.
2. Type cmd (or command prompt) in the search box.
3. The Command Prompt shortcut will appear in the search results. Right-click it and select Run as administrator. Or, you can directly click Run as administrator on the right panel.
4. If a User Account Control dialog pops up, click Yes to allow the Command Prompt to run as administrator.
Way 2: Using Win+X menu
Right-click the Windows icon on the left of the taskbar or press Windows key + X to bring up the Win+X menu (also called Power Users Menu). Then simply select Command Prompt (Admin) from the Win+X menu.
Tips: Starting with Windows 10 Creators Update, the Win+X menu does not contain Command Prompt by default, and instead is replaced by Windows PowerShell. If you want Command Prompt back to the Win+X menu, just go to Settings to replace Windows PowerShell with Command Prompt.
Way 3: Using Run dialog box
1. Press Win + R to quickly bring up the Run dialog box.
2. Type cmd in the box, and then press Ctrl + Shift + Enter on your keyboard. This will run Command Prompt as administrator.
Way 4: Using Task Manager
The former three are the easiest and fastest way to open Command Prompt as an administrator in Windows 10. Next, I will introduce another less common but useful method – using Task Manager.
1. Right-click the taskbar and select Task Manager to open Task Manager.
2. On Task Manager, click File > Run new task.
3. In the “Create new task” dialog that opens, type cmd in the box, check “Create this task with administrative privileges“, and then press Enter. This will run Command Prompt as administrator.