Windows Update Reboot Grace Period Registry Key
This article explains where to find and configure the Windows Update automatic reboot grace period settings within the Windows Registry. Windows administrators can control how long users are given before a mandatory restart occurs after updates are installed by configuring specific DWORD values under the central Windows Update policy keys.
The Registry Path
The configuration parameters for Windows Update reboot deadlines and grace periods are located in the following Registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
(Note: Depending on the specific Windows version and deployment
method, related automated update behavior can also be found in the
subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU)
Key Registry Values for Reboot Grace Periods
To enforce and configure the grace period before an automatic reboot,
the following DWORD (32-bit) Values are used inside the
WindowsUpdate key:
ConfigureDeadlineGracePeriod
Specifies the number of days a user has as a grace period before Windows automatically restarts outside of active hours once the deadline has passed (typically applies to quality updates).ConfigureDeadlineGracePeriodForFeatureUpdates
Specifies the grace period (in days) specifically for feature updates before an automatic reboot is enforced.SetComplianceDeadline
A master switch value (1for enabled,0for disabled) that activates the compliance deadline policies on the client machine.ConfigureDeadlineForQualityUpdates
Defines the number of days before quality updates must be installed and restarted.ConfigureDeadlineForFeatureUpdates
Defines the number of days before feature updates must be installed and restarted.ConfigureDeadlineNoAutoReboot
Set to1to prevent automatic reboots until the specified grace period expires.
How to Configure the Grace Period via Regedit
- Press
Win + R, typeregedit, and press Enter to open the Registry Editor. - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate - If the
WindowsUpdatekey does not exist, right-click theWindowsfolder, select New > Key, and name itWindowsUpdate. - Right-click in the right pane, select New > DWORD
(32-bit) Value, and name it
ConfigureDeadlineGracePeriod. - Double-click
ConfigureDeadlineGracePeriod, set the Base to Decimal, and enter the desired number of days (e.g.,2for a 2-day grace period). - Ensure
SetComplianceDeadlineis created and set to1(Hexadecimal/Decimal) to enforce these policies. - Restart the computer or run
gpupdate /forcein an elevated Command Prompt to apply the changes.