Verhalten für geplante Wartung konfigurieren: Registrierungswert EnabledExecution und 1 weitereComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics

Richtlinien-ID
ScheduledDiagnosticsExecutionPolicy
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Server 2008 R2 oder Windows 7
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
System › Problembehandlung und Diagnose › Geplante Wartung

Registrierung

EnabledExecution

REG_DWORDComputer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics]

; Optionen (nur eine verwenden)
; Aktiviert
"EnabledExecution"=dword:00000001
; Deaktiviert
"EnabledExecution"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecution" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecution" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Name 'EnabledExecution' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Name 'EnabledExecution' -PropertyType DWord -Value 0 -Force | Out-Null

EnabledExecutionLevel

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Ausführungsebene
Optionen
EintragGespeicherter Wert
Nur Problembehandlung1
Standard2
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics]

; Optionen (nur eine verwenden)
; Nur Problembehandlung
"EnabledExecutionLevel"=dword:00000001
; Standard
"EnabledExecutionLevel"=dword:00000002
CMD
:: Optionen (nur eine verwenden)

:: Nur Problembehandlung
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecutionLevel" /t REG_DWORD /d 1 /f
:: Standard
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecutionLevel" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Force | Out-Null

# Optionen (nur eine verwenden)
# Nur Problembehandlung
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Name 'EnabledExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Standard
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Name 'EnabledExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null