Open in the explorer

Automatic Maintenance Activation Boundary

Limite d’activation de la maintenance automatique

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Maintenance Scheduler FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Planificateur de maintenance
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
msched.admx
Internal name
msched/ActivationBoundaryPolicy

Explanation

This policy setting allows you to configure Automatic Maintenance activation boundary.

The maintenance activation boundary is the daily schduled time at which Automatic Maintenance starts

If you enable this policy setting, this will override the default daily scheduled time as specified in Security and Maintenance/Automatic Maintenance Control Panel.

If you disable or do not configure this policy setting, the daily scheduled time as specified in Security and Maintenance/Automatic Maintenance Control Panel will apply.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer la limite d’activation de la maintenance automatique.

La limite d’activation de la maintenance représente l’heure quotidienne à laquelle est planifiée la maintenance automatique.

Si vous activez ce paramètre de stratégie, cela entraîne le remplacement de l’heure quotidienne par défaut planifiée via l’option Sécurité et maintenance/Maintenance automatique dans le Panneau de configuration.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’heure quotidienne planifiée via l’option Sécurité et maintenance/Maintenance automatique du Panneau de configuration s’applique.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Task Scheduler\Maintenance
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: msched/ActivationBoundaryPolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Task Scheduler\Maintenance'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Regular maintenance activation boundary
Set-ItemProperty -Path $k -Name 'Activation Boundary' -Value '<value>' -Type String

Disable

# Disable: msched/ActivationBoundaryPolicy
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msched/ActivationBoundaryPolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Task Scheduler\Maintenance'
Remove-ItemProperty -Path $k -Name 'Activation Boundary' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Regular maintenance activation boundaryLimite d’activation de la maintenance classiqueActivationBoundaryText boxtextActivation BoundaryREG_SZ
Default (UI): 2000-01-01T02:00:00

Availability