Option 1. Run the Registry Editor
#1. When the "Computer restarted unexpectedly" error occurs, click Shift on the keyboard F10. The command prompt opens.
2. Type regedit and press Enter to start the Registry Editor. Once the Registry Editor starts, go to HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion and double-click setup.exe in the right pane.
3. Modify the value data from 1 to 3, and then click OK to apply the changes.
4. Exit the Registry Editor and restart the computer.
Option 2. Perform a clean boot to identify the problem
If you encounter time or recurring unrecognized errors, you can choose a clean boot. It only works if you have full access to the operating system.
Specific method:
1. Click the "Start" button, then type msconfig and click "Enter" to open the system configuration tool.
2. Navigate to the "General" tab and select "Selective Startup".
3. Remove the check mark from "Load startup items". Select Load system services and Use original boot configuration.
4. In the Services tab, mark Hide all Microsoft services, and then select Disable all.
5. Click Apply/OK. The computer will restart shortly.
Notice. To revert the changes, uncheck "Load system services" in the "General" tab. Finish by applying the changes.
Recommended related articles and tutorials: windows tutorial
The above is the detailed content of How to fix unexpected computer restart issue in win10. For more information, please follow other related articles on the PHP Chinese website!