Windows Guide · 2026

How to Open Command Prompt in
Windows 10 & Windows 11

A complete beginner-friendly guide to launching CMD normally, as administrator, from a folder, through Windows Terminal, and from recovery tools when Windows will not boot.

⊞ Windows 10 ⊞ Windows 11 ⚡ 10 Methods 🕐 6 min read 🔧 Built-in Tools Only

What Is Command Prompt in Windows 10 and Windows 11?

Command Prompt, often called CMD, is a built-in Windows command-line tool used to run text commands. It can open folders, check network settings, repair system files, manage disks, troubleshoot startup problems, and automate many administrative tasks.

The executable file behind Command Prompt is cmd.exe. You can launch it from Search, Run, File Explorer, Task Manager, Windows Terminal, or the Windows Recovery Environment. Some commands work in a normal window, while others require an elevated window with administrator privileges.

Important: Command Prompt is still available in both Windows 10 and Windows 11. Windows Terminal and PowerShell may appear more prominently in newer versions, but they do not remove CMD. You can still open a classic Command Prompt whenever you need it.

How to Open Command Prompt Using the Run Dialog

The Run dialog is one of the fastest ways to launch CMD and works in both Windows 10 and Windows 11.

  1. Press Win+R.
  2. Type cmd.
  3. Press Enter or click OK.

To open an elevated Command Prompt from the Run dialog, type cmd and press Ctrl+Shift+Enter. Then confirm the UAC prompt.

How to Launch Command Prompt from the Start Menu App List

Command Prompt is also available from the Windows Tools or Windows System folder, depending on your version and Start menu layout.

Windows 10

  1. Open the Start menu.
  2. Scroll down to Windows System.
  3. Expand the folder.
  4. Click Command Prompt.

Windows 11

  1. Open Start.
  2. Click All apps.
  3. Open Windows Tools.
  4. Double-click Command Prompt.

How to Open Command Prompt from the Win+X Power User Menu

The Win+X menu is a quick-access menu for administrative tools. On many Windows 10 and Windows 11 installations, this menu shows Windows Terminal or PowerShell instead of Command Prompt. However, you can still use it to reach a command-line environment quickly.

  1. Right-click the Start button or press Win+X.
  2. Choose Terminal, Windows Terminal, or Windows PowerShell.
  3. If Windows Terminal opens, use the drop-down arrow and choose Command Prompt.

If you need elevated access, choose Terminal (Admin) or Windows PowerShell (Admin), then open a Command Prompt tab inside Terminal.

How to Open Command Prompt in Windows Terminal

Windows Terminal is the modern command-line host in Windows 11 and recent Windows 10 builds. It can run PowerShell, Command Prompt, Azure Cloud Shell, and other shells in tabs.

  1. Open Start.
  2. Type Windows Terminal or Terminal.
  3. Open the app.
  4. Click the small arrow next to the new tab button.
  5. Select Command Prompt.

You can make Command Prompt the default profile in Terminal by opening Settings inside Windows Terminal and changing Default profile to Command Prompt.

How to Open Command Prompt in the Current Folder from File Explorer

This method is useful when you want CMD to start directly in a specific folder, such as a project folder, driver folder, backup folder, or directory containing scripts.

  1. Open File Explorer.
  2. Navigate to the folder where you want to run commands.
  3. Click the address bar at the top of File Explorer.
  4. Type cmd.
  5. Press Enter.

Command Prompt will open with that folder already selected. For example, if you are in C:\Drivers, CMD will open at C:\Drivers>.

How to Start Command Prompt from File Explorer Manually

You can launch Command Prompt directly by opening its executable file.

  1. Open File Explorer.
  2. Go to this folder:
C:\Windows\System32
  1. Find cmd.exe.
  2. Double-click it to open a normal Command Prompt.
  3. Right-click it and select Run as administrator if you need elevated permissions.

You can also create a desktop shortcut to cmd.exe if you use it often.

How to Open Command Prompt from Task Manager

Task Manager is useful when the desktop, Start menu, or File Explorer is not responding correctly.

  1. Press Ctrl+Shift+Esc to open Task Manager.
  2. Click Run new task. In older layouts, open FileRun new task.
  3. Type cmd.
  4. Click OK.

To open an elevated window, enable Create this task with administrative privileges before clicking OK.

How to Open Command Prompt from Windows Recovery Mode

If Windows does not start normally, you can open Command Prompt from the Windows Recovery Environment. This is often used for boot repair, offline registry edits, disk checks, and system recovery commands.

  1. Open Settings.
  2. Go to SystemRecovery in Windows 11, or Update & SecurityRecovery in Windows 10.
  3. Under Advanced startup, click Restart now.
  4. After the blue recovery screen appears, select Troubleshoot.
  5. Open Advanced options.
  6. Select Command Prompt.
  7. Choose your account and enter the password if requested.

You can also reach recovery mode from the sign-in screen by holding Shift while clicking PowerRestart.

Administrator Command Prompt vs Standard Command Prompt: What Is the Difference?

A standard Command Prompt runs with the permissions of your current user account. It is suitable for viewing information, navigating folders, checking network settings, and running basic commands.

An administrator Command Prompt runs with elevated privileges. It can modify protected system areas, repair Windows files, change boot configuration, manage services, alter network settings, and perform disk operations.

Task Standard CMD Administrator CMD
Check IP address with ipconfig Yes Yes
Run ping or tracert Yes Yes
Repair system files with sfc /scannow No Yes
Use DISM /Online /Cleanup-Image No Yes
Change boot settings with bcdedit No Yes
Flush DNS cache with ipconfig /flushdns Usually no Yes

Useful Command Prompt Commands for Beginners

After opening CMD, you can try these safe commands to learn how the tool works.

Command What It Does
dir Shows files and folders in the current directory.
cd Shows the current folder or changes to another folder.
cls Clears the Command Prompt window.
ipconfig Displays network adapter and IP address information.
ping example.com Tests network connectivity to a domain or IP address.
systeminfo Shows detailed Windows and hardware information.
ver Displays the installed Windows version number.
Tip: To close Command Prompt, type exit and press Enter, or click the close button in the top-right corner of the window.

What to Do If Command Prompt Does Not Open

If CMD does not launch, closes immediately, or shows an error, try these fixes.

1. Try a Different Launch Method

If Search does not work, use Win+R and type cmd. If the Run dialog does not work, open Task Manager and use Run new task.

2. Open CMD Directly from System32

Go to C:\Windows\System32 and run cmd.exe. If this works, the issue may be related to Search, shortcuts, or Windows Terminal settings rather than Command Prompt itself.

3. Check for a Disabled Command Prompt Policy

On some work, school, or managed PCs, Command Prompt can be disabled by policy. In that case, you may see a message saying that Command Prompt has been disabled by your administrator. Contact the device administrator if the computer is managed by an organization.

4. Run System File Checker from an Elevated Terminal

If you can open an administrator terminal or PowerShell window, run:

sfc /scannow

If Windows component files are damaged, follow with:

DISM /Online /Cleanup-Image /RestoreHealth

5. Scan for Malware

Malware can block administrative tools, including Command Prompt, Registry Editor, Task Manager, or Windows Security. Run a full scan with Windows Security or another trusted antivirus tool if CMD behavior looks suspicious.

Frequently Asked Questions About Opening Command Prompt

What is the fastest way to open Command Prompt?

Press Win+R, type cmd, and press Enter. For administrator mode, press Ctrl+Shift+Enter instead of only Enter.

How do I know if Command Prompt is running as administrator?

Look at the title bar. An elevated window usually says Administrator: Command Prompt. If the title only says Command Prompt, it is probably running without elevation.

Is Command Prompt the same as PowerShell?

No. Command Prompt uses the classic cmd.exe command interpreter, while PowerShell is a more advanced shell and scripting language. Some commands work in both, but they are not identical.

Is Command Prompt the same as Windows Terminal?

No. Windows Terminal is a host application that can open different shells in tabs. Command Prompt is one of the shells you can run inside Windows Terminal.

Can I open Command Prompt in a specific folder?

Yes. Open the folder in File Explorer, click the address bar, type cmd, and press Enter. CMD will start directly in that folder.

Why does Windows 11 show Terminal instead of Command Prompt?

Windows 11 promotes Windows Terminal as the modern command-line experience. You can still open Command Prompt as a separate profile inside Terminal or by running cmd.exe directly.

Best Way to Open Command Prompt in Windows 10 and Windows 11

The best method depends on what you are doing. For everyday use, Start Search and the Run dialog are the fastest options. For commands that change system settings, use Run as administrator. For folder-specific work, open File Explorer, click the address bar, type cmd, and press Enter.

🎯 Quick Decision Guide

Fastest normal launch: Win+RcmdEnter
Fastest admin launch: Win+RcmdCtrl+Shift+Enter
Best beginner method: Start → search for Command Prompt
Best folder method: File Explorer address bar → cmd
Best recovery method: Advanced startup → Troubleshoot → Advanced options → Command Prompt

For most users, learning both cmd from the Run dialog and Run as administrator from Search is enough to handle nearly every Command Prompt task in Windows 10 and Windows 11.