How to Access Command Prompt in Windows 11
Command Prompt in Windows 11 is a text-based tool that lets you run commands to fix PC problems and change system settings. You can open it on any Windows 11 PC in under five seconds with a keyboard shortcut or the taskbar search box . It works the same on Home and Pro, and you don’t need an administrator account just to open it.
The fastest way is to press the Win, type cmd and press Enter. You can also press Win+R together, type cmd and hit Enter. Both methods are covered step by step below, along with File Explorer and the Power User menu.
Press the Win, type cmd and press Enter to open Command Prompt on Windows 11. You can also press Win+R, type cmd and press Enter. For administrator rights, press Ctrl+Shift+Enter in the Run box or click Run as administrator in the search results. Command Prompt opens in a few seconds on Home and Pro.
Open Command Prompt via Windows Terminal
Terminal opens PowerShell (a newer scripting shell) by default, so you may land in the wrong shell. You can either open a Command Prompt tab from inside Terminal or change the default profile so Terminal always starts with Command Prompt.
- Open Windows Terminal. A window opens with a PowerShell tab.
- Click the down arrow next to the plus sign in the tab bar, then click Command Prompt. A new tab opens with the Command Prompt prompt (it starts with a drive path such as 📁C:\
Users\ >).YourName - To make this permanent, open Settings from the same arrow menu, then go to Startup.
- Set Default profile to Command Prompt, then click Save.
To undo this, set Default profile back to Windows PowerShell.
Open Command Prompt from Windows Search
Opening Command Prompt from the search bar is the quickest approach for most people. It needs no folder browsing and no memorized path, and the search results also give you a one-click option to run it as administrator.
- Open Windows Search or press the Windows key + S on your keyboard. A search box appears.
- Type
cmdin the search box. Command Prompt should appear at the top of the results as the best match. - Click the Command Prompt app to open it. A black window opens with a blinking cursor, ready for commands. For administrator rights, click Run as administrator in the right-hand pane instead, or right-click the result and choose the same option.

Open Command Prompt from the Run Box
The Run box opens Command Prompt in a couple of keystrokes if you know the command. It is handy when search is slow or not working, since it doesn't depend on the search index.
- Press the Windows key + R on your keyboard. A small Run window appears in the lower-left corner of the screen.
- Type
cmdin the box. - Press Enter or click OK. The Command Prompt window opens. If you want administrator rights, press Ctrl + Shift + Enter instead of Enter, then click Yes on the prompt that appears.

Open Command Prompt from File Explorer
You can also open Command Prompt directly from File Explorer by browsing to the system folder where the program lives. Press the Windows key + E to open File Explorer, go to C:\Windows\System32, and double-click the cmd.exe file to launch the window right away. This route is slower than search, but it works when you want to see the actual program file or create a shortcut to it.
- Open File Explorer or press the Windows key + E. The File Explorer window opens.
- Go to this folder:
C:\Windows\System32. You can paste the path into the address bar at the top and press Enter. The folder holds a very long list of files, so give it a moment to load. - Find
cmd.exeand double-click it. Command Prompt opens. To run it as administrator, right-click the file and choose Run as administrator (on Windows 11 you may need to click Show more options first, depending on your build).

Open Command Prompt using the Power User Menu
The Power User menu (also called the Quick Link menu) gives quick access to system tools. In Windows 11 it opens Windows Terminal rather than Command Prompt directly. Terminal starts with PowerShell unless you changed its default profile, so you may need to switch to a Command Prompt tab afterward, as described earlier in this article.
- Press the Windows key + X on your keyboard or right-click the Start button. A menu of system tools appears above the taskbar.
- Select Windows Terminal from the list. Depending on your Windows 11 version, the entry may be labeled Terminal. To open it with administrator rights, choose Windows Terminal (Admin) or Terminal (Admin) instead. If the menu shows PowerShell entries instead, your PC is on an older build of Windows 11, and you can use any of the other methods above.

Open Command Prompt as an Administrator
Running the app as an administrator grants these necessary privileges.
You will know you are elevated when the title bar reads Administrator: Command Prompt. Windows asks you to confirm with Yes first. On an account without admin rights, it asks for an administrator's password. If a command fails with an "Access is denied" message, close the window and reopen Command Prompt as administrator. Closing the window ends the elevated session, so nothing carries over to the next time you open it normally.
Summary
- The Command Prompt is a text-based way to control your Windows 11 PC.
- You can access it through Search, the Run box, File Explorer, or the Power User menu.
- Some tasks require Administrator privileges to run successfully.
- It is a highly useful skill to learn for troubleshooting your computer.
Opening Command Prompt in Windows 11 is easy, and there are several ways to do it depending on what you are doing. You can launch it through the Start menu search bar, the Run box, File Explorer, or the Power User menu. Many advanced troubleshooting tasks need administrator rights, so get used to the Run as administrator option as well. Search and the Run box are the fastest for everyday use, and the other two are good fallbacks if those ever fail.
Frequently asked questions
How do I open the admin terminal in 🪟 Windows 11?
Press Windows key + X, then click Terminal (Admin) to open an admin terminal. On some PCs this menu says Windows Terminal (Admin) instead. You can also search for cmd, then click Run as administrator. Windows asks for approval before the window opens, so approve only if you started this yourself.
How to repair Windows using cmd?
Open Command Prompt as administrator, then type sfc /scannow and press Enter to check system files. Next, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter to repair the Windows image. Let each scan finish, which can take a while, then restart your PC.
How to run a command on Windows?
Open Command Prompt, type the command exactly as written, and press Enter. Windows runs it right away and prints the result in the window. To run one command without opening a window first, press Windows key + R, type the command, and press Enter.
Is there a hotkey for Command Prompt?
No, Windows 11 has no built-in shortcut that opens Command Prompt directly. The quickest key route is Windows key + R, then type cmd and press Enter. For an administrator window, press Ctrl + Shift + Enter after typing cmd in the search box.
Still have a question?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
Did this guide fix your problem?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!