≡ Menu

How to open Elevated Command Prompt

Learn how to open elevated command prompt on your Windows system.

Why do we need elevated command prompt?

Starting from Vista, Windows has two modes for running command prompt – Elevated and normal. Normal command prompt does not allow to run commands that require admin privileges, so elevated command prompt is required. For example, you want to add a new user account to your system, this requires admin previliges, so even if you are admin, you would not be able to add a user from a command window opened in the normal way.

Below are different methods for opening an elevated command prompt.

How to open elevated command prompt?

There are two ways to open elevated command window.  These are explained below.

Click on the Start button in the taskbar. Type ‘cmd’ in the search box. In the results, you will see cmd application. Right click on it, and select the option Run as administrator.

Open Elevated command window

User Account Control will prompt Do you want to allow the program to make changes to your computer?  Click on Yes and elevated administrator command prompt window will be opened.

The alternative way is to search for cmd in the start menu search button as mentioned above.  Press CtrlShift and click on the cmd application.

5 comments… add one
  • Dick Hughes

    this process did not work for vista

    • Srini

      This works on all Windows editions – Windows 7, 10 and Vista too.

  • Poong Jin Yeong

    Thanks for your help. I could open elevated command prompt and apply some secure options

  • Srini

    so how would you create an administrative account though prompt command if your doing it though a user that isnt under administrative privileges is there any way around putting or be asked for administrators password on windows vista ofcourse

  • Srini

    I accidentally deleted my admin account and I’m trying to follow the instructions above, as well as the runas command (to which I get the error 1327: Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.)
    When I try to “run as administrator,” I am not given the option to select “continue,” thus I cannot open a command prompt with elevated privileges. The window that opens looks like it has a Norton Anti-Virus shield and says “User Account Control.” It says to enter the Admin password- but there is no area to put it in, and the only available option is “cancel.”
    Help?

Leave a Comment