Configurar el comportamiento de mantenimiento programado: valor del Registro EnabledExecution y 1 másEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics
- Id. de directiva
- ScheduledDiagnosticsExecutionPolicy
- Ámbito
- Configuración del equipo
- Compatible con
- Al menos Windows Server 2008 R2 o Windows 7
- Origen
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
- Categoría
- Sistema › Solución de problemas y diagnósticos › Mantenimiento programado
Registro
EnabledExecution
REG_DWORDEquipo- Valor al habilitar
- 1
- Valor al deshabilitar
- 0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics] ; Opciones (usar solo una) ; Habilitada "EnabledExecution"=dword:00000001 ; Deshabilitada "EnabledExecution"=dword:00000000
CMD
:: Opciones (usar solo una) :: Habilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecution" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecution" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Name 'EnabledExecution' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Name 'EnabledExecution' -PropertyType DWord -Value 0 -Force | Out-Null
EnabledExecutionLevel
REG_DWORDEquipo- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Nivel de ejecución
| Elemento de lista | Valor almacenado |
|---|---|
| Solo solución de problemas | 1 |
| Normal | 2 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics] ; Opciones (usar solo una) ; Solo solución de problemas "EnabledExecutionLevel"=dword:00000001 ; Normal "EnabledExecutionLevel"=dword:00000002
CMD
:: Opciones (usar solo una) :: Solo solución de problemas reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecutionLevel" /t REG_DWORD /d 1 /f :: Normal reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecutionLevel" /t REG_DWORD /d 2 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Force | Out-Null # Opciones (usar solo una) # Solo solución de problemas New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Name 'EnabledExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null # Normal New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScheduledDiagnostics' -Name 'EnabledExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null