Windows 11 rebooting - help to debug

%3CLINGO-SUB%20id%3D%22lingo-sub-3021622%22%20slang%3D%22en-US%22%3EWindows%2011%20rebooting%20-%20help%20to%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3021622%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20upgraded%20from%20Win10%20a%20few%20weeks%20ago%2C%20and%20recently%20I%20have%20encountered%20windows%20rebooting%20for%20no%20apparent%20reason.%26nbsp%3B%20It%20seems%20to%20happen%20most%20when%20I%20have%20locked%20the%20screen%2C%20but%20has%20happened%20while%20logged%20in%20-%20I%20had%20just%20clicked%20the%20'Check%20for%20Updates'%20button!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20help%20in%20trying%20to%20debug%20as%20its%20driving%20me%20nuts.%26nbsp%3B%20I'm%20a%20developer%20so%20every%20time%20I%20come%20back%20after%20getting%20up%20it's%20rebooted%20and%20I%20have%20to%20re-open%20everything%20again%2C%20great%20for%20my%20development%20process!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20have%20already%20done%20a%20few%20things%20to%20make%20sure%20its%20not%20windows%20update%20or%20crash%20recovery%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3ETaken%20suggestions%20from%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fappuals.com%2Fwindows-11-reboots-automatically%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fappuals.com%2Fwindows-11-reboots-automatically%2F%3C%2FA%3E%3C%2FLI%3E%3CLI%3EAdded%20the%20registry%20entry%20for%26nbsp%3B%3CSTRONG%3ENoAutoRebootWithLoggedOnUser%2C%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3EEnabled%20'Notify%20me%20when%20a%20restart%20is%20required..'%2C%3C%2FLI%3E%3CLI%3EMade%20sure%20to%20disable%20'Get%20me%20up%20to%20date'%2C%3C%2FLI%3E%3CLI%3EPaused%20updates%20for%20weeks%2C%3C%2FLI%3E%3CLI%3EDisabled%20'Automatically%20restart'%20under%20System%20failure%20in%20Start-up%20and%20Recovery%2C%3C%2FLI%3E%3C%2FUL%3E%3CP%3EI%20can't%20see%20anything%20obvious%20in%20the%20Event%20Logs.%26nbsp%3B%20I've%20updated%20drivers%20etc%2C%20and%20can't%20see%20any%20crash%20dumps%20or%20anything.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHappening%20multiple%20times%20a%20day.%26nbsp%3B%20This%20is%20driving%20me%20nuts.%26nbsp%3B%20What%20can%20I%20do%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3021622%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConfiguration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDevice%20management%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUpdate%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3022295%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20rebooting%20-%20help%20to%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3022295%22%20slang%3D%22en-US%22%3EFirst%20method%2C%20uninstall%20nvme%20or%20SSD%20controller%20from%20device%20manager%2C%20keep%20only%20microsoft%20standard%20controller.%3CBR%20%2F%3ESecond%20method.%3CBR%20%2F%3EType%20view%20advanced%20system%20settings%20in%20search%20box%2C%20execute%20it.%3CBR%20%2F%3EThen%20click%20ons%20advanced%20tab%20%2C%20then%20click%20on%20settings%20under%20startup%20and%20recovery%2C%20uncheck%20mark%20in%20automatically%20restart.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3022304%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20rebooting%20-%20help%20to%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3022304%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322694%22%20target%3D%22_blank%22%3E%40RAJUMATHEMATICSMSC%3C%2FA%3E%26nbsp%3BThanks%20for%20your%20reply.%26nbsp%3B%20I%20just%20checked%20storage%20controllers%20and%20I%20only%20have%20the%20Microsoft%20Standard%20NVM%20Express%20controller%20installed.%3C%2FP%3E%3CP%3EI%20have%20also%20disabled%20Automatic%20Restart%20and%20a%20bunch%20of%20other%20things%20mentioned%20in%20my%20post.%26nbsp%3B%20I%20wish%20it%20was%20related%20to%20that%20but%20still%20restarts.%3C%2FP%3E%3CP%3EThanks%20again%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3022319%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20rebooting%20-%20help%20to%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3022319%22%20slang%3D%22en-US%22%3ECheck%20the%20group%20policy%20settings%20under%20windows%20updates.%20If%20it%20is%20modified%20means%2C%20then%20set%20policy%20to%20not%20configured.%3CBR%20%2F%3EAlso%20type.%20Gpupdate%20%2Fforce%20im%20command%20prompt%20run%20with%20administrator%20rights.%3CBR%20%2F%3EAfter%20that%20restart%20windows.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20possible%20record%20a%20video%20through%20mobile%20phone%20and%20upload%20a%20video%20in%20onedrive%20storage%2C%20paste%20the%20shared%20link.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

I upgraded from Win10 a few weeks ago, and recently I have encountered windows rebooting for no apparent reason.  It seems to happen most when I have locked the screen, but has happened while logged in - I had just clicked the 'Check for Updates' button!

 

I need help in trying to debug as its driving me nuts.  I'm a developer so every time I come back after getting up it's rebooted and I have to re-open everything again, great for my development process!

 

So I have already done a few things to make sure its not windows update or crash recovery:

 

  • Taken suggestions from here: https://appuals.com/windows-11-reboots-automatically/
  • Added the registry entry for NoAutoRebootWithLoggedOnUser,
  • Enabled 'Notify me when a restart is required..',
  • Made sure to disable 'Get me up to date',
  • Paused updates for weeks,
  • Disabled 'Automatically restart' under System failure in Start-up and Recovery,

I can't see anything obvious in the Event Logs.  I've updated drivers etc, and can't see any crash dumps or anything.

 

Happening multiple times a day.  This is driving me nuts.  What can I do?

9 Replies
First method, uninstall nvme or SSD controller from device manager, keep only microsoft standard controller.
Second method.
Type view advanced system settings in search box, execute it.
Then click ons advanced tab , then click on settings under startup and recovery, uncheck mark in automatically restart.

@RAJUMATHEMATICSMSC Thanks for your reply.  I just checked storage controllers and I only have the Microsoft Standard NVM Express controller installed.

I have also disabled Automatic Restart and a bunch of other things mentioned in my post.  I wish it was related to that but still restarts.

Thanks again

Check the group policy settings under windows updates. If it is modified means, then set policy to not configured.
Also type. Gpupdate /force im command prompt run with administrator rights.
After that restart windows.

If possible record a video through mobile phone and upload a video in onedrive storage, paste the shared link.

@_Ataye_ I have had a closer look at the Event logs, and I've found something interesting.  Software Protection service has been logging re-start schedules in the app event log. Apart from it constantly logging event ID 16384, the scheduled restart date is over a month in the past!  I wondered if this was causing the restarts, but it has logged a bunch but hasn't restarted.  The PC had been locked as usual.

 

Could this have something to do with it?

There is no relationship between that service and restart.

Try to disable driver verification using command prompt

@RAJUMATHEMATICSMSC Nothing had been configured in GP, and I had already ran GPUpdate, but not without force so I just tried that (from admin prompt).  I wasn't sure if you were referring to recording the policy update command output or the windows boot (which is unremarkable).  I've attached gpupdate output, also unremarkable.  Took about 12 seconds to complete (I've reports of it taking hours?!?!)

 

What else would cause a restart on windows? I can think of: windows update, window crash recovery, scheduled restart, windows recovery restart. If it were a driver crash there would be a dump no?
Go to task scheduler , browse to each tasks,. Delete all tasks registered under task scheduler.
Only few tasks are not able to delete, so in this case, leave of those tasks.
Its all looking clean. And its still doing it. Just happened then. locked the screen got up got about 30 minutes, log in and its like I've previously logged out. There aren't any new settings in Win11 to automatically log you out even if it's locked?