Press Win + S, type cmd, then hit Ctrl + Shift + Enter. Click Yes on the UAC prompt. That's an elevated Command Prompt in about two seconds, and it works the same on Windows 11, 10, 8, and 7.
But that's the happy path. Search breaks. Explorer crashes. Windows 11 keeps opening Terminal instead of the black console you expected. So below you'll find every reliable way to run CMD as admin, sorted by scenario — plus fixes for when the "Run as administrator" option just isn't there. Tested on Windows 11 23H2 and Windows 10 22H2.
If you want to learn how to open Command Prompt using different keys and apps, keep reading. Explore our comprehensive list of CMD commands for all users.

🔐 What Does "Run as Administrator" Actually Mean?
Even if your account is an administrator, Windows doesn't hand you full privileges by default. Every app you launch runs with a standard-user token. That's User Account Control (UAC) doing its job — it strips your admin rights until something specifically asks for them.
An elevated Command Prompt is a session running with that full administrator token restored. You'll know it worked because the title bar says Administrator: Command Prompt and the working directory starts at C:\Windows\System32 instead of your user folder.
When You Actually Need It
sfc /scannow— scans and repairs protected system filesDISM /Online /Cleanup-Image /RestoreHealth— repairs the Windows component storechkdsk C: /f— fixes file system errors on the system drivenet userwith modification flags — creates or edits local accounts- Anything writing to
C:\Program Files, the registry's HKLM hive, or system services
Run those in a standard prompt and you'll get "Access is denied" or "You must be an administrator running a console session." Microsoft's UAC documentation explains the token-splitting behaviour in detail if you want the full picture.
Master Essential Windows Commands: Explore these crucial Windows commands for efficient operations. Some methods may apply to more than one Windows version, so regardless of your Windows version, try every method as you read through the article.
🛠️ How to Open and Run Command Prompt as Administrator
You can open and run Command Prompt in many different ways. However, methods may differ based on the Windows version you are currently using. In the following, we start with the steps that apply to Windows 11 and 10. Then, we'll move on to Windows 8 and 7.

1. How to Run Command Prompt as an Administrator From the Start Menu
Here are step-by-step instructions to open Command Prompt as an administrator on Windows 10:
- Click the Windows Start button located at the bottom left corner of the screen.
- Type "Command Prompt" in the search bar.
- Right-click on Command Prompt in the search results.
- Select "Run as administrator" from the context menu.
- If the User Account Control prompt appears, click "Yes" to confirm.

On all Windows versions, after the last step Command Prompt will open. However, Windows 11 will open within Terminal (a more advanced version of cmd). Press Win + S, type cmd, then press Ctrl + Shift + Enter instead of plain Enter — fastest method there is, and it's pure keyboard.
2. Open Windows PowerShell
In Windows 10 and 11, Windows PowerShell replaced Command Prompt in the Power User menu. The only difference is that Windows 11 also has a Terminal, which runs commands and more.
As a result, instead of Command Prompt, you can run PowerShell and do your administrating tasks. To do so:
- Right-click the start menu or press Win + X to access the Power User menu.
- Choose PowerShell (or Terminal in Windows 11) and run as administrator.
In older Windows 10, you may see the Command Prompt option in the Power User menu instead of PowerShell. You can click it directly or use the search bar to open PowerShell. On most Windows 11 builds this entry now says Terminal (Admin) — still fine.
3. Open cmd within the Terminal
In Windows 11, you can launch and use Terminal easily by searching it in the Start menu. However, in Windows 10, you'll have to download and install it to be able to use it.
Either way, open Windows Terminal, then follow these instructions to load a Command Prompt tab within the app:
- At the top of the window, select the downward arrow to open more options.
- From the drop-down menu, choose Command Prompt (or use the Ctrl + Shift + 2 shortcut).
4. Use the Run Dialogue Box to Open the cmd
Sometimes you can't access File Explorer (Windows Explorer) because it has crashed, or opening cmd from the Start menu is not possible for some reason. Regardless of your Windows version, you can open Command Prompt using a command in the Run dialogue box.
Here's how:
- Press Win + R keys or open Task Manager, select Files from the left corner, then choose Run new task to open the Run dialogue box.
- Now, type cmd in the blank section and hit Ctrl + Shift + Enter for admin (plain Enter gives you a non-elevated session, which trips up a lot of people).
5. Open Windows Tools to Access Command Prompt
On Windows 11, you can run Command Prompt from the Windows Tools app. To do so, follow these instructions:
- Click the Start menu, then select all apps at the right corner of the window.
- Scroll down to find the Windows Tools app and open it (the apps are listed alphabetically, so to find the Windows Tools, you need to scroll down to the 'W' section).
- At the top of the window, you can see the Command Prompt icon. Double-click to open it. (If you want to run it as administrator, right-click the icon, then select Run as administrator.)
6. Open Command Prompt from the Apps Screen
Using Windows 8, you can run Command Prompt directly from the App screen.
Here's how:
- Click the down arrow icon at the bottom of the screen or hit the Start menu.
- Swipe right to find the Windows Systems section, then click Command Prompt from the menu.
- Hit Yes when the Windows warning appears, then cmd will open, and you can run any command you want and automate your tasks.
7. Find Command Prompt in the Accessories
Finding Command Prompt in Windows 7, Vista, or XP versions might be more challenging than its newer versions.
To open and run Command Prompt in Windows 7, follow these steps:
- Click the Start button from the left corner of the screen, or hit the Win key, then select All Programs.
- From the list that appears on the screen, choose Accessories.
- You'll see a list of programs; scroll down to find Command Prompt, then click it.
8. Create a cmd Shortcut on the Desktop
If you use Command Prompt frequently, it's best to create a shortcut to access it more easily. This way, it's always one click away, and you can do your tasks without wasting extra time.
You can create a Command Prompt shortcut on your desktop or in any folder. Just open the folder or any other location you want, then follow these steps:
- Right-click on a space in your desired location, hover over New in the menu, and then select Shortcut from the right side of the contextual menu.
- In the following window, browse and select Command Prompt, then hit Next.
- Type a name for your shortcut in the blank section, like cmd, then click Finish.
Then right-click the shortcut and choose Run as administrator whenever needed.
9. Pin Command Prompt to Your Taskbar
You can pin cmd to your start menu or taskbar if you don't want to crowd your desktop with too many shortcuts. In Windows 10/11, search for Command Prompt in the Start menu, then choose "Pin to start" or "Pin to taskbar" from the right pane.
In Windows 8/7, first open Command Prompt, right-click on its icon on the taskbar, and choose the Pin to taskbar option. To pin cmd to the Start menu, search for it, then right-click its icon on the Start menu and select Pin to Start. Once pinned, hold Ctrl + Shift while clicking the icon — instant elevation, no menus.
10. How to Run Command Prompt as an Administrator Through Task Manager
This one saves you when the shell is broken. Here are the steps to open Command Prompt with administrative privileges using Task Manager:
- Press CTRL + SHIFT + ESCAPE to open Task Manager.
- Click on the "File" menu in Task Manager and select "Run new task" (Windows 11: the Run new task button up top).

- In the dialogue box that appears, type "cmd" and check the "Create this task with administrative privileges" checkbox. Then press Enter or click OK.
That's all! This method allows you to open Command Prompt with elevated administrative privileges using Task Manager. No UAC prompt appears — it elevates directly.
11. How to Run Command Prompt as an Administrator Using the Control Panel
The Control Panel serves as a centralized hub for accessing various system features and configurations in the operating system (OS). While it doesn't directly provide an option to run Command Prompt as an administrator in Windows 11, you can utilize alternative methods to achieve this administrative access.
Here's an open CMD as admin shortcut, demonstrating how to access Command Prompt with administrative privileges on Windows 11:
- Begin by searching for "Control Panel" using the Windows 11 Search feature. Open the Control Panel app from the list of available options.

- Once the Control Panel is open, navigate to the "View by:" section and select "Large icons."

- Locate and click on "Windows Tools."

- Within Windows Tools, right-click on Command Prompt and select "Run as administrator."

Following these steps grants immediate administrative rights to the Command Prompt utility on your Windows 11 system.
12. How to Run Command Prompt as an Administrator Via File Explorer
Here are instructions for running Command Prompt as an administrator through File Explorer in Windows 11:
- Launch File Explorer (also known as This PC) on your Windows 11 computer.
- Once File Explorer is open, navigate to the following directory: Local Disk (usually C:) > Windows > System32.

- In the System32 folder, locate the search bar in the top-right corner of the File Explorer window. Type "CMD" into the search bar and press Enter.

- Find the "cmd.exe" application in the search results. To run command prompt as admin, right-click on "cmd.exe" and select "Run as administrator" from the context menu.

By following these steps, you can efficiently learn how to open CMD Prompt with administrative privileges using File Explorer in Windows 11. You can also type cmd into the Explorer address bar — though that launches unelevated, so it's only useful for quick non-admin work.
13. How to Run Command Prompt as an Administrator via the Quick Access Menu
The Quick Access Menu in Windows 11 lacks a direct option to launch Command Prompt as an administrator. However, you can achieve this by accessing Windows Terminal (Admin) and then utilizing the elevated command prompt. Here's how to run CMD as administrator without search:
- Right-click on the Windows Start menu.
- From the Quick Access Menu, choose Terminal (Admin).

- After Windows Terminal opens, click the dropdown menu. Then, press CTRL and simultaneously click on the Command Prompt.

This sequence enables you to run Command Prompt with administrative privileges on Windows 11.
📊 Method Comparison
| Method | Keyboard only | Needs search | Works if Explorer crashed |
| Start search + Ctrl+Shift+Enter | Yes | Yes | No |
| Win + X menu | Yes | No | No |
| Task Manager → Run new task | Yes | No | Yes |
| Run dialog | Yes | No | Partly |
| cmd.exe in System32 | No | No | No |
| Pinned taskbar icon (Ctrl+Shift+click) | No | No | No |
🧭 Command Prompt vs PowerShell vs Windows Terminal
People conflate these three constantly, and it causes real confusion. Here's the clean version.
- Command Prompt (cmd.exe) — the classic command-line interpreter. Still shipping in Windows 11. Not deprecated, not removed.
- PowerShell — a separate, object-oriented scripting shell. Different syntax, far more powerful for automation. It did not replace CMD.
- Windows Terminal — a host application with tabs. It runs CMD, PowerShell, WSL, and Azure Cloud Shell. It's a window, not a shell.
So when Terminal opens instead of "Command Prompt," nothing is broken. You're looking at the same cmd.exe in a nicer frame. To force a Command Prompt tab, open Terminal as admin, click the dropdown arrow next to the +, and choose Command Prompt. Want it permanent? Terminal Settings → Startup → Default profile → Command Prompt.
🔁 How to Always Run Command Prompt as Administrator
Create a shortcut to cmd.exe, right-click it → Properties → Shortcut tab → Advanced → tick Run as administrator → OK. Pin that shortcut to your taskbar and every launch elevates (you'll still get the UAC prompt).
Should you? Honestly, only on a machine you fully control. Permanently elevating a shell you use for casual commands is how a careless paste turns into a rebuild. I keep two pinned shortcuts — one plain, one elevated — and it's saved me more than once.
⚠️ When It Won't Work

- Search returns nothing: use
Win + Ror Task Manager instead. Rebuild the index later from Indexing Options. - Explorer crashed:
Ctrl + Shift + Esc→ Run new task →cmd→ tick the admin box. Then runexplorer.exeto restore the shell. - "Run as administrator" is missing: you're likely on a standard account, or a Group Policy restriction is in play. If you're unsure how accounts work, read our guide on the administrator user in Windows.
- Access denied inside an elevated prompt: the target is protected by TrustedInstaller. Take ownership first, or boot into Safe Mode.
- Work or school device: your IT team may have blocked elevation via policy or Windows Defender Application Control. No local workaround — ask them.
🛡️ Is It Safe?
Elevated CMD has no undo. A mistyped del or a copy-pasted command from a random forum can wipe data or disable services. Read every command before you run it, know what each flag does, and never paste something you don't understand into an admin console.
⚡ Useful Commands to Run Next
ipconfig /flushdns— clears the DNS resolver cache; fixes plenty of name-resolution errorssfc /scannow— repairs corrupted system filesDISM /Online /Cleanup-Image /RestoreHealth— run this if SFC can't completechkdsk C: /f /r— schedules a disk check on next rebootnet user administrator /active:yes— enables the built-in admin accountcd /— switches to the root directory; for a full walkthrough, see how to change directories in CMD
If you're managing a remote Windows server, a Windows VPS gives you full administrator access to run every command in this guide on a machine built for production workloads.
🎯 Wrapping Up
Just like other apps, opening Command Prompt is not a hard task. However, knowing different ways to open and run Command Prompt in Windows may come in handy when your PC is not functioning as it should.
Fastest: Win + S → cmd → Ctrl + Shift + Enter. Best when the shell is broken: Task Manager's Run new task with the admin checkbox. Best on Windows 11: set Command Prompt as your default Terminal profile and pin an elevated shortcut. Memorise those three and you'll never be stuck.
For remote administration, RDP access lets you open Command Prompt on a remote Windows machine exactly as you would locally. If you need a broader hosting solution, a VPS server gives you the flexibility to choose Windows or Linux with full admin control.
I'm fascinated by the IT world and how the 1's and 0's work. While I venture into the world of Technology, I try to share what I know in the simplest way with you. Not a fan of coffee, a travel addict, and a self-accredited 'master chef'.