Windows 10, just like windows 7, 8, 8.1, has the issue of automatically forcing you to restart your PC whenever some automatically installed update needs to make changes to your main system software. From windows 7 onwards, Microsoft decided that completing a restart for these updates was more crucial than any task the user might be working on. Hence, automatic restart was introduced.
It notifies you before restarting, showing a countdown timer to restart. If you miss the notification by any chance and the timer runs out, or if you have clicked postpone many times before, your worked that has been deemed ‘not so crucial’ will be closed and your PC will restart.
You can put a stop to auto restart, thankfully, without closing automatic updates by one of the 2 methods below. But make sure to manually restart your, PC whenever possible, after updates.
1. METHOD 1 – USING regedit:
Regedit is a registry editing program. Registries are the background services that are telling the computer what settings to follow. They can be dangerous for windows if you play with them or mess anything up, so be careful while changing them.
Start by pressing the win-key+R or just click the search option just beside the start menu key. Type regedit on the Box that pops up or on the search area and press enter. You will be asked to give administrative permissions. Select yes.
On the regedit program, look for HKEY_LOCAL_MACHINE and double-click to expand it. From the sub categories, double click SOFTWARE then look for Policies and double click it. Next, double click Microsoft then on Windows.
If there is a folder named WindowsUpdate, click it. Otherwise right click on Windows folder then go to new and select key. A new folder will appear. Rename it to WindowsUpdate.
Right click on the new WindowsUpdate folder and again go to new and select key. Rename the new folder to AU.
Next, you have to click AU and right click on the right side window pane. Go to new and select DWORD. Rename the newly created value to NoAutoRebootWithLoggedOnUsers. Double click the newly created registry and write 1 in the box under Value.
Click OK, and then close the registry updater and, for the last time, restart your PC.
2. METHOD 2 – USING Local Group Policy Editor:
This method is relatively much simpler. I recommend you to use this second method.
The initial step is the same, press windows key+R or click the search box beside the start button. Type gpedit.msc on the box that appears or the search field.
The Local Group Policy Editor window should open. On the window, on the left side panel, double click on Computer Configuration then Administrative Templates then Windows components and then click on Windows Update.
On the right side panel that opens up, you need to find No auto-restart with logged on users for scheduled automatic updates installations. Double click it to edit it.
On the setting box that opens up, you will see that not configured is selected. Change it to Enabled. Then click OK and close the Editor. Restart your PC to make the changes permanent. That’s it!