You will sometimes need to run cmd commands in Windows 10 Command Prompt, but to find that Command Prompt has stopped working or this Command Prompt won’t open on Windows 10.
In this case, you cannot run SFC or any other commands in order to perform some actions. Or in some situations, you can observe that Command prompt run as administrator out of work Windows 10 or Windows 7.
To open Command Prompt, just enter cmd in the search box and then hit Enter key to get into it. But if you still noticed that cmd prompt not appearing, maybe it is high time to deal with this
So there are several methods you can take to fix can’t open Command Prompt on Windows 10 error. After that, you are free to run the cmd command to achieve numerous actions.
How to Fix Command Prompt Cannot Run CMD Commands Windows 10?
Since Windows 10 command line is out of work, the commands cannot be performed as you wish. That is now you need to repair Command Prompt Windows 10.
This article will mainly help you fix CMD not working error from the perspective of changing environmental variables and some methods toward system problems.
Solution 1: Edit the System Environment Variables
It is useful that you struggle to modify the settings of system environment variables so as to resolve Command Prompt open and close immediately Windows 10.
You might as well determine to add a new path for the Windows system.
1. Type System Environment Variables in Start search box and then stroke Enter to move into System Properties.
2. In System Properties window, under Advanced tab, click Environment Variables.
3. In the Environment Variables window, choose Path and then click Edit.
4. Then hit New to create a new entry and name it C:\Windows\SysWow64\.
Finally, click OK to save changes.
All finished, manage to restart your PC to take effect.
This time you are supposed to make attempt to open and run cmd commands in Command Prompt in Windows 10 as Command Prompt is unable to open and work issue will have been fixed.
Solution 2: Check Windows 10 Registry Editor Type
Apart from the system environment variables, you would also need to make sure the Windows system environment type is correct. Only in this sense can Command Prompt not working on Windows 10 be solved and you are able to perform commands when the line is out of work.
1. Press Windows + R to activate the Run box and then enter regedit in the box.
At last, click OK to go on.
2. Then in Registry Editor, navigate to HKEY_CURRENT_USER\Environment.
3. Under Environment, on the right panel, check whether the type is REG EXPAND SZ.
At the same time, go as the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment and make sure the file type in REG-EXPAND-SZ. Just do the same thing in Registry Editor.
Once you have checked the value type of environment in Registry Editor, manage to open Command Prompt and run it on Windows 10. Maybe Command Prompt not responding will not come to you anymore.
Solution 3: Fix Windows 10 System Errors to Remove Command Prompt Won’t Work
If all the ways above failed to solve CMD Prompt not opening Windows 10, it is likely that the problem lies in the Windows 10 system issues. Maybe it is high time that you exerted efforts to deal with system problems.
The most efficient way is to restore Windows 10. To create a restore point for Windows 10 where there is no Command Prompt not working trouble, it is suggestible that you follow up to the steps below.
1. Search Create a restore point in the search box and then press Enter to get into System Properties window.
2. In System Properties window, select System Restore.
3. Then in Restore system files and settings, hit Next to try Windows 10 restore.
4. Then decide to Scan for affected programs and click Next.
Here you can not only know about which programs are influenced but also restore your PC to a state, normally to the last time you updated your system.
At this moment, you are qualified to restore Windows 10 and in this process, you cannot exit.
When restoring procedure is finished, you would better begin to check whether Command Prompt Windows 10 is not working persists on your PC.
Or you have to reset Windows 10 to see if it can make CMD backs to work.
In a word, to get rid of CMD Prompt not working on Windows 10, it is rather necessary for you to make reference to the solutions in this thread.