Apr 24, 2008
Tip and Trick Editorial

How Open Command Prompt as Administrator on Elevation in Vista

When using command prompt or command shell in Windows Vista, the following error message may occasionally happens:

The requested operation requires elevation.

Or,

Access denied.

The problem happens because Windows Vista places restriction on processes running to increase security in Windows Vista environment. User Access Control (UAC) runs all user initiated processes and programs in low privilege mode which limit its access to protected system files, folders and registry. Thus, some commands which require exclusive access to important system components fails when run in ‘normal’ command prompt without elevation. To resolve the denial problem, run the operation or process in elevation mode by opening command prompt elevated as administrator.

There are more than one ways to open elevated command prompt with administrative privileges in Windows Vista as listed below. All method, if the UAC is enabled, will have system prompt user for administrator’s password or request for user’s permission to continue. When prompted, enter administrator’s password, or press Alt+C or press Continue to confirm the UAC elevation request.

Method 1

Open Elevated Command Prompt as Administrator

  1. Click on Vista Start button.
  2. Go to All Programs -> Accessories, and then locate the Command Prompt menu item.
  3. Right click on Command Prompt.
  4. On the pop-up right click context menu, select Run as Administrator.

Method 2

  1. Press the Win keyboard key or click on Vista Start button.
  2. Type cmd into the Start Search textbox.
  3. Press Ctrl+Shift+Enter keyboard shortcut. Ctrl-Shift-Enter is the general keyboard shortcut that triggers elevation to “Run as Administrator”.

Method 3

Run Command Prompt as Administrator

  1. Click on Vista Start button.
  2. In the Start Search box, type in Command Prompt or Cmd.
  3. Right click on the Cmd or Command Prompt that appears in the search result listing.
  4. In the right click menu, click on Run as Administrator menu item.

Method 4

Always Run Command Prompt as Administrator

If you always need to use an elevated command prompt with full administrator privileges and rights, configure and set the command prompt shortcut so that it’s always run as administrator with high and top level privilege and access rights.

  1. Right click on a Command Prompt shortcut.
  2. Click on Properties.
  3. Go to Shortcut tab.
  4. Click on Advanced button.
  5. Tick the check box of Run as administrator.
  6. Click OK twice to exit.

Next time whenever user clicks on the Command Prompt shortcut, the launched window will automatically elevate to high privilege level with administrator rights.

More methods to open elevated administrator’s command prompt.

Get latest updates via email: