Home     Windows 7     Windows 8   Freeware     Privacy

How To Automatically Run Command Prompt As Administrator

Posted May 17, 2012 – 10:06 pm in: Windows 7 Guides, Windows 8 Guides
Advertisements

In Vista, Windows 7 and Windows 8 operating systems, executing a command in elevated prompt is essential to perform advanced tasks such as enabling Hibernation mode and creating bootable Windows USB flash drive and repairing Windows system files.

 

While it’s possible to launch the Command Prompt as administrator by entering CMD in Start menu or Start screen and then simultaneously pressing Ctrl + Shift + Enter keys, novice users and mouse addicts always need to go through the Start menu or Start screen, to launch the Command Prompt with admin rights.

 

A few weeks ago, we covered a small tool named Ele to open elevated prompt right from the Command Prompt without having the close the opened normal Command Prompt. Wouldn’t it be cool if there was a way to set the elevated prompt as default one. In this guide, we are going to show you how to always launch Command Prompt as administrator in Vista, Windows 7 and Windows 8.

 

 

Method 1:

Step 1: Open up Windows Explorer, navigate to the following directory to find Command Prompt shortcut.

C:\Users\YourUserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories

(C is your Windows drive and YourUserName is your user account name)

 

In Windows 8, the Command Prompt shortcut is located in Programs\Windows System directory.

 

Step 2: Here, you should find Command Prompt shortcut. Right-click on the Command Prompt shortcut, click Properties. Switch to Shortcut tab, click on Advanced, check Run as administrator, finally click Ok and then Apply.

Run Command Prompt As Administrator Step1

Run Command Prompt As Administrator Step2

Step 3: That’s it. From now onwards, whenever you launch the Command Prompt, you will see the elevated prompt.

 

 

 

 

Method 2: If the above method isn’t working for you, you can try out given below instructions.

 

Step 1: Open Windows drive and navigate to the following directory:

C:\Users\YourUserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories

Run Command Prompt As Administrator Step5

In Windows 8, the Command Prompt shortcut is located in Programs\Windows System directory.

 

Step 2: Delete the Command Prompt shortcut from the directory.

 

 

Step 3: Open your Windows drive, navigate to Windows\System32 folder, locate the cmd.exe file. Right-click on the cmd.exe file, click Send to and then click Desktop (Create Shortcut) folder.

Run Command Prompt As Administrator Step3

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

Run Command Prompt As Administrator Step1

Run Command Prompt As Administrator Step2

Step 5: Finally, move the newly created shortcut to:

C:\Users\YourUserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories

 

 

That’s it! From now onwards, whenever you launch the CMD from Start screen or Start menu, elevated prompt will automatically be launched.

  Tags: Command Prompt
Advertisements

Useful Guides For Windows 7

6 Comments

  1. Posted May 18, 2012 at 12:33 am | Permalink

    I use my own “evelated shortcut” for cmd.exe, Process Explorer, “regnav” script and some other tools.

  2. shamu726
    Posted May 18, 2012 at 2:20 pm | Permalink

    I think you meant to say “Ctrl + Shift + Enter” not “Ctrl + Alt + Del”. “Ctrl + Alt + Del” opens task manager.

  3. admin
    Posted May 18, 2012 at 7:14 pm | Permalink

    Thanks Shamu726, fixed the typo.

  4. Michael Harding
    Posted May 19, 2012 at 12:34 pm | Permalink

    Neither of these Methods work for me although Method 1 has been my default setting for years. I was hopoing there might be a workable Method 3.

  5. fernand
    Posted October 7, 2012 at 6:22 pm | Permalink

    i don’t why this happens to me, but even with ctrl + shift + enter my CMD still opening as a normal user, and it’s not just it.

    every program i try to open with ctrl + shift + enter opens as normal user.. for it to work properly i right to click and blablabla

    this really piss me off, cuz everyone seems to accomplish it easily, but with me it doesn’t work, wish i know at least why.

  6. Rezwanur Rahman Pantho
    Posted March 11, 2013 at 5:38 pm | Permalink

    Thanks.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*