Elevated command prompt

Updated: 04/26/2017 by Computer Hope

The elevated command line, elevated command prompt or elevated mode is a mode introduced with Windows Vista that allows the user to execute commands with administrative privileges. By default, when opening the Windows command line in Windows, you will not have full rights and not all commands will work. This mode was created to help protect Windows users or programs being run on their computer from running commands that may compromise the computer. To perform some commands, you must run an elevated version of the command prompt.

How do I open the elevated command prompt?

  1. Click the Start button.
  2. In the search box, type cmd.
  3. Right-click on cmd.exe and choose Run as Administrator. If done properly, the below User Account Control window will appear.
  4. Click Yes to run the Windows Command Prompt as Administrator.

OR

  1. Click the Start button.
  2. In the search box, type cmd and then press Ctrl+Shift+Enter. If done properly, the below User Account Control window will appear.
  3. Click Yes to run the Windows Command Prompt as Administrator.

Elevated command prompt window

How to close elevated command mode

Once at the command prompt you can use the exit command to exit from the elevated command mode.

Related pages

Command line, Operating system terms