run cmd as admin automatically
Home » How to » Automatically Run CMD as Admin

Set Command Prompt (CMD) to Auto Run as Admin [No Clicks]

Most commands need admin-level access for the Command Prompt, but that requires additional steps each time you launch the utility. Be it right-clicking the launcher and selecting Run as administrator or pressing Ctrl + Shift + Enter from the Run command. Wouldn’t it make things easier if you could set Command Prompt (CMD) to automatically run as administrator, without any extra clicks?

In the following guide, we will walk you through the easy steps to always launch an elevated Command Prompt and quickly get to executing system-level commands, say the SFC (System File Checker) Scan or Check Disk (CHKDSK)!

How can I make Command Prompt automatically run as an administrator?

  1. Press Windows + E to open File Explorer, and navigate to this path or paste it in the address bar and hit Enter:

    C:\Windows\System32
    system32 folder
  2. Right-click on the cmd.exe entry, select Show more options, pick Send to, and then choose Desktop (create shortcut).
    create cmd.exe shortcut on desktop
  3. Now, go to the desktop, right-click on the newly created cmd.exe shortcut, and select Properties.
  4. In the Shortcut tab, click on Advanced.
    advanced properties
  5. Check the Run as administrator option, and click OK to save the changes.
    checkbox to run cmd as admin automatically
  6. Again, click on Apply and OK.
  7. When you now double-click on the shortcut, it will automatically trigger the UAC (if configured), and clicking Yes will launch an elevated Command Prompt each time.

That’s how you can set Command Prompt to run with administrative privileges (elevated CMD) every time you launch the command-line interface, saving a few precious seconds each time. But don’t forget, not every command requires an elevated CMD. Only run it with Admin rights when necessary, since it allows system-level changes that can put your PC at risk if misused!

Before you leave, find out how you can safely force a BSOD in Windows using the Command Prompt.

For any queries, drop a comment below, and I will try to resolve them at the earliest!

Leave a Comment

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

Scroll to Top