Maximum days of stale Office allowed before Windows Update remediation: registry value maxstaledaysComputerHKLM\software\policies\microsoft\office\16.0\common\officeupdate
- Policy ID
- L_MaxStaleDays
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 (Machine) › Updates
Registry
maxstaledays
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Days:
- Value type
- REG_DWORD
- Minimum value
- 1
- Maximum value
- 90
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\officeupdate] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "maxstaledays"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "maxstaledays" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Force | Out-Null New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'maxstaledays' -PropertyType DWord -Value '<enter value>' -Force | Out-Null