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

administrator command prompt xp - command prompt administrator xp - Cmd Administrator CF - run command prompt as administrator xp - elevated command prompt xp - run command prompt as administrator - run CMD as administrator xp - how to run cmd as administrator in xp - how to open run command - open command prompt as administrator xp - how to run pc as administrator - run prompt - open my computer as administrator - xp run cmd as administrator - command prompt run as administrator - command prompt hacks vista - how to run cmd as administrator xp - vista command prompt codes - How to run command prompt as administrator - open run as administrator in xp - command promt vista - open as administrator xp - command promt in vista - run command as administrator xp - windows xp command prompt administrator - run cmd as administrator in xp - open my computer from run - run command prompt administrator xp - cmd admin xp - cmdadministrator cf - windows xp administrator in cmd - run cmd as admin in xp - how to get administratorcommand prompt in windows xp - windows xp admin cmd - open my computer as admin - Running as administrator command prompt Windows X{ - windows xp administrator command prompt - command prompt run as administrator xp - how to open mycomputer from run - how to open my computer from run - cmd administrator xp - How to open my computer as administrator - run as administrator command xp - run cmd as admin xp - administrative command prompt windows xp - command prompt as administrator xp - how to run command prompt as administrator in xp - run promt - administrator command prompt windows xp - cmd on samsung solstice -