Configure Scheduled Maintenance Behavior
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
System > Troubleshooting and Diagnostics > Scheduled Maintenance
Supported on
At least Windows Server 2008 R2 or Windows 7

Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016

Determines whether scheduled diagnostics will run to proactively detect and resolve system problems. If you enable this policy setting, you must choose an execution level. If you choose detection and troubleshooting only, Windows will periodically detect and troubleshoot problems. The user will be notified of the problem for interactive resolution. If you choose detection, troubleshooting and resolution, Windows will resolve some of these problems silently without requiring user input. If you disable this policy setting, Windows will not be able to detect, troubleshoot or resolve problems on a scheduled basis. If you do not configure this policy setting, local troubleshooting preferences will take precedence, as configured in the control panel. If no local troubleshooting preference is configured, scheduled diagnostics are enabled for detection, troubleshooting and resolution by default. No reboots or service restarts are required for this policy to take effect: changes take effect immediately. This policy setting will only take effect when the Task Scheduler service is in the running state. When the service is stopped or disabled, scheduled diagnostics will not be executed. The Task Scheduler service can be configured with the Services snap-in to the Microsoft Management Console.

Internal name
ScheduledDiagnosticsExecutionPolicy
Policy ID
f9d1c376fe09
Elements
1

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics
Value name
EnabledExecution
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics
Value name
EnabledExecution
Hive
HKLM
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Execution Level
ID ScheduledDiagnosticsExecutionPolicyLevel
enum
Path
SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics
Value name
EnabledExecutionLevel
Type
REG_DWORD
Options: Troubleshooting Only (1), Regular (2)
Execution Level
Computer · Type enum
Registry mapping
Path
SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics
Value name
EnabledExecutionLevel
Type
REG_DWORD
Details
Options: Troubleshooting Only (1), Regular (2)