How to Open Command Prompt in Windows 11 & 10 (All the Ways)
How do you open Command Prompt in Windows 11? Fastest way, works on every Windows made this century: press Win + R, type cmd, press Enter. Done — and if that’s all you came for, godspeed. But stay for the two things most guides miss. First, Command Prompt didn’t disappear in Windows 11 — it moved house. It now opens inside Windows Terminal, the tabbed app that hosts cmd, PowerShell, and Linux side by side, which is why your black window suddenly has tabs and why half the internet thinks cmd was "removed." It wasn’t. Second, the genuinely underused trick: type cmd into File Explorer’s address bar, and a Command Prompt opens already sitting in that exact folder — no cd, no path-typing, the single biggest quality-of-life shortcut in this whole topic. This guide collects every way in — the everyday ones, the at-this-folder ones, the it’s-broken ones, and the before-Windows-even-starts ones that save machines.
Jake watched a customer navigate to a folder eleven levels deep — click, click, click — then open Command Prompt from the Start menu and type the entire path by hand into a cd command, checking it letter by letter against the address bar. Four minutes. When Jake showed him the address-bar trick — click the bar, type cmd, Enter, and the prompt opens already standing in that folder — the man looked genuinely betrayed. "How long has that worked?" Since Windows Vista, roughly. Two decades of guides teaching the four-minute road while the four-second door sat unlabeled in the same window. Jake’s notebook line: "Nobody hides the shortcut. Nobody mentions it either."
Ethan: "Command Prompt in Windows 11 is a shop that moved into a mall. Same shop, same counter, same staff — but now the sign outside says Windows Terminal, and there are other shops under the same roof. People walk past, don’t see the old standalone building, and announce the shop closed down. It didn’t close. It has better parking now. Walk into the mall; your shop’s the second door on the dropdown."
Every way to open Command Prompt, ranked by speed
| Method | Keys / clicks | Best for |
|---|---|---|
| Run box | Win + R → cmd → Enter | Everything — works even when search is broken |
| Search | Win → type "cmd" → Enter | Habit; right-click here for admin |
| Explorer address bar | Type cmd in any folder’s address bar | Opening at that folder — the underrated one |
| Windows Terminal | Right-click Start → Terminal → ⌄ tab → Command Prompt | Windows 11 daily driving, tabs included |
| Folder context menu | Shift + right-click in a folder → "Open PowerShell/Terminal window here" | Mouse-first people; lands at the folder |
| Task Manager | Ctrl+Shift+Esc → Run new task → cmd | When Explorer itself has crashed — the lifeboat |
| Direct file | C:\Windows\System32\cmd.exe | Proof it’s just a program; shortcuts point here |
Notice what the table quietly teaches: cmd is reachable even when half of Windows isn’t. Search broken? The Run box doesn’t care. Explorer crashed? Task Manager’s "Run new task" is a side door that has saved more stuck sessions than any repair tool. That resilience is not an accident — the command line is the tool Windows expects you to still have when the pretty layers fail, which is exactly why the recovery section below exists.
Windows 11 and the Terminal move — where cmd lives now
In Windows 11, all command-line tools open inside Windows Terminal by default — one window, tabs, and a dropdown (the ⌄ next to the + tab) offering Command Prompt, PowerShell, and any Linux distributions you’ve installed. Typing cmd anywhere still lands you in a genuine Command Prompt; it just arrives wearing Terminal’s window instead of the bare black one. Two adjustments make it feel like home: Ctrl + Shift + 2 opens a Command Prompt tab directly (the dropdown lists each shell’s number), and if you want cmd every time, open Terminal’s Settings → Startup → Default profile → Command Prompt — from then on, every door in the table above opens straight into cmd. And to settle the recurring rumor honestly: Microsoft has retired plenty of old tooling — WMIC most recently, with real breakage — but cmd itself remains fully supported. The shop moved into the mall; it did not close.
Opening cmd at a specific folder (stop typing cd)
- In File Explorer, navigate to the folder where you want the prompt to start.
- Click once in the address bar (or press Ctrl + L / Alt + D).
- Type
cmdand press Enter. A Command Prompt opens with that folder as its working directory — whatever you were about tocdto, you’re already there.
The same trick accepts powershell and wt (Windows Terminal), and the reverse exists too: inside a prompt, start . opens File Explorer at the prompt’s current folder. Between those two, the eleven-levels-deep path from Jake’s story never gets typed by a human again — which is the whole dignity of shortcuts.
Need it as administrator? One paragraph, one link
Half of "how do I open cmd" searches are secretly "a guide told me to run something as admin." The quick version: search cmd, right-click the result, Run as administrator — or right-click Start and pick Terminal (Admin) on Windows 11. The elevated window can change system settings, which is both the point and the reason Windows asks twice. Everything deeper — every elevation route, the UAC prompts, what breaks when you skip it — lives in our dedicated run-CMD-as-administrator guide, which stays the reference for that whole territory; this page’s job is getting the door open, that one’s is getting it open with keys.
The doors that open before Windows does: Setup and recovery
People specifically search "can’t open command prompt in Windows 11 setup" — because the trick is real and the key combo is unlabeled: during Windows Setup, press Shift + F10 and a full Command Prompt opens on top of the installer (on some laptops, add the Fn key). It’s how technicians partition disks mid-install and how half the internet bypassed Windows 11’s account requirements at one time or another — cmd exists before Windows does. The civilian version lives in recovery mode: Settings → System → Recovery → Advanced startup (or hold Shift while clicking Restart), then Troubleshoot → Advanced options → Command Prompt — a prompt that runs outside your broken Windows, where repair commands operate on the patient instead of from inside it. And the honest answer to "can I open cmd from the login screen?": not by design — but a famous accessibility-tool swap makes it possible on unencrypted machines, which is precisely the technique our forgotten-password guide documents, along with its flip side: if that door worries you, BitLocker is the lock. (And no — there is no cmd "from BIOS"; firmware predates Windows entirely. What people mean by that search is the recovery prompt above.)
The recovery prompt, as a checklist for the day you need it calm and numbered:
- Hold Shift and click Restart from the Start menu’s power button (works from the login screen’s power button too).
- When the blue menu appears: Troubleshoot → Advanced options → Command Prompt.
- The machine reboots into a prompt running outside your installed Windows — you may be asked for your BitLocker recovery key, which is the lock doing its job.
- When finished,
exitand choose Continue to boot normally.
When Command Prompt won’t open — or opens by itself
| Symptom | Likely cause | Fix |
|---|---|---|
| Search can’t find cmd | Search indexing wobble, not cmd | Win + R → cmd — the Run box never depends on search |
| Window flashes open and closes | You ran a script that finished instantly — or a scheduled task did | Open cmd first, run the script inside it so output stays visible |
| A cmd window pops up on startup, uninvited | A startup entry or scheduled task running a script — occasionally malware | Task Manager → Startup apps; then Task Scheduler’s recent tasks; scan if unrecognized |
| "The command prompt has been disabled by your administrator" | Group Policy restriction — common on work and school machines | That’s a policy, not a fault — ask IT; don’t "fix" it around them |
| Opens, but every command says "not recognized" | PATH damage — or the tool genuinely left (WMIC did) | Check our WMIC-not-recognized guide for the pattern and the PATH repair |
cmd, PowerShell, Terminal — sixty seconds of who’s who
Three names, three jobs. Command Prompt (cmd) is the classic shell — small vocabulary, forty years of guides written for it, the right tool when a tutorial says "open cmd and type this." PowerShell is the modern shell — vastly more capable, different command grammar, what admins automate with; a cmd command pasted into PowerShell usually works, and when it doesn’t, that mismatch is the cause of a thousand confused forum posts. Windows Terminal is not a shell at all — it’s the window that hosts the other two (and Linux), the mall around the shops. The practical rule that ends most confusion: follow whichever shell your guide names. A cmd guide followed in cmd always works; improvising the translation is where evenings go to die.
For IT admins: the disable policy, used honestly
The policy behind that "disabled by your administrator" message is Prevent access to the command prompt (User Configuration → Administrative Templates → System), with a companion choice about whether batch files still run — and that companion is where fleets shoot themselves: blocking script processing too silently breaks logon scripts and installers that lean on cmd /c. The honest guidance: the policy stops casual use, not attackers — anyone who can run arbitrary programs has a dozen equivalent doors, so treat it as a tidiness control for kiosk and exam machines, not a security boundary. Pair it with AppLocker or WDAC when the goal is actual control, log what you block, and remember Shift + F10 during OS deployment answers to a different master entirely — disable it in your unattend configuration if your imaging bench needs that door closed.
FAQ — opening Command Prompt, answered straight
How do I open Command Prompt in Windows 11?
Win + R → type cmd → Enter. It opens inside Windows Terminal, which is normal — same Command Prompt, newer window. Six more doors in the table above.
How do I open Command Prompt in Windows 10?
Identically: Win + R → cmd, or search "cmd" from the Start menu. Windows 10 opens it in the classic standalone window rather than Terminal.
What keys open Command Prompt?
No single global hotkey exists — the two-step Win + R then cmd is the closest thing, and Ctrl + Shift + 2 opens a cmd tab inside an open Windows Terminal.
How do I quickly open Command Prompt in a specific folder?
Type cmd into that folder’s File Explorer address bar and press Enter — the prompt opens already there. Works since Vista; criminally under-taught.
Why can’t I open Command Prompt in Windows 11?
If search can’t find it, use Win + R — search and cmd fail independently. If you get the "disabled by your administrator" message, that’s policy on a managed machine — talk to IT. Failure-mode table above for the rest.
How do I open Command Prompt during Windows 11 Setup?
Shift + F10 (some laptops: Fn + Shift + F10) at any point in the installer. A full prompt opens over Setup — the technician’s door, unlabeled but official.
Can I open Command Prompt from the login screen?
Not by design. The known accessibility-swap technique makes it possible on unencrypted machines — documented honestly, with defenses, in our forgotten-password guide. If that possibility concerns you, BitLocker closes it.
Can I open Command Prompt from BIOS?
No — BIOS/UEFI firmware runs before Windows exists, and cmd is a Windows program. What that search usually wants is the recovery-mode prompt: Advanced startup → Troubleshoot → Advanced options → Command Prompt.
How do I open Command Prompt as administrator?
Search "cmd" → right-click → Run as administrator, or right-click Start → Terminal (Admin) on Windows 11. Our dedicated elevation guide covers every route and every prompt you’ll meet.
Why does a Command Prompt window open by itself on startup?
Something scheduled it: check Task Manager’s Startup apps, then Task Scheduler for tasks that run at logon. Legitimate updaters do this clumsily; malware does it too — if the entry is unrecognizable, scan before deleting.
Why does my Command Prompt flash open and instantly close?
You launched a script or tool that ran and exited — the window lived exactly as long as the job. Open cmd first, then run the thing inside it, and the output holds still for reading.
Is Command Prompt the same as PowerShell?
No — different shells with different grammars sharing a window these days. Follow whichever one your guide names; translating between them mid-tutorial is where errors breed.
Was Command Prompt removed from Windows 11?
No — it moved inside Windows Terminal and remains fully supported. Retired-tool stories you half-remember are about other utilities, WMIC being the recent one with real fallout.
How do I make Command Prompt the default in Windows Terminal?
Terminal → Settings → Startup → Default profile → Command Prompt. Every door in this guide then opens straight into cmd.
How do I open a folder in Explorer from inside cmd?
start . — the reverse of the address-bar trick. The dot means "here."
Which commands should a beginner try first?
Safe and instantly useful: dir /a (list everything, hidden files included), ipconfig (your network at a glance), ping a website (is it me or the internet?), and cls when the screen gets crowded. None of them can hurt anything.
Where to go next
- Run CMD as administrator in Windows 11 and 10
The elevation guide — when the door needs keys, not just opening. - Show hidden files in Windows, every way
The first real job most people bring to their new prompt. - "WMIC is not recognized" — what left and what to use now
The tool that actually got removed, and the replacements. - Reset a forgotten Windows password
Where the login-screen question gets its full, honest answer.
Revision note. This page dates to September 2015 — among the oldest on this site — when "open cmd in Windows 10" was a brand-new question about a brand-new Windows; we were here when that was true. Since then the prompt moved into Windows Terminal, the address-bar trick stayed criminally unknown, and the Setup and recovery doors became the answers people actually search for. This August 2026 rewrite covers the whole map, Windows 11 and 10 both. If a future Windows moves the furniture again, tell us through the contact page and we’ll bring the page back to true. And if you just learned the address-bar trick after years of typing cd paths letter by letter: the betrayal Jake’s customer felt is universal, it wears off in about a day, and the four minutes you get back every week are yours to keep.