Run Command Prompt Window as Administrator by Right Click Computer in Vista

Lazy to type “CMD” or pressing any keyboard keys just to elevate the opened command prompt window with full administrator credentials and privileges mode? The following registry hack for Windows Vista will allow you to open an elevated command window by simply right click on Computer (formerly known as My Computer in Windows XP) icon at Start Menu or Desktop, and select Run Command Prompt as Administrator from the contextual menu.

To add and place a new menu item to right click context menu for Computer so that whenever you right click on the icon, a contextual menu item of Run Command Prompt as Administrator will be shown, and then you can straight away click on the entry to immediately open the elevated command prompt, copy and paste the following code to a text editor such as Notepad, and save it to a file with filename with .reg extension. Double click on the file or right click on registry file and then choose “Merge”.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\runas]
@="Run Command Prompt as Administrator"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\runas\command]
@="cmd.exe"

You can also download the following registry registration file in zip package if you don’t like to create the file yourself. Simply extract the elevated-command-prompt.reg file from the archive.

Download elevated-command-prompt.zip from the forums.

Click “Continue” on the the User Account Control (UAC) Registry Editor elevation permission dialog prompt, and click “Yes” on Registry Editor prompt to confirm applying the values to the registry.

Open Command Prompt as Administrator

From now on, bring up Start Menu and right click on Computer, and then select “Run Command Prompt as Administrator” to open elevated command window. For easier access, you can show the Computer shortcut on Desktop by clicking on “Show on Desktop” on right click menu. You can also drag and drop the Computer shortcut to Quick Launch area.


3 Responses to “Run Command Prompt Window as Administrator by Right Click Computer in Vista”

  1. Cal
    January 8th, 2008 23:49
    3

    right click desktop. New Shortcut, type CMD, click ok, for a name type Elevated Command, click ok. now right click the shortcut and click properties, then advanced, then Run as Admin. there you have it. you can pin this shortcut to the start menu for ease of use

  2. karel
    October 17th, 2007 22:54
    2

    I always use the vista search thingie and without waiting I use ctrl+shift enter and it will automatically be run with elevated permissions.

  3. How to Open Elevated Command Prompt with Administrator Privileges in Windows Vista » My Digital Life
    October 17th, 2007 22:42
    1

    [...] a right click contextual menu option of “Open Command Prompt as Administrator” to the Computer (My Computer) so that you can simply right click and click on the item to [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

command prompt administrator xp - run command prompt as administrator - how to open run command - run command prompt as administrator xp - how to run cmd as administrator in xp - administrator command prompt xp - CMD Administrator CF - windows xp command prompt administrator - cmd administrator - command prompt run as administrator - run command as administrator xp - how to open my computer from run - how to run command prompt as administrator - open command prompt as administrator xp - run cmd as admin XP - command prompt hacks vista - how to run pc as administrator - open run as administrator in xp - open my computer as administrator - admin command prompt xp - elevated command prompt xp - how to run cmd as administrator xp - how to show run as administrator in right click - OPEN MY COMPUTER AS ADMIN - running cmd as administrator in xp - run cmd as administrator in xp - run as administrator command line XP - admin cmd xp - run cmd as administrator xp - Running as administrator command prompt Windows X{ - vista command prompt codes - how to open mycomputer from run - cmd administrator xp - run command prompt administrator xp - administrative command prompt windows xp - cmd change to admin - command prompt as administrator xp - open command prompt as administrator in xp - run as administrator command xp - command promt vista - open command prompt as admin xp - RUN IN ELEVATED MODE - run as administrator on right click file windows 7 - vista command prompt hacks - windows xp command line admin - be administrator using cmd xp - cmd as admin - how to open an administrator command prompt in windows xp - open command prompt as administrator vista - run in elevated mode vista -