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.

New Articles

Incoming Search Terms for the Article

cmd administrator cf - command prompt administrator XP - run cmd as administrator xp - CMDAdministrator CF - how to run cmd as administrator in xp - how to open my computer from command prompt - open command prompt as administrator xp - administrator command prompt xp - how to open my computer from run - how to run cmd as administrator xp - run command as administrator xp - command prompt as administrator XP - cmd as administrator xp - open my computer as administrator - CMD as admin xp - command promt vista - run cmd as administrator in xp - xp cmd admin - command promt in vista - administrator command prompt windows xp - open my computer from command prompt - command prompt xp administrator - run command prompt as administrator - cmd administrator - run a command with administrator permission - run cmd as administrator from run command - xp run cmd as administrator - elevated cmd prompt xp - open as administrator XP - run my computer from cmd - windows xp administrator command prompt - elevated command prompt xp - right click does present run as adm - run cmd in admin mode - xp administrator command prompt - how to run in elevated mode vista - run command prompt as administrator xp - windows xp run command prompt as administrator - how to open run command - how to run command prompt as administrator xp - admin command prompt xp - command prompt hacks vista - how to open run in window 7 - Open a command prompt as an administrator xp - command prompt administrator winxp - cmd windows xp administrator - windows xp cmd as administrator - admin cmd xp - cmd prompt as administrator xp - command prompt administrator code -