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

cmd administrator cf - run a command with administrator permission - command prompt administrator XP - open as administrator XP - how to open run as administrator in vista - run cmd as administrator xp - administrator command prompt windows xp - how to open my computer from run - elevated cmd prompt xp - how to run cmd as administrator in xp - xp administrator command line - open command prompt as administrator xp - windows xp administrator command prompt - add run as administrator to right click xp - admin cmd xp - cmd prompt as administrator xp - command prompt administrator code - how to add run as admin option in vista ultimate - how to run cmd as a administrator on xp - HOW TO RUN COMMAND LINE IN ADMIN MODE - open cmd as administrator in vista - right click command prompt run as administrator - run cmd in administrator windows 2000 - run in administrator elevated mode - vista run cmd in administrator mode - windows xp command prompt as administrator - windows xp start cmd as administrator - xp HOW TO RUN CMD AS ADMIN - xp kommandozeile als admin - xp run as admin cmd - administrator command prompt xp - administrator command prompt, xp - all - cmd as administrator xp - cmd amministratore in xp - command runas "window 7" - command prompt code to assign administrator - command promt here in vista - how to enable administrator by run command xp - open my computer from command prompt - open my computer from run - open my documents as non administrator - open command prompt xp as admin - run cmd as administrator from run command - run cmd as administrator shortcut - shell\runas\command run as admin - Vista right click cmd - xp run cmd as administrator - XP run command as administrator - 2000 admin command prompt -