Problembehandlung: Zugriff und Ausführung von Problembehandlungs-Assistenten durch Benutzer zulassen: Registrierungswert EnableDiagnosticsComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnostics
- Richtlinien-ID
- ScriptedDiagnosticsExecutionPolicy
- 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 › Skriptdiagnose
Registrierung
EnableDiagnostics
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnostics Aktueller Schlüssel
- 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\ScriptedDiagnostics] ; Optionen (nur eine verwenden) ; Aktiviert "EnableDiagnostics"=dword:00000001 ; Deaktiviert "EnableDiagnostics"=dword:00000000
CMD
:: Optionen (nur eine verwenden) :: Aktiviert reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnostics" /v "EnableDiagnostics" /t REG_DWORD /d 1 /f :: Deaktiviert reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnostics" /v "EnableDiagnostics" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnostics' -Force | Out-Null # Optionen (nur eine verwenden) # Aktiviert New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnostics' -Name 'EnableDiagnostics' -PropertyType DWord -Value 1 -Force | Out-Null # Deaktiviert New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnostics' -Name 'EnableDiagnostics' -PropertyType DWord -Value 0 -Force | Out-Null