How to open Command Prompt in Windows 10

June 2024 ยท 4 minute read
2021-07-07T22:01:40Z

If you've ever done any sort of coding, you're familiar with the Command Prompt. The Command Prompt is an app installed on all Windows computers that lets you manage the computer using text commands.

But unlike other apps, the Command Prompt isn't always easy to find. Here's how to open  Command Prompt on your PC, no matter which version of Windows 10 you have.

How to open Command Prompt in Windows 10

There are three main ways to access Command Prompt. Using the Power User Menu shortcut is the fastest method for most people. 

Power User Menu
This list of options is called the Power Users Menu. William Antonelli/Insider

The quickest way to open a Command Prompt window is through the Power User Menu, which you can access by right-clicking the Windows icon in the bottom-left corner of your screen, or with the keyboard shortcut Windows Key + X.

It'll appear in the menu twice: Command Prompt and Command Prompt (Admin). The second option will open an "elevated" Command Prompt, which gives you administrator privileges, which are required for some commands. In nearly all cases, it's better to use the elevated Command Prompt โ€” it can do everything that the normal Command Prompt can and more.

Note: In newer versions of Windows, Command Prompt has been replaced with Windows PowerShell. If you still want access to Command Prompt, check out our step-by-step instructions below.

Windows Search

Command Prompt will appear in the results right away. William Antonelli/Insider

You can also simply search for Command Prompt using Windows' normal search feature. Click the Start button and type in Command Prompt, and then select it from the list when it appears.

If you right-click Command Prompt and select Run as administrator or click it in the results, you'll open an elevated Command Prompt.

Quick tip: The Command Prompt is sometimes referred to as "cmd prompt," or simply "cmd." When searching for Command Prompt, you can also just search for "cmd."

Start Menu

You'll find Command Prompt in the Windows System folder. William Antonelli/Insider

You can also open Command Prompt by navigating through the Start menu. 

To open Command Prompt through the Start menu, click the Windows icon and then scroll down to find the Windows System folder. Open the folder and click or right-click Command Prompt to open it.

How to switch from PowerShell to Command Prompt

Windows PowerShell is a newer program that's similar to Command Prompt. And in some versions of Windows 10, it replaces Command Prompt in the menus you'd usually use to open it.

There's nothing wrong with PowerShell โ€” it can do pretty much anything that the Command Prompt can do โ€” but if you're used to using Command Prompt, it's easy to switch back.

1. Press the Windows Key + I to open the Settings app, and then select Personalization.

Open the Personalization section of the Settings app. William Antonelli/Insider

2. Click the Taskbar option in the left sidebar.

3. On the page that appears, head down to the Replace Command Prompt with Windows PowerShell option and click its slider so it turns Off.

Turn off the PowerShell option. William Antonelli/Insider
spanWilliam Antonelli (he/she/they) is a writer, editor, and organizer based in New York City. As a founding member of the Reference team, he helped grow Tech Reference (now part of Insider Reviews) from humble beginnings into a juggernaut that attracts over 20 million visits a month./span spanOutside of Insider, his writing has appeared in publications like Polygon, The Outline, Kotaku, and more. He's also a go-to source for tech analysis on channels like Newsy, Cheddar, and NewsNation./span spanYou can find him on Twitter a href="https://twitter.com/DubsRewatcher"@DubsRewatcher/a, or reach him by email at a href="mailto:wantonelli@businessinsider.com"wantonelli@businessinsider.com/a./span Tech Reporter for Insider Reviews William Antonelli (he/she/they) is a writer, editor, and organizer based in New York City. As a founding member of the Reference team, he helped grow Tech Reference (now part of Insider Reviews) from humble beginnings into a juggernaut that attracts over 20 million visits a month. Outside of Insider, his writing has appeared in publications like Polygon, The Outline, Kotaku, and more. He's also a go-to source for tech analysis on channels like Newsy, Cheddar, and NewsNation. You can find him on Twitter @DubsRewatcher, or reach him by email at wantonelli@businessinsider.com. Read more Read less

ncG1vNJzZmivp6x7o8HSoqWeq6Oeu7S1w56pZ5ufonyowcidnKxnpJqwqXvHqK5mrJ9ivLGxzWaaqKWdlrulec%2BrpqaopA%3D%3D