If Command Prompt won’t open, match the symptom first: if nothing appears, fix the shortcut or App Execution Alias; if PowerShell opens instead, restore the cmd path; if admin fails, repair permissions or policy. I do this in that order because the wrong symptom sends you down the wrong fix path, and that burns time fast. This guide maps each failure pattern to the fastest fix on Windows 10 and 11.

Why Command Prompt won’t open

Why Command Prompt won’t open

What the symptom usually means

Command Prompt is the Windows command-line shell, and it opens when you type cmd. When it fails, cmd.exe is often fine. The break can sit in search, the Start menu, the Power User menu, elevation, or a policy that blocks the shell.

How to tell a UI problem from a system problem

If cmd opens from Run but not from Start search, the issue is usually the search or menu entry. If it opens only as administrator, you are dealing with elevation or permissions. If every path fails, move past shortcuts and inspect policy, corruption, or profile-level restrictions.

Fast check before you start fixing

First, press Win + R, enter cmd, then press Enter. That single test tells you whether cmd.exe works at all. If it opens there, the launch problem is probably limited to Start, search, or the Power User menu. (wikihow.com)

According to How to Open the Command Prompt in Windows 8, 10, and 11 - wikiHow — Windows 10 Settings can toggle replacing Command Prompt with Windows PowerShell. (source)

Likely causes, ranked

The most common cause is a broken entry point: Start search, the taskbar search result, or the Power User menu points somewhere bad. Less often, Windows PowerShell has replaced Command Prompt in the menu. After that come elevation problems, then policy or system corruption.

Broken shortcut, search, or menu entry

This is the first thing I check when Command Prompt opens from one place but not another. Search can fail while cmd.exe still works. The fix is to launch it from another path and then repair the broken entry point later.

PowerShell replacement in the Power User menu

On Windows 10, the Power User menu may let you swap Command Prompt for Windows PowerShell. PowerShell is similar to Command Prompt, but it is not the same tool. On Windows 11, the menu behavior is different enough that you should confirm what is actually missing before changing settings.

Permission or elevation failure

Some devices require administrator access for Command Prompt. If the normal launch fails but Run as administrator works, the shell is there and the problem is permissions. Restricted devices often block normal access paths while leaving elevated launch available.

Policy, corruption, or shell restriction

If nothing opens from any path, the issue can be a policy block, a damaged profile, or shell corruption. At that point, quick launch fixes stop helping. You need a different account, a repair command, or a broader recovery step.

Which symptom are you seeing?

Which symptom are you seeing?

Use the symptom that matches what happens after you try to open cmd.exe. Then follow the first fix in the matrix below. The point is to avoid random clicking and go straight to the path that fits the failure pattern.

Symptom Most likely cause First fix
No response when you click cmd Broken shortcut, search result, or App Execution Alias Press Win + R, enter cmd, press Enter
Command Prompt flashes and closes Shell launch is starting, then failing immediately Try Run again, then open it as administrator from Start search
It opens from Run but not Start search Start menu or taskbar search entry is broken Use Start search for cmd, then pin or relaunch from the result
It opens only with administrator rights Elevation or permission block Use Run as administrator from the Start search result
The Power User menu is missing or shows PowerShell instead Windows 10 menu setting changed or Windows 11 menu differs Check Settings > Personalization > Taskbar on Windows 10
Start search fails Search indexing or Start menu entry issue Use Win + R, then cmd, then test a second launch path

How do you open Command Prompt from Run?

Open Run with Win + R, type cmd, and press Enter. That launches cmd.exe directly. If you need an elevated shell, use the same result from Start search and choose Run as administrator, because Run itself does not always give you the elevated prompt you need.

  1. Press Win + R to open the Run dialog.
  2. Type cmd.
  3. Press Enter or click OK.
  4. If the window opens, test a command such as dir.
  5. If you need admin rights, open Start search, type cmd, then choose Run as administrator.

Why it opens only from Run or only as administrator

That pattern usually means elevation is the missing step, or the Start entry is broken while cmd.exe still works. If Run launches Command Prompt, the shell itself is not the main problem. The launch path or permission model is.

  1. Use Start menu search and type cmd or command prompt.
  2. Right-click the result and choose Run as administrator.
  3. If that works, keep using the elevated launch for repairs and scripts.
  4. If it fails, test a second Windows account to separate account policy from system policy.

If that didn’t work, try this next

Open Command Prompt from Task Manager: press Ctrl + Shift + Esc, choose File > Run new task, type cmd, and confirm the option to create the task with administrator privileges if needed. If that path fails too, move to policy and repair steps rather than retrying the same launch route.

How do you get Command Prompt back in the Power User menu?

On Windows 10, the Power User menu can be switched to PowerShell instead of Command Prompt. On Windows 11, the menu layout and defaults are different, so first confirm whether cmd is actually missing or whether you are just seeing a different shell. PowerShell is similar to Command Prompt, but not the same.

  1. On Windows 10, open Settings > Personalization > Taskbar.
  2. Find the setting that replaces Command Prompt with Windows PowerShell.
  3. Turn that toggle off if you want Command Prompt in the Power User menu.
  4. Press Win + X or right-click the Windows icon in the taskbar to check the menu again.
  5. On Windows 11, confirm the menu behavior before changing anything else.

What if it still will not open?

If every launch path fails, stop focusing on shortcuts and check for a broader Windows problem. The next step is to try another shell path from Task Manager or File Explorer, then move to repair commands or a second user profile if needed. At that point, policy or corruption is more likely than a bad menu item.

  1. Open Task Manager with Ctrl + Shift + Esc.
  2. Choose File > Run new task.
  3. Type cmd and try the launch again.
  4. If that fails, open File Explorer, click the address bar, type cmd, and test that path.
  5. If those paths do not work, try sfc /scannow, then DISM /Online /Cleanup-Image /RestoreHealth.

If that didn’t work, try this next

Use Safe Mode or a clean boot to see whether a third-party shell tool, policy tool, or startup item is blocking cmd.exe. If the problem still happens in Safe Mode, the next step may be a repair install or Reset This PC. If it only fails in one account, the user profile is a likely suspect.

Prevention

Keep at least one working path to Command Prompt saved in memory: Win + R for a direct launch and Start search for an elevated launch. That makes it easier to separate a broken shortcut from a blocked shell the next time it fails.

Frequently asked questions

why cmd is not opening

Start with Win + R, type cmd, and press Enter. If that works, the shell is fine and the problem sits in Start search, the Power User menu, or permissions. If that fails too, move to Task Manager and test File > Run new task.

what to do if cmd is not opening

Try the Run dialog first, then Start search with Run as administrator. If neither works, open Task Manager, choose File > Run new task, and type cmd. That sequence separates a broken shortcut from a system-level block fast.

how do I open Command Prompt as administrator

Use Start menu search, type cmd or command prompt, right-click the result, and select Run as administrator. On restricted devices, that elevated path may be the only one that works. If the option is missing, check policy or account permissions.

how do I get Command Prompt back in the Power User menu

On Windows 10, go to Settings > Personalization > Taskbar and turn off the setting that replaces Command Prompt with Windows PowerShell. Then press Win + X or right-click the Windows icon in the taskbar to confirm the menu now shows cmd.

how do I open Command Prompt in Windows 11

Use Start search, type cmd, and open the result. You can also press Win + R, type cmd, and press Enter. If you need admin rights, right-click the Start search result and choose Run as administrator.

what if Command Prompt opens only as PowerShell

That usually means the Power User menu is set to show Windows PowerShell instead. On Windows 10, open Settings > Personalization > Taskbar and change that setting. If you only need a command shell, PowerShell can work for many commands, but it is not identical.