Monday, December 22, 2008

How To Hack to Enable Opening Command Prompt as Adminstrator in Vista

How To Hack to Enable Opening Command Prompt as Adminstrator 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”

No comments: