Step 1: Open the Group Policy Editor
- Press
Win + R
to open the Run dialog. - Type
gpedit.msc
and press Enter.
Step 2: Navigate to the Windows Update Policies
- In the left panel, go to:
Computer Configuration > Administrative Templates > Windows Components > Windows Update
- Find “No auto-restart with logged on users for scheduled automatic updates installations” in the right panel.
Step 3: Modify the Policy
- Double-click on “No auto-restart with logged on users for scheduled automatic updates installations”.
- Select Enabled.
- Click Apply, then OK.
Step 4: Apply the Policy Immediately
- Open Command Prompt as Administrator:
- Press
Win + S
, typecmd
, and select “Run as administrator”. - Run the following command:
gpupdate /force
- This applies the policy immediately without restarting.
Step 5: Verify the Policy is Applied
- Open Command Prompt as Administrator.
- Run:
gpresult /R
- Look for "No auto-restart with logged on users for scheduled automatic updates installations"
under the Applied Group Policy Objects section.
- If you do not see
No auto-restart with logged on users for scheduled automatic updates installations
under the Applied Group Policy Objects section, restart your machine and check again.