Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

5 Ways to Open Command Prompt as Administrator in Windows

Open an elevated Command Prompt through Search, Run, Windows Terminal, or a shortcut, then verify administrator mode before running a command.

Table of Contents

The quickest way to open an administrator Command Prompt is to press Windows + R, type cmd, and press Ctrl + Shift + Enter. Review the User Account Control prompt and approve it only when you intended to open an elevated shell.

Use administrator mode for commands that require it. Ordinary file navigation and many diagnostic commands work without elevated privileges.

  1. Open Start or Windows Search and type cmd.
  2. Select Command Prompt, then choose Run as administrator. You can also right-click the result to find that option.
  3. Review and respond to the UAC prompt.

With the correct search result selected, Ctrl + Shift + Enter is another convenient way to request elevation. A standard user may need an authorized administrator’s credentials.

2. Use the Run dialog

Press Windows + R, enter cmd, and press Ctrl + Shift + Enter. Pressing Enter alone normally opens a non-elevated session. Do not disable UAC just to avoid its confirmation.

3. Open Command Prompt inside an elevated Windows Terminal

On Windows 11, right-click Start and choose Terminal (Admin) if available. After the UAC prompt, use Terminal’s tab menu to open Command Prompt. The initial tab may be PowerShell, which is a different shell.

Windows Terminal is the application hosting the tabs; it is not itself the CMD command language. See Command Prompt versus PowerShell if instructions require a particular shell. You can also change Terminal’s default profile without changing privilege requirements.

4. Create an administrator shortcut

  1. Find cmd.exe in your Windows System32 folder. On a typical installation, its full path is C:WindowsSystem32cmd.exe.
  2. Create a desktop shortcut to that file. In File Explorer, Show more options > Send to > Desktop (create shortcut) may be available.
  3. Right-click the new shortcut, choose Properties, and open the Shortcut tab.
  4. Select Advanced, check Run as administrator, and save the changes.

5 tips to quickly open CMD Admin on Windows Picture 1

5 tips to quickly open CMD Admin on Windows Picture 2

5 tips to quickly open CMD Admin on Windows Picture 3

5 tips to quickly open CMD Admin on Windows Picture 4

The shortcut still requests UAC approval. It does not grant a standard account administrator rights or bypass organization policy.

5. Assign a keyboard shortcut

Open that desktop shortcut’s Properties > Shortcut tab and click Shortcut key. Press an available combination, such as Ctrl + Alt + C, then apply it. Windows may choose or display a supported combination for you.

5 tips to quickly open CMD Admin on Windows Picture 5

Test for conflicts with your other applications. This hotkey launches the configured shortcut; elevation still requires the normal approval. Read the UAC prompt instead of blindly confirming it with a memorized keystroke.

Confirm the window is elevated

Look for Administrator in the Command Prompt or Terminal title. A starting directory such as System32 alone is not proof of elevation. If you receive an access-denied or elevation-required message, confirm both the shell and privilege level before retrying.

Close the elevated window when finished. Microsoft’s Windows Terminal FAQ provides more detail on administrator sessions and supported shells.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.