Troubleshooting
Windows Restarting Before Desktop: How to Fix It
If Windows keeps restarting before you reach the desktop, the usual causes are a bad update, a driver problem, corrupted system files, or failing hardware. The safest first fixes are to unplug outside devices, get into Recovery Mode, and try rollback or repair steps before you touch reset or reinstall