Disable automatic restarts in Windows 11
To disable automatic restarts caused by Windows update.
Steps
- Start Command prompt as an admin. Run Local Group Policy Editor
gpedit.msc
. - Administrative Templates → Windows Components → Windows Update → Manage end user experience → Configure Automatic Updates
- Administrative Templates → Windows Components → Windows Update → Legacy Policies → No auto-restart with logged on users for scheduled automatic updates installations