Advertisement
Elevated Command Prompt: How to Open One in Windows
Some Windows commands only work with administrator rights. An 'elevated' Command Prompt runs as administrator. Here are five quick ways to open one in Windows 11 and Windows 10.
5 ways to open Command Prompt as administrator
1. From the Start menu (easiest)
- Press the Windows key and type cmd.
- Right-click Command Prompt and choose Run as administrator (or choose it in the right pane).
- Click Yes in the User Account Control (UAC) window.
2. With the Run box shortcut
- Press Windows + R.
- Type cmd.
- Press Ctrl + Shift + Enter (instead of Enter) and click Yes.
3. From the Power User menu
- Press Windows + X (or right-click the Start button).
- Choose Terminal (Admin) in Windows 11, or Windows PowerShell (Admin) / Command Prompt (Admin) in Windows 10.
- In Windows Terminal, open a Command Prompt tab from the drop-down arrow if PowerShell opens.
4. From Task Manager
- Press Ctrl + Shift + Esc.
- Choose Run new task (File → Run new task in Windows 10).
- Type cmd, tick Create this task with administrative privileges, and press OK.
5. Always run as administrator (shortcut)
- Right-click the desktop → New → Shortcut, enter cmd.exe.
- Right-click the shortcut → Properties → Advanced → tick Run as administrator.
How to check that it's elevated
- The window title starts with Administrator:.
- The default folder is usually C:\Windows\System32 instead of your user folder.
- Run
net session. Without admin rights you'll get "Access is denied".
Advertisement
Common commands that need an elevated prompt
| Command | What it does |
|---|---|
sfc /scannow | Scans and repairs protected system files |
DISM /Online /Cleanup-Image /RestoreHealth | Repairs the Windows image |
chkdsk C: /f | Checks and fixes disk errors (may run at restart) |
netsh winsock reset | Resets network settings (restart afterwards) |
ipconfig /flushdns | Clears the DNS cache (works without admin in many cases) |
powercfg /batteryreport | Creates a laptop battery health report |
Safety tips
- Only run commands you understand, from trusted sources. An elevated prompt can change or delete system files.
- Be wary of anyone (for example a "support" caller) asking you to open an admin prompt and paste commands. This is a common scam.
- Close the elevated window when you're done.
Can't run as administrator?
- On a work or school PC, admin rights may be blocked by your IT department. Ask them.
- On a home PC, make sure you're signed in with an administrator account (Settings → Accounts → Your info).
Elevated Command Prompt: staying safe
- Only run commands you understand, from sources you trust.
- Close the elevated window when you're done; anything typed there runs with full admin rights.
- Create a restore point before system changes such as
bcdeditor registry edits. - Check the window title says "Administrator" before running admin-only commands.
Key takeaway: elevated rights are powerful; use them only for the task that needs them.
Frequently asked questions
What does "elevated" mean?
Running with administrator privileges after User Account Control approves it.
Is PowerShell (Admin) the same as an elevated Command Prompt?
Both run with admin rights, but they're different shells. Most cmd commands also work in PowerShell.
What's the keyboard shortcut for an admin Command Prompt?
Press Windows + R, type cmd, then press Ctrl + Shift + Enter.
Related guides
Learn Prompt EngineeringRoadmap, skills and 2026 trends.ABA Prompt HierarchyPrompt types, order and fading, with examples.AI Image Prompts (With Examples)Write better image prompts, with 30 examples.What Is an AI Prompt? (With Examples)Definition, structure and 25 prompt examples.
Advertisement