Skip to content
Home » Windows » How to Open Command Prompts with Administrator Privileges (Elevated Mode) on Windows

How to Open Command Prompts with Administrator Privileges (Elevated Mode) on Windows

  • Windows

For opening command prompts in elevated mode, you must be a member of Administrators group. The way how to check account information can be found in following post:

How to Show Account Information on Windows in Command Line
  1. Open the search box dialog.
    • For Windows 7 or Vista, please press ⊞ Win to open start menu with the box.
    • For Windows 8 or later, please press ⊞ Win + q
  2. Enter "cmd" in the search box:
  3. On Windows 7, cmd executable was shown in the menu.

    Enter cmd in search box on Windows 7
    Enter cmd in search box on Windows 7

    On Windows 8, cmd executable was found.

    Enter cmd in search box on Windows 8
    Enter cmd in search box on Windows 8
  4. Press Ctrl + Shift + Enter to make cmd run as administrator.
  5. An alert dialog will popup on the screen, you may click "Yes" to continue this action.

    Allow to execute cmd in elevated mode
    Allow to execute cmd in elevated mode

    Now cmd is in elevated mode which allows you to run with administrator privileges.

    CMD Elevated Mode
    CMD Elevated Mode

You can execute any commands with administrator privileges in the cmd dialog. For scripting purposes, you may refer to the following post to get some useful information: How to Run as Administrator in Command Lines on Windows

Leave a Reply

Your email address will not be published. Required fields are marked *