How to Elevate to Admin in CMD | Open Elevated Prompt

Open Command Prompt as admin: type cmd in Start, right-click, pick Run as administrator. Or press Win+R, type cmd, then Ctrl+Shift+Enter.

When you need to run system-level commands in Windows, a standard Command Prompt won’t cut it — you must elevate to admin in CMD first. Two reliable methods get this done: the Start menu route and a keyboard shortcut from the Run box. Each has its own steps and the same hard rule — you cannot upgrade an already-open CMD session.

What Exactly Does “Elevated CMD” Mean?

An elevated Command Prompt is the standard Windows CMD opened with administrator-level access rights. It lets you run commands that modify system settings, core Windows functions, or licensing — tasks a normal CMD session blocks. Cornell University’s IT documentation notes that some commands affecting Windows functionality require this higher privilege level before they’ll execute.

The elevated status appears in the window title bar: look for “Administrator: Command Prompt” instead of just “Command Prompt.” That label is the only visual cue — the prompt itself looks identical otherwise.

Method 1: Start Menu (Right-Click)

This is the most discoverable route and works across every Windows version with a Start menu. Open Start, type cmd in the search box, then right-click Command Prompt in the results and choose Run as administrator. When the User Account Control prompt appears, approve it using an account that belongs to the Administrators group. A new window opens with “Administrator: Command Prompt” in the title bar — that’s your success cue that elevation worked.

You can also highlight the result with arrow keys and press Ctrl + Shift + Enter for the same result, skipping the right-click entirely.

Method 2: Run Box Keyboard Shortcut

Power users who prefer keeping hands on the keyboard can use the Run box. Press Win + R to open the Run dialog, type cmd, and press Ctrl + Shift + Enter instead of plain Enter. The UAC prompt appears as it does with the Start menu method — approve it with an admin account, and the elevated CMD window opens.

This method trades the visual search step for a three-key combination, making it the fastest route once you’ve memorized the shortcut.

Elevating to Admin in CMD: Two Methods Compared

Both methods produce the same elevated CMD session. The table below breaks down the differences in workflow and when each one fits best.

Feature Start Menu Method Run Box Shortcut
How To Start → type cmd → right-click → Run as administrator Win+R → type cmd → Ctrl+Shift+Enter
Learning Curve No shortcut to memorize; right-click is intuitive Requires remembering Ctrl+Shift+Enter
Speed Moderate — 4 actions including the right-click Fast — 3 actions, no mouse needed
Works On All Windows versions with Start menu All Windows versions
Visual Feedback Right-click context menu confirms the action No visual cue until CMD opens
UAC Required Yes — admin credentials needed Yes — admin credentials needed
Admin Account Needed Yes — the account must be in the Administrators group Yes — same requirement

Important Caveats Before You Elevate

Elevation isn’t something any user can trigger. You must be a member of the Administrators group on the machine, or know the credentials of an admin account. A standard user who attempts either method will see UAC deny the elevation — there is no self-service workaround without an admin approving it.

Once CMD is running with elevated rights, every command you type carries higher risk. Cornell’s IT guidance explicitly warns that some elevated commands can alter basic Windows functionality or licensing. Double-check the command before pressing Enter, especially when working with system files or registry entries.

Microsoft’s documentation for opening an elevated command prompt confirms these steps and prerequisite requirements.

Can You Elevate an Already-Open CMD Window?

No — you cannot promote a running non-elevated CMD session to admin status. The Windows shell does not support in-place privilege escalation for an existing console window. If you opened CMD and realize you need admin rights, close that window and launch a fresh elevated instance using one of the two methods above. Trying to work around this by launching a second elevated process from within the non-elevated window also fails, because any child process inherits the parent’s privilege level.

Common Mistakes and How to Avoid Them

Most elevation failures come from a small set of easily avoidable errors. The table below maps each mistake to the specific fix.

Mistake Why It Fails The Fix
Pressing Enter on cmd in Start Opens CMD without admin rights Right-click the result and pick Run as administrator
Using Enter in Run box after typing cmd Same — launches at user level Use Ctrl+Shift+Enter instead of Enter
Trying to “upgrade” an open CMD window CMD cannot elevate itself mid-session Close it and open a new elevated instance
Standard user attempting elevation UAC blocks or asks for admin credentials Sign in with an admin account or have one added to the machine
Running cmd from File Explorer’s address bar Opens at user privilege level Use the Start menu or Run box method instead
Typing “cmd” incorrectly in Start search Search doesn’t find the right item Type exactly cmd — no quotes, no extra letters
Using runas without proper setup runas needs admin credentials and may still launch at user level Skip runas for CMD — use the Start menu right-click method

Elevation Quick Reference

Two methods, one requirement, one hard limit:

  • Method 1 (mouse-friendly): Start → type cmd → right-click Command Prompt → Run as administrator → approve UAC.
  • Method 2 (keyboard-friendly): Win+R → type cmd → Ctrl+Shift+Enter → approve UAC.
  • Requirement: you must be a member of the Administrators group or have admin credentials ready.
  • Hard limit: an already-open CMD window cannot be elevated — launch a new one.

The window title bar showing “Administrator: Command Prompt” is the only confirmation you need. Run your elevated commands, then close the window when done to avoid accidental system changes.

References & Sources