Original: https://jingyan.baidu.com/article/a3a3f81191c777cca2eb8ae8.html
Some friends in WIN10 will close the command prompt if they make mistakes. Here are two ways to fix it.
1. Use the registry to repair (time-consuming 2min)
2. Enter the system configuration command prompt option (time-consuming 2min)
3. You can download the media creation tool to upgrade and repair the system without injury (takes 30 minutes)
Let's take a look at the specific repair steps
Registry repair
-
We use the shortcut key WIN+R to open the running program
Then enter regedit and press Enter to enter the registry as shown in the figure below
-
Then find the following file directory
Just enter it into the address bar (some computers can’t find this file and use the second method)
HKEY_CURRENT_USER/Software/Policies/Microsoft/Windows/System
-
Then find the file DisableCMD and double click
Restart the computer after modifying the key value bit 0
If you can’t solve it or you can’t find the file, please use the following solution
END