Have you seen that message in Windows 8 that
tells you your computer is going to reboot and there is not a thing you can do about it except save your work? Here’s how to make sure that never happens again. This tip works for Windows 7 as well.
Note that we have covered this method before for preventing Windows 7 from automatically rebooting. This article has two methods for doing the same thing.
Press the Win + R keyboard combination to bring up the run dialog then type gpedit.msc and press enter.
When the Local Group Policy Editor opens, navigate to:
On the right hand side you will see a setting titled:
Double click on it.
From here you will need to enable the setting by changing the radio button from “Not Configured” to “Enabled”, then clicking apply.
As always, we recommend you force a Group Policy update so that the changes will reflect immediately.
That’s all there is to it.
Using the Registry
If your version of Windows 8 doesn’t ship with the Group Policy editor, you can always use the registry to disable these reboots. Again press the Windows + R keyboard combination to bring up a run box – type regedit then hit enter.
Now navigate to:
Then create a new 32-bit DWORD called NoAutoRebootWithLoggedOnUsers.
Then double click on it and give it a hex value of 1.
Reboot your machine and you’re good to go