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.
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.
This is the easiest method for most users because it does not require memorizing any command.
A standard Command Prompt window will open. This mode is enough for simple commands such as ipconfig, ping, dir, cd, and systeminfo.
Many repair and configuration commands require elevated permissions. For example, sfc /scannow, DISM, chkdsk repairs, bcdedit, and some networking commands need administrator rights.
You can confirm that the window is elevated by checking the title bar. It should say Administrator: Command Prompt.
The Run dialog is one of the fastest ways to launch CMD and works in both Windows 10 and Windows 11.
cmd.To open an elevated Command Prompt from the Run dialog, type cmd and press Ctrl+Shift+Enter. Then confirm the UAC prompt.
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.
If you need elevated access, choose Terminal (Admin) or Windows PowerShell (Admin), then open a Command Prompt tab inside 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.
You can make Command Prompt the default profile in Terminal by opening Settings inside Windows Terminal and changing Default profile to Command Prompt.
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.
cmd.Command Prompt will open with that folder already selected. For example, if you are in C:\Drivers, CMD will open at C:\Drivers>.
Task Manager is useful when the desktop, Start menu, or File Explorer is not responding correctly.
cmd.To open an elevated window, enable Create this task with administrative privileges before clicking OK.
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.
You can also reach recovery mode from the sign-in screen by holding Shift while clicking Power → Restart.
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 |
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. |
exit and press Enter, or click the close button in the top-right corner of the window.
If CMD does not launch, closes immediately, or shows an error, try these fixes.
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.
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.
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.
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
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.
Press Win+R, type cmd, and press Enter. For administrator mode, press Ctrl+Shift+Enter instead of only Enter.
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.
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.
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.
Yes. Open the folder in File Explorer, click the address bar, type cmd, and press Enter. CMD will start directly in that folder.
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.
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.
Fastest normal launch: Win+R → cmd → Enter
Fastest admin launch: Win+R → cmd → Ctrl+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.