Maximum days of stale Office allowed before Windows Update remediation
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy setting controls the maximum number of days an Office installation can go without being updated before it becomes eligible for Windows Update remediation.
This policy setting does not automatically update users. It only sets the staleness threshold that the Windows Update remediation logic uses when deciding which older Office installations to update.
If you enable this policy setting, you can specify a value from 1 to 3 months. Office installations that have not been updated within the configured number of months will be considered eligible for Windows Update remediation.
If you disable this policy setting, Windows Update remediation will use the default staleness threshold determined by Office.
If you do not configure this policy setting, Windows Update remediation will use the default staleness threshold determined by Office.
Note: This policy setting only applies to Office products that are installed by using Click-to-Run.
Registre
HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\officeupdate- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : office16/L_MaxStaleDays
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Days
Set-ItemProperty -Path $k -Name 'maxstaledays' -Value 1 -Type DWord # entre 1 et 90Désactiver
# Désactiver : office16/L_MaxStaleDays
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : office16/L_MaxStaleDays
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate'
Remove-ItemProperty -Path $k -Name 'maxstaledays' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Days:L_MaxStaleDaysID | Zone numériquedecimal | maxstaledays | REG_DWORD | Min : 1 · Max : 90 |
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.