Into Windows

  • Home
  • Windows 11
  • Windows 10
  • Windows 7
  • Privacy
You are here: Home » Windows 10 » How To Automatically Run Command Prompt As Administrator

How To Automatically Run Command Prompt As Administrator

Last Updated on October 7, 2020 by admin 9 Comments

In Vista, Windows 7, Windows 8 and Windows 10 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 Windows 7/8/10.

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 Windows

Run command prompt as admin

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.

Filed Under: Windows 10, Windows 7 Guides Tagged: Command Prompt

Related Posts

  • Launch Elevated Command Prompt From Command Prompt
  • Run Program As Administrator Without Prompt
  • How To Open Command Prompt As Administrator In Windows 8.1
  • Use Run Command Box To Start Programs As Administrator In Windows 10
  • How To Run MSI File As Administrator From Command Prompt In Windows
  • 8 Ways To Open Command Prompt As Administrator In Windows 10

Comments

  1. Ed says

    June 19, 2023 at 8:34 pm

    Just a note that on my Win 10 System you have to go into …\Accessories\System Tools

  2. robert sibanda says

    November 12, 2015 at 4:23 pm

    not really helpful coz I was looking for a hacking trick so that I can use cmd to change the password when I am loged on to a guest account

  3. khan asd says

    July 7, 2015 at 4:19 pm

    hi…can you tell how to run cmd prompt as administrator using java program,actually I am trying to make a software which requires cmd prompt to be opened as administrator.your method is good but as a programmer I want to make it automatic for my app users..please suggest the way

  4. Rezwanur Rahman Pantho says

    March 11, 2013 at 5:38 pm

    Thanks.

  5. fernand says

    October 7, 2012 at 6:22 pm

    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. Michael Harding says

    May 19, 2012 at 12:34 pm

    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.

  7. admin says

    May 18, 2012 at 7:14 pm

    Thanks Shamu726, fixed the typo.

  8. shamu726 says

    May 18, 2012 at 2:20 pm

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

  9. Happy Bulldozer says

    May 18, 2012 at 12:33 am

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements

Search Into Windows

Recent posts

  • 5 Ways To Go To Desktop In Windows 11
  • How To Show Battery Percentage On Taskbar In Windows 11
  • Fix: AMD Software Adrenalin Edition Not Opening In Windows 11
  • How To Show Year On Windows 11 Taskbar
  • Windows 11 24H2 Is Available Now
  • How To Create 7z & TAR Files In Windows 11 Without Using Additional Apps
  • How To Remove Bell Icon From Taskbar In Windows 11
  • How To Reinstall Windows 11 Without Losing Apps And Files
  • How To Hide/Show Files & Icons On Desktop In Windows 10/11
  • How To Show Hidden Icons On Taskbar In Windows 11

About us

  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2025 · Into Windows