×

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.
What is an Elevated command prompt

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.
What is an Elevated command prompt

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.
What is an 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.
What is an Elevated command prompt

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
What is an Elevated command prompt
  • 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.
What is an Elevated command prompt
  • Double-click the just-created shortcut to launch the Command Prompt with administrative privileges.

Related Topics

Windows 7 Alt+Tab won’t stay on top or stick

One of the most helpful keyboard shortcuts is Alt+Tab, which makes switching between numerous open windows a breeze. You save time and effort by not having to move the mouse....

3 minutes read.

Update an Antivirus

What is an Antivirus Program? An antivirus program is a specifically designed software that allows the user to detect any harmful or infected application or file. It not only detects any...

7 minutes read.

Low Level Language in Computer

Low Level Language: The computer languages are those languages by which the user can communicate with the machine. There are various types of programming languages via we can write the...

5 minutes read.

How much do Computer Programmers make?

With growing technology, people are working fast to pace up with the perpetual demand. Everything which has made our life easier and comfortable has something to do with computer engineering...

7 minutes read.

What is Select All?

Selecting everything in a list or display means choosing all of the text, files, or other items. Ctrl+A selects (highlights) everything in the active window in the majority of apps....

3 minutes read.

Computer Software

The computer software is the collection of data or instruction that tells the computer how to work. It is a set of program that enables the computer to perform a...

5 minutes read.

What is BIOS?

BIOS stands for Basic Input/Output System. It is firmware that controls the basic functions of a computer, such as booting the system and communicating with the hardware. It is stored...

7 minutes read.

How do I open and edit the Windows registry

Before knowing how to open and edit the windows registry, let's understand what a registry is. The registry is a central database that consists of information, applications, hardware, and software...

4 minutes read.

What are Recordable DVD Drives?

DVD recordable, also known as DVD-R, is a type of optical disc storage media that is used to store and record digital data. It was developed in 1997 by the...

5 minutes read.

Generation of Computer

History of computer The abacus was initially used for the mathematical tasks in the history of the computer. It is also known as counting frame and a calculating tool that was used in Europe, China,...

6 minutes read.

What is a Login Script?

Simply, a Login Script means a Script that has all the necessary set of instructions which is run line by line by the login interpreter whenever a user logs into...

4 minutes read.

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...

4 minutes read.

What is Cat 5?

In our daily life, every person is opted to use different technologies and is successful in implementing the new opted technologies. Every day people are interested in making new inventions...

4 minutes read.

What is a Cordless Mouse?

A wireless mouse, often known as a cordless mouse, is one that connects wirelessly to a computer. Instead, the mouse makes use of wireless technologies like Bluetooth, RF, or infrared...

4 minutes read.

How does a computer process data into information?

What is data Data is a type of information. Data can be in the form of images, integers, or strings of letters. All data must be entered into the personal computer...

3 minutes read.

Fourth Generation of Computer

The period of the fourth generation was from 1971- 1980. The (VLSI) huge scale integrated circuits are used in the computers of this generation. These circuits have 5000 transistors and...

4 minutes read.

What is a Loosely Typed Language?

Every Programming language can be classified into Strongly and Loosely/Weakly typed. This type defines the strictness of the programming language, and each of these types has its own advantages and...

4 minutes read.

What is Microphone?

Microphone is an input device that converts audio or any sound vibration into electric signals, and saves the audio in digital or analog format. It was invented by E. Berliner...

10 minutes read.

Microsoft Word Shortcut Keys

Microsoft word shortcut keys are the keys that are used to work rapidly. These shortcuts are used to perform major tasks quickly in Microsoft word. Users of Microsoft word have...

7 minutes read.

Data Warehouse

It is a system that consolidates the data collected from many sources into a single and central data storage. In basic terms, it is a data repository that can be...

10 minutes read.