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: 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:
Open a CMD Prompt using the Quick Link Menu
Only works on Windows 11. 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.
Run CMD commands in Windows Terminal opened via Task Manager
Only works on Windows 11.
Run CMD commands in Windows Terminal opened via Run box
Only works on Windows 11.
Fix: You have to invoke this utility running in elevated modeHow to Replace PowerShell with Command Prompt in the Windows 10 Creators UpdateFix: Command Prompt Keep Popping Up on Windows 10Difference Between Windows PowerShell and Command Prompt