This article will guide you to solve the problem of Windows computer restarting when locked, which may be caused by power settings or software glitches.
If your Windows computer restarts when it locks up, use the following fixes:
let's start
First, you need to start adjusting the power settings. Doing so can help resolve conflicts between different energy-saving features or software that may be causing lock screen issues. Follow these steps:
System file corruption or errors may cause this problem. You can scan the system image file to solve it. Open a command prompt and run the System File Checker tool as administrator.
证监会/scannow
If this doesn't work, we'll run DISM in Command Prompt (Admin) and see if that helps.
You can go to the computer manufacturer's official website to download the latest GPU driver. Before installing the driver, be sure to use DDU to completely delete the existing display driver, and then run the installation file to complete the installation of the new driver.
Check if Hybrid Sleep Mode is activated on your computer. If it is, disable it.
A possible cause of this error is a conflicting third-party application or service. Start the computer in a clean boot state and check if the problem persists. If your computer does not restart when locked, a third-party application or service is responsible for this error.
Now, you must identify the problematic third-party application or service. To do this, follow these instructions:
Similarly, you can also find problematic third-party services. But this time, you have to use the msconfig application.
Whenever an error occurs on your computer, Windows creates an event log. All these errors and warnings are logged for troubleshooting purposes. These event logs help users and developers troubleshoot and fix errors. We recommend that you view the event log in Windows Event Viewer to get some clues as to why your computer restarted when it locked up.
You may see different event IDs like
Event ID 41, the system has restarted but not completely shut down in Windows 11/10
The above event ID error occurs when the computer is restarted without a complete shutdown. There may be many reasons that trigger this event ID error, such as overclocking, RAM failure, power supply unit failure, overheating issues, etc.
Based on the error message displayed in the event viewer, you can continue with further troubleshooting. You can refer to the best help and technical support websites for assistance with errors displayed in the event viewer.
I hope this helps solve your problem.
Similar: Windows and PC restart after sleep
There are many possible reasons why your computer freezes and then restarts. The most common reasons are overheating, driver issues, hardware issues, etc. Monitor your computer's temperature and make sure your computer's fans are clean and functioning properly. Also, check that your graphics card is using the latest drivers.
If your Windows computer is stuck on the restart screen, you can perform troubleshooting such as force restarting the PC, uninstall updates from the Windows Recovery Environment, perform a system restore in the Windows Recovery Environment (WinRE), etc.
Read next: Windows PC restarts after selecting Shutdown.
The above is the detailed content of Windows computer restarts when locked [Fix]. For more information, please follow other related articles on the PHP Chinese website!