What is an Elevated Command Prompt?
An elevated command prompt, also called "the command line" or "the DOS window," is a command prompt with administrator rights. The command-line interface program used to run low-level software or send orders to your computer is the Command Prompt in Windows. The DOS syntax and interface are strikingly reminiscent of the earlier Disk Operating System (DOS) that PCs used before the introduction of the Windows operating system.
Some commands won't work if you start Command Prompt (cmd.exe) normally since you don't have full access to run them. By default, you won't have administrator-level access when you start cmd.exe. It requires you to launch an elevated Command Prompt to execute several tasks. You will receive an error notice if you run a command and are trying to decide whether to run it in an elevated Command Prompt. Typically, the warning tells you that to utilize the program or issue the command, Command Prompt must be executed as administrator. The command should then be run through a Windows elevated Command Prompt.
Up to Windows 11, the elevated Command Prompt mode was a fundamental component of this operating system. It was first introduced with Windows Vista. Microsoft limited some commands' operation to the elevated mode exclusively to safeguard the user against those potentially destructive commands. Consequently, some commands can only be executed from an elevated Command Prompt.
Note: An elevated Command Prompt window can be distinguished from a standard one by looking at its starting point.
How to open the Elevated command prompt?
Some of the methods to open it are listed below:
1. Use Run to launch the Elevated Command Prompt
- To open the Run box, hit Windows + R, type cmd, and then press Ctrl + Shift + Enter.
- In the User Account Control window that appears, select Yes to launch Command Prompt as the administrator.

2. From the Start Menu, launch Elevated Command Prompt.
- Click Start.
- Enter cmd, click the Command Prompt program's context menu and select Run as Administrator.
- To start the elevated cmd.exe when the User Account Control dialogue displays, select Yes.

3. Use Task Manager to launch Elevated Command Prompt
In Windows 10, use Ctrl + Shift + Esc to launch Task Manager. If necessary, open Task Manager's advanced mode by clicking More details.
- Select Run new task under the File tab.
- In the Create New Task window, type cmd after ensuring the option labeled Create this task with administrative access is checked. Choose OK.
- In the User Account Control window that appears, click Yes to open the elevated Command Prompt.

4. Create an elevated command-prompt shortcut
Create a desktop shortcut to access the elevated Command Prompt interface in Windows 10 easily.
- On the desktop, right-click a blank area and select New -> Shortcut.
- Type the command in the Create Shortcut window, then click Next.
- To create a shortcut for Command Prompt, type a name, such as Command Prompt, and then click Finish.
- Select Properties from the context menu that appears after right-clicking the CMD shortcut icon.
- On the Shortcut tab, choose Advanced.
- In the Advanced Properties window, choose Run as an administrator and click OK.

After that, you can double-click the newly created Command Prompt Shortcut to open it the following time with administrator privileges.
How to close an elevated command prompt?
You can leave elevated command mode using the exit command once you've reached the command prompt.
TIP: To exit the elevated command mode, you can click the X in the top-right corner of the command prompt window.
What occurs when we don't run in elevated command mode?
Some commands and applications must be run in an elevated mode to function properly, and they will only succeed if the user running them has the necessary rights. You receive the error, for instance, if you attempt to run the SFC command from the Windows command line without doing so in an elevated command mode.
How can the problem of being unable to launch Command Prompt as administrator be fixed?
Try the suggestion below if you're having trouble running Command Prompt as administrator on Windows.
Make a Command Prompt shortcut.
- Right-click the desktop and choose New > Shortcut to create a shortcut. Enter the following location in the Create Shortcut dialogue box, then click Next to continue.
C:\Windows\System32\cmd.exe

- Give this shortcut a name on the following screen. Click Finish to finish creating it after that.
- Right-click the shortcut once it has been added to the desktop, and choose Properties from the context menu. Click the Advanced button on the Shortcut tab.
- When a pop-up choice comes on the screen, select the Run as administrator checkbox to safeguard your device from unauthorized use. Then press the OK button.

- Double-click the just-created shortcut to launch the Command Prompt with administrative privileges.