How to Open Command Prompt in Windows 10 & 11 [12 Methods]
Command Prompt is one of the most powerful built-in tools available in Windows 10 and Windows 11. Although the operating system now includes modern utilities like Windows Terminal and the Settings app, Command Prompt continues to play an important role in system administration, troubleshooting, file management, and advanced configuration.
Whether you are a beginner learning Windows or an experienced user managing your computer, knowing different ways to open Command Prompt can save time and make everyday tasks much easier. Some methods are perfect for quick access, while others are useful when your keyboard, Start menu, or desktop is not responding as expected. In certain situations, you may also need to launch Command Prompt as an administrator to run commands that require elevated permissions.
In this guide, you will learn every major method to open Command Prompt in Windows 10 and Windows 11.
How to Open Command Prompt in Windows 10 & 11

Method 1: Open Command Prompt Using Windows Search
The Windows Search feature is one of the easiest and fastest ways to launch Command Prompt. Since the search bar is integrated directly into Windows, you can quickly locate system tools, installed applications, files, and settings without navigating through multiple menus.
This method is ideal for everyday use because it works almost instantly and also gives you the option to run Command Prompt with administrative privileges when necessary.
To begin, click the Search box on the taskbar. In Windows 11, you can also click the Search icon if it is pinned to the taskbar. Alternatively, press the Windows key on your keyboard and start typing immediately.
Type Command Prompt or simply enter cmd into the search field. Windows will automatically display the application in the search results.
Click Command Prompt to launch it normally. A new Command Prompt window will open, allowing you to enter commands immediately.
If you need elevated permissions, look at the right side of the search results and select Run as administrator. You can also right click Command Prompt and choose Run as administrator.
When the User Account Control prompt appears, click Yes to grant administrator privileges.
Once Command Prompt opens, you can begin entering commands for managing files, checking network settings, troubleshooting Windows issues, creating directories, running scripts, or performing various administrative tasks.
One of the biggest advantages of using Windows Search is speed. Instead of browsing through folders or menus, you simply type a few letters and Windows finds the application within seconds. This makes it the preferred method for most users.
Method 2: Open Command Prompt from the Start Menu
Another reliable way to access Command Prompt is through the Start menu. Although many users prefer Windows Search, the Start menu remains a convenient option, especially if you enjoy browsing installed applications alphabetically.
Microsoft organizes built in applications inside the Windows Tools folder in Windows 11 and the Windows System folder in Windows 10. Once you know where these folders are located, opening Command Prompt becomes straightforward.
Begin by clicking the Start button on the taskbar.
In Windows 11, select All Apps to display every installed application. Scroll down until you find Windows Tools, then click it. Inside this folder, locate Command Prompt and click it to open the application.
In Windows 10, click the Start button and scroll through the list of installed applications. Open the Windows System folder and then select Command Prompt.
If you require administrator privileges, right click Command Prompt and choose More, followed by Run as administrator. Approve the User Account Control prompt by clicking Yes.
This method is particularly useful when you want to familiarize yourself with the various administrative utilities included with Windows. While opening the folder, you will also notice tools such as Control Panel, Disk Cleanup, System Information, and Windows PowerShell, all of which are commonly used for troubleshooting and system management.
Because the Start menu groups Windows utilities together, it provides an organized way to discover and access built in features without memorizing commands or keyboard shortcuts.
Method 3: Open Command Prompt Using the Run Dialog
The Run dialog has been part of Windows for many years and continues to be one of the quickest methods for launching applications, folders, utilities, and system management tools. If you prefer using keyboard shortcuts, this method can open Command Prompt in just a few seconds.
Start by pressing Windows + R on your keyboard. This shortcut instantly opens the Run dialog box.
Inside the text field, type cmd.
Click OK or press Enter.
Windows immediately launches Command Prompt, allowing you to begin entering commands.
If you need administrator privileges, press Ctrl + Shift + Enter after typing cmd instead of pressing Enter. Windows will display the User Account Control prompt. Select Yes, and Command Prompt will open with elevated permissions.
The Run dialog is especially helpful for users who frequently work with Windows administrative tools. Besides cmd, you can also launch utilities like regedit, msconfig, services.msc, diskmgmt.msc, and many others from the same interface.
Because the Run dialog requires very little navigation, experienced Windows users often consider it one of the fastest methods for accessing built in tools.
Method 4: Open Command Prompt Using the Power User Menu
The Power User Menu, sometimes called the Quick Link Menu, provides convenient access to several important Windows management tools. Although newer versions of Windows often display Windows Terminal instead of Command Prompt, you can still use this menu to reach a Command Prompt session quickly.
To open the Power User Menu, right click the Start button on the taskbar.
You can also press Windows + X on your keyboard to open the same menu instantly.
In many Windows 11 installations, you will see Terminal or Terminal (Admin) instead of Command Prompt. Select the appropriate option to launch Windows Terminal.
When Windows Terminal opens, click the small arrow located near the tab bar if Command Prompt is not already selected. Then choose Command Prompt from the available profiles.
If you selected Terminal (Admin), approve the User Account Control prompt by clicking Yes. The Command Prompt tab will then open with administrator privileges.
On some Windows 10 systems, the menu may still display Command Prompt and Command Prompt (Admin) directly. In that case, simply click the appropriate option to launch it.
Method 5: Open Command Prompt Using File Explorer
File Explorer is primarily used for browsing files and folders, but it also provides multiple ways to launch Command Prompt. This method is especially useful when you are already working inside a specific folder and want Command Prompt to open in that exact location.
Start by opening File Explorer. You can do this by clicking the folder icon on the taskbar or by pressing Windows + E on your keyboard.
Navigate to the folder where you want Command Prompt to open. Once you reach the desired location, click the address bar at the top of the File Explorer window.
Type cmd into the address bar and press Enter.
Windows immediately opens Command Prompt, and the current working directory is automatically set to the folder you were viewing. This saves time because you do not need to use the cd command to navigate to the folder manually.
Another way to launch Command Prompt from File Explorer is by navigating to the C:\Windows\System32 folder. Scroll until you find cmd.exe, then double click it to open Command Prompt.
This method is particularly helpful for developers, IT professionals, and anyone who frequently works with project folders, scripts, or batch files.
Method 6: Open Command Prompt Using Task Manager
If the Start menu, Search, or File Explorer is not working correctly, Task Manager provides another reliable way to open Command Prompt. Since Task Manager runs independently of many Windows interface components, it is often used during troubleshooting.
Begin by pressing Ctrl + Shift + Esc to open Task Manager.
If Task Manager opens in its simplified view, click More details to expand it.
Select File from the menu bar and then choose Run new task.
A new dialog box appears asking you to create a new task.
Type cmd into the text field.
Click OK to launch Command Prompt.
If you need administrator privileges, check the option labeled Create this task with administrative privileges before clicking OK.
Task Manager will immediately open Command Prompt using the selected permission level.
Method 7: Open Command Prompt Through Windows Terminal
In Windows 11, Windows Terminal is the default command line application. Instead of replacing Command Prompt, it serves as a modern interface that can host multiple command line environments, including Command Prompt, Windows PowerShell, and PowerShell.
To get started, right click the Start button and select Terminal. You can also search for Windows Terminal using Windows Search.
After Windows Terminal opens, click the small down arrow located beside the current tab.
Choose Command Prompt from the list of available profiles.
A new tab opens, running the traditional Command Prompt environment.
If you need elevated permissions, launch Terminal (Admin) instead. After approving the User Account Control prompt, open a new Command Prompt tab to work with administrative privileges.
Windows Terminal supports multiple tabs, customizable profiles, keyboard shortcuts, and modern text rendering, making it an excellent choice for users who regularly switch between different command line environments.
Method 8: Open Command Prompt Using a Desktop Shortcut
If you use Command Prompt frequently, creating a desktop shortcut can save time by allowing you to launch it with a single click.
Right click an empty area of your desktop.
Select New, then choose Shortcut.
When the shortcut wizard appears, enter the following path:
C:\Windows\System32\cmd.exe
Click Next.
Enter a name such as Command Prompt and click Finish.
The shortcut now appears on your desktop.
Double click the shortcut whenever you want to open Command Prompt.
If you always want it to launch with administrator privileges, right click the shortcut and choose Properties. Open the Shortcut tab, click Advanced, enable Run as administrator, and then click OK followed by Apply.
Method 9: Open Command Prompt by Running CMD.exe Directly
Since Command Prompt is simply an executable program named cmd.exe, you can launch it directly from its installation folder.
Open File Explorer and navigate to:
C:\Windows\System32
Locate cmd.exe.
Double click the file to launch Command Prompt.
You can also right click cmd.exe and choose Run as administrator whenever elevated permissions are required.
This method is particularly useful if shortcuts or Start menu entries become corrupted because it opens the original executable file directly from the Windows system directory.
Method 10: Open Command Prompt Using a Batch File
A batch file can automatically launch Command Prompt and even execute specific commands. This method is useful for repetitive administrative tasks.
Open Notepad.
Enter the following command:
cmd
Save the file with the .bat extension instead of .txt.
Double click the batch file whenever you want to launch Command Prompt.
You can also include additional commands before or after the cmd command to automate maintenance tasks, run scripts, or open Command Prompt in a specific folder.
Batch files are commonly used by IT administrators and advanced users to simplify repetitive workflows.
Method 11: Open Command Prompt from Windows Recovery Environment
If Windows does not start properly, you can still access Command Prompt through the Windows Recovery Environment.
Power on your computer.
If Windows repeatedly fails to boot, it automatically enters the recovery environment. You can also boot from Windows installation media and select Repair your computer.
Choose Troubleshoot.
Select Advanced options.
Click Command Prompt.
Windows opens Command Prompt, allowing you to run repair commands such as SFC, DISM, Bootrec, or other troubleshooting utilities.
This method is invaluable when repairing boot problems, restoring startup files, or diagnosing system issues that prevent Windows from loading normally.
Method 12: Open Command Prompt in Safe Mode
Safe Mode starts Windows with only essential drivers and services, making it easier to troubleshoot software conflicts and startup issues.
Open Settings and navigate to the recovery options.
Restart your computer into the Advanced Startup menu.
Choose Troubleshoot, followed by Advanced options.
Open Startup Settings and restart your computer.
Select the appropriate Safe Mode option.
Once Windows starts in Safe Mode, use Windows Search, the Run dialog, or Task Manager to launch Command Prompt.
You can also choose Safe Mode with Command Prompt, which opens directly to a Command Prompt window after signing in.
Safe Mode with Command Prompt is particularly useful when the normal Windows desktop is unavailable or when graphical tools cannot be used to resolve system issues.
Tips for Opening Command Prompt as Administrator
Many Windows commands require administrator privileges to make changes to system settings, repair Windows components, manage user accounts, or modify protected files. If you receive an Access is denied message while running a command, the most common solution is to reopen Command Prompt with elevated permissions.
The easiest way to do this is through Windows Search by searching for Command Prompt and selecting Run as administrator. You can also press Ctrl + Shift + Enter after typing cmd in the Run dialog or enable Run as administrator for a desktop shortcut through its properties.
Whenever User Account Control appears, click Yes to grant the required permissions. Running Command Prompt as an administrator ensures you have full access to Windows administrative commands whenever they are needed.
