[Automatic] Run Elevated Command Prompt in Windows 8, Windows 7 and Vista

There are several cases on your Windows operating system that you need to use the command prompt in elevated mode (i.e using administrator rights). Such cases can be like enabling Hibernate mode, creating Windows bootable USB drive, installing new programs, making changes to registry, repairing Windows system files etc.

The simplest way of launching the elevated command prompt is by entering “CMD” command in the Startup or Search menu and then right-click and choose “Run as administrator”. Otherwise, you can press Ctrl + Shift + Enter keys. This is little nuisance if you want to run the command prompt as administrator for many times. So it would be cool if we can make the elevated command prompt as the default one.

This tutorial will show you how to automatically elevate command prompt to run as administrator, every time command prompt is launched in Windows 8, Windows 7 and Vista.

Step 1 :  Navigate to the following directory in Windows Explorer:

<C>:Users<YourUserName>AppDataRoamingMicrosoftWindowsStart MenuProgramsAccessories

<C> is the drive where your Windows 7 or Vista is installed.

For Windows 8, navigate to Programs/ Windows System directory.


Step 2 : Delete the command prompt shortcut from this directory.

Step 3 : Navigate to the following directory in Windows Explorer


Here you’ll find the CMD.exe, the original source file. Right click on the file and send a shortcut to desktop.


Step 4 : Now right click on the desktop shortcut and select Properties. Switch to Shortcut tab, click on Advanced, check Run as administrator option, click Ok button and then Apply.



Step 5 :  Finally, move the changed desktop command prompt shortcut to the previous deleted location.

C:Users<YourUserName>AppDataRoamingMicrosoftWindowsStart MenuProgramsAccessories

Whoila! You’ve succeeded. From now onwards, whenever you start “Cmd” prompt from Start Menu or Search box it’ll start in elevated mode.

One observation I made is that when you try to open command prompt using “Run” box its not opening in elevated mode, but in normal mode. Need to figure out, how this can also be done.

[Img Source : IntoWindows.com]

One Response

  1. Stephen January 11, 2013

Leave a Reply