Prevent Forced Restart After Installing Windows Updates In Windows
But to overcome this, a group policy exists in Windows that prevents a forced restart or an automatic restart which can either be applied through group policy editor or registry editor for home users.
Group policy Edit
- Press Windows key+R to open Run dialog box and type in gpedit.msc . This opens Group policy editor.
- On the left hand side, Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update
- In the right list of polices, look for “No auto-restart with logged on users for scheduled automatic updates installation”. Double click it and modify:
- Set the policy to Enabled and that’s it.To reset it in future, set it as Not configured.
- Open Run dialog box using Windows key+R and type in regedit.
- On the left hand navigate to HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows
- Now right click Windows and select New>Key. Name this as Windowsupdate. Again Select Windowsupdate and select new key and Name that as AU. The final structure looks like this
- Again right click AU and select New>DWORD. Name it AlwaysAutoRebootAtScheduledTime. Press OK and again Right click it and select modify. Put value of it as 0.
- Click OK and you are done!!