Elevated command prompt

The elevated command line, elevated command prompt or elevated mode is a mode introduced with Windows Vista and also found in Windows 7 and Windows 8 that allows the user to execute commands with administrative privileges. By default, when opening the Windows command line in Windows Vista or 7 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 Start
  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 Processor as Administrator.

or

  1. Click Start
  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 Processor as Administrator.

Elevated command prompt window

Also see: Command line, Operating system terms