Is Command Prompt not working or opening on your Windows 11/10 PC? Here is a complete guide to fixing the problem of CMD not launching or working properly on your system.
Command Prompt, or CMD, is a prominent command-line tool in Windows that allows you to execute various commands and tasks. However, if you are unable to open it or if it is not working properly, it can prevent you from performing tasks through CMD. It can be really bothersome and annoying for users who regularly use the Command Prompt. Many users have reported being unable to launch or use Command Prompt.

There are multiple ways to open Command Prompt in Windows 11/10. You can simply type cmd in the taskbar search box and then open Command Prompt. Besides that, you can also open CMD from File Explorer, Task Manager, and a desktop shortcut. But if the Command Prompt does not open, the solutions covered here will help.
Why Command Prompt is not opening in Windows 11?
This issue can be caused by different reasons. There could be some corrupted system files because of which you can’t open or use the Command Prompt. It can also be caused by a recent change on your PC. Some glitches or corruption with your current user profile can be another reason for this issue.
Now, if you are facing the same problem, this post is for you. In this guide, we are going to list multiple fixes that will help you resolve the issue. So, let us check out!
Command Prompt not working or opening in Windows 11
Here are the fixes that you can try if Command Prompt is not opening or working on your Windows 11/10 PC:
- Launch Command Prompt from File Explorer.
- Try opening Command Prompt from Task Manager.
- Edit PATH System Environment Variable for CMD to open.
- Run SFC scan using PowerShell.
- Disable your third-party antivirus.
- Open Command Prompt in Safe Mode.
- Make a new user account.
- Perform a system restore.
Let us discuss the above fixes in detail now!
1] Launch Command Prompt from File Explorer/
If you are unable to open Command Prompt from Start Menu, try launching CMD from File Explorer. You might be able to launch CMD from File Explorer as reported by some affected users. Here are the steps to open CMD from File Explorer:
- Firstly, open File Explorer using Windows + E hotkey.
- Now, navigate to the following location:
C:\Windows\System32
- Next, inside the System32 folder, scroll down to the cmd application.
- After that, right-click on cmd and press the Run as administrator option to launch Command Prompt with admin privilege.
See if you are able to open Command Prompt from File Explorer. Alternatively, you can also create a shortcut to the Command Prompt application on your desktop and see if that works for you.
In case Command Prompt still doesn’t open for you, try the next potential fix to resolve the issue.
Related: Can’t run Command Prompt as an administrator.
2] Try opening Command Prompt from Task Manager
You can also try launching Command Prompt from Task Manager and check if it works for you. It is a workaround if you are unable to open CMD from Start Menu. Here are the steps to do that:
- Firstly, start Task Manager using Ctrl + Shift + Esc hotkey.
- Now, go to the File menu and click on the Run new task option.
- Next, in the Open bar, type cmd.
- After that, enable the Create this task with administrative privileges checkbox present below the Open field.
- Finally, press Enter to launch Command Prompt and see if it works fine or not.
3] Edit PATH System Environment Variable for CMD to open
The next thing you can do to fix the issue is to edit the system environment variable to enable CMD to open. Here is how you can do that:
- Firstly, open the taskbar search and type environ in the search box.
- From the results, click on Edit the system environment variables to launch the System Properties window.
- Now, in the Advanced tab, select the Environment Variables button.
- Next, choose the PATH variable and then tap on the Edit button.
- After that, click on the New button to create a new entry.
- Then, enter C:\Windows\SysWow64\ and press OK.
- Finally, reboot your PC and see if you can launch and use CMD properly.
If the problem persists, try the next potential fix.
4] Run SFC scan using PowerShell
There is a chance you are unable to use Command Prompt due to corrupted or damaged system files. If the scenario applies, you should be able to fix the issue by running an SFC scan.
SFC or System File Checker is a command-based tool that comes with Windows. This built-in tool basically scans and repairs corrupted system files. However, as you are unable to open Command Prompt, you will have to use Powershell to run the SFC scan. Here is how to run an SFC scan using Powershell on Windows PC:
- Firstly, launch Powershell with administrator privilege.
- Next, write the following command in an elevated Powershell:
sfc /scannow
- Now, simply hit the Enter button to run the above SFC scan command. It might take about 15-20 minutes for the scan to fix corrupted system files, so let the command finish successfully.
- Once done, restart your PC and then launch Command Prompt. Hopefully, it will open and work normally now.
If you still encounter the same issue, try the next potential fix.
5] Disable your third-party antivirus
If you are using a third-party antivirus, try disabling it for a while and then see if you can launch Command Prompt. Third-party antivirus software is known to interfere with the normal operation of your applications. Hence, it is recommended to disable your antivirus and see if the issue is resolved. If CMD still doesn’t open or work, try the next fix to resolve the issue.
6] Open Command Prompt in Safe Mode
You can also try booting your Windows PC in safe mode and then launch Command Prompt. It is a workaround and might work for you.
7] Make a new user account
The problem might be caused by an issue with your User Account or by a corrupted user profile. Hence, if the scenario is applicable, you can try creating a new user account and then check if the problem is fixed or not.
Here are the steps to create a new user account on Windows 11/10:
- Firstly, open Settings using Win+I and then go to the Accounts tab.
- Now, click on the Family & other users option.
- Next, press the Add account button and on the next prompt, enter the email address for the new account.
- After that, press the Next button, then follow the prompts to create a new user account.
- Finally, log out of your current account and then sign in with the newly created account.
Try opening Command Prompt on your new user account and see if the problem is fixed or not.
8] Perform a system restore
If none of the above solutions worked for you, try performing a system restore. There might be recent changes that are causing CMD to not work properly on your PC. In that case, System Restore enables you to roll back your PC to a point where your system wasn’t affected by corruption and the Command Prompt was working fine. So, perform a system restore using the below steps:
- Firstly, open the desktop search box and enter Create a Restore Point in the box.
- Now, click on the Create a Restore Point option from the results to open the System Restore window.
- Next, press the System Restore button and then choose a system restore point to which you want to roll back your PC.
- After that, follow the onscreen instructions to complete the process.
- Finally, reboot your PC and then try launching Command Prompt.
Hopefully, CMD will start working fine now.
Why is my CMD not typing?
If you can’t type in the Command Prompt window, then check if the keyboard is connected correctly. If that is OK, run Command Prompt with admin privileges and check whether you can type in the CMD window. You should also switch to Use legacy console mode in CMD or use the on-screen keyboard for the time being.
Now read: PowerShell has stopped working and will not open.