Configurar ventanas de mantenimiento para actualizaciones automáticas: valor del Registro MaintenanceWindowEnabled y 16 másEquipoHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate

Id. de directiva
MaintenanceWindow
Ámbito
Configuración del equipo
Compatible con
Como mínimo Windows 11 versión 24H2
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Windows Update › Administrar la experiencia del usuario final

Registro

MaintenanceWindowEnabled

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\WindowsUpdate]

; Opciones (usar solo una)
; Habilitada
"MaintenanceWindowEnabled"=dword:00000001
; Deshabilitada
"MaintenanceWindowEnabled"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowEnabled" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

MaintenanceWindowUpdateActions

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Las acciones de actualización solo se permiten dentro de la ventana de mantenimiento:
Opciones
Elemento de listaValor almacenado
Descargar, instalar y reiniciar1
Instalar y reiniciar2
Reiniciar solo3
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Descargar, instalar y reiniciar
"MaintenanceWindowUpdateActions"=dword:00000001
; Instalar y reiniciar
"MaintenanceWindowUpdateActions"=dword:00000002
; Reiniciar solo
"MaintenanceWindowUpdateActions"=dword:00000003
CMD
:: Opciones (usar solo una)

:: Descargar, instalar y reiniciar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowUpdateActions" /t REG_DWORD /d 1 /f
:: Instalar y reiniciar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowUpdateActions" /t REG_DWORD /d 2 /f
:: Reiniciar solo
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowUpdateActions" /t REG_DWORD /d 3 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Descargar, instalar y reiniciar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowUpdateActions' -PropertyType DWord -Value 1 -Force | Out-Null
# Instalar y reiniciar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowUpdateActions' -PropertyType DWord -Value 2 -Force | Out-Null
# Reiniciar solo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowUpdateActions' -PropertyType DWord -Value 3 -Force | Out-Null

MaintenanceWindowStartDate

REG_SZEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Fecha de inicio (formato: aaaa-mm-dd ejemplo: 2025-10-30)
Tipo de valor
REG_SZ
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
"MaintenanceWindowStartDate"="<introducir valor>"
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowStartDate" /t REG_SZ /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowStartDate' -PropertyType String -Value '<introducir valor>' -Force | Out-Null

MaintenanceWindowStartTime

REG_SZEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Hora de inicio (formato: hh:mm ejemplo: 23:30 para 11:30 p. m.)
Tipo de valor
REG_SZ
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
"MaintenanceWindowStartTime"="<introducir valor>"
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowStartTime" /t REG_SZ /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowStartTime' -PropertyType String -Value '<introducir valor>' -Force | Out-Null

MaintenanceWindowDurationHours

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Duración (horas):
Tipo de valor
REG_DWORD
Obligatorio
true
Valor mínimo
2
Valor máximo
24
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
"MaintenanceWindowDurationHours"=dword:<introducir valor>
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowDurationHours" /t REG_DWORD /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowDurationHours' -PropertyType DWord -Value '<introducir valor>' -Force | Out-Null

MaintenanceWindowRepeatScheduleOption

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Seleccione repetir programación:
Opciones
Elemento de listaValor almacenado
Sin repetición1
Diaria2
Semanal3
Mensual4
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Sin repetición
"MaintenanceWindowRepeatScheduleOption"=dword:00000001
; Diaria
"MaintenanceWindowRepeatScheduleOption"=dword:00000002
; Semanal
"MaintenanceWindowRepeatScheduleOption"=dword:00000003
; Mensual
"MaintenanceWindowRepeatScheduleOption"=dword:00000004
CMD
:: Opciones (usar solo una)

:: Sin repetición
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowRepeatScheduleOption" /t REG_DWORD /d 1 /f
:: Diaria
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowRepeatScheduleOption" /t REG_DWORD /d 2 /f
:: Semanal
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowRepeatScheduleOption" /t REG_DWORD /d 3 /f
:: Mensual
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowRepeatScheduleOption" /t REG_DWORD /d 4 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Sin repetición
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowRepeatScheduleOption' -PropertyType DWord -Value 1 -Force | Out-Null
# Diaria
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowRepeatScheduleOption' -PropertyType DWord -Value 2 -Force | Out-Null
# Semanal
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowRepeatScheduleOption' -PropertyType DWord -Value 3 -Force | Out-Null
# Mensual
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowRepeatScheduleOption' -PropertyType DWord -Value 4 -Force | Out-Null

MaintenanceWindowWeeklySunday

REG_DWORDEquipo
Marcada
1
Sin marcar
0
Elemento
Domingo
Tipo de valor
REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Marcada
"MaintenanceWindowWeeklySunday"=dword:00000001
; Sin marcar
"MaintenanceWindowWeeklySunday"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklySunday" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklySunday" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklySunday' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklySunday' -PropertyType DWord -Value 0 -Force | Out-Null

MaintenanceWindowWeeklyMonday

REG_DWORDEquipo
Marcada
1
Sin marcar
0
Elemento
Lunes
Tipo de valor
REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Marcada
"MaintenanceWindowWeeklyMonday"=dword:00000001
; Sin marcar
"MaintenanceWindowWeeklyMonday"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyMonday" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyMonday" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyMonday' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyMonday' -PropertyType DWord -Value 0 -Force | Out-Null

MaintenanceWindowWeeklyTuesday

REG_DWORDEquipo
Marcada
1
Sin marcar
0
Elemento
Martes
Tipo de valor
REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Marcada
"MaintenanceWindowWeeklyTuesday"=dword:00000001
; Sin marcar
"MaintenanceWindowWeeklyTuesday"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyTuesday" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyTuesday" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyTuesday' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyTuesday' -PropertyType DWord -Value 0 -Force | Out-Null

MaintenanceWindowWeeklyWednesday

REG_DWORDEquipo
Marcada
1
Sin marcar
0
Elemento
Miércoles
Tipo de valor
REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Marcada
"MaintenanceWindowWeeklyWednesday"=dword:00000001
; Sin marcar
"MaintenanceWindowWeeklyWednesday"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyWednesday" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyWednesday" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyWednesday' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyWednesday' -PropertyType DWord -Value 0 -Force | Out-Null

MaintenanceWindowWeeklyThursday

REG_DWORDEquipo
Marcada
1
Sin marcar
0
Elemento
Jueves
Tipo de valor
REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Marcada
"MaintenanceWindowWeeklyThursday"=dword:00000001
; Sin marcar
"MaintenanceWindowWeeklyThursday"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyThursday" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyThursday" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyThursday' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyThursday' -PropertyType DWord -Value 0 -Force | Out-Null

MaintenanceWindowWeeklyFriday

REG_DWORDEquipo
Marcada
1
Sin marcar
0
Elemento
Viernes
Tipo de valor
REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Marcada
"MaintenanceWindowWeeklyFriday"=dword:00000001
; Sin marcar
"MaintenanceWindowWeeklyFriday"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyFriday" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklyFriday" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyFriday' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklyFriday' -PropertyType DWord -Value 0 -Force | Out-Null

MaintenanceWindowWeeklySaturday

REG_DWORDEquipo
Marcada
1
Sin marcar
0
Elemento
Sábado
Tipo de valor
REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Marcada
"MaintenanceWindowWeeklySaturday"=dword:00000001
; Sin marcar
"MaintenanceWindowWeeklySaturday"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklySaturday" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowWeeklySaturday" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklySaturday' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowWeeklySaturday' -PropertyType DWord -Value 0 -Force | Out-Null

MaintenanceWindowMonthlySchedule

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Tipo de programación mensual:
Opciones
Elemento de listaValor almacenado
Basado en fecha1
Basado en semana2
Último día del mes3
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Basado en fecha
"MaintenanceWindowMonthlySchedule"=dword:00000001
; Basado en semana
"MaintenanceWindowMonthlySchedule"=dword:00000002
; Último día del mes
"MaintenanceWindowMonthlySchedule"=dword:00000003
CMD
:: Opciones (usar solo una)

:: Basado en fecha
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlySchedule" /t REG_DWORD /d 1 /f
:: Basado en semana
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlySchedule" /t REG_DWORD /d 2 /f
:: Último día del mes
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlySchedule" /t REG_DWORD /d 3 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Basado en fecha
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlySchedule' -PropertyType DWord -Value 1 -Force | Out-Null
# Basado en semana
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlySchedule' -PropertyType DWord -Value 2 -Force | Out-Null
# Último día del mes
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlySchedule' -PropertyType DWord -Value 3 -Force | Out-Null

MaintenanceWindowMonthlyMonthBasedDayOfMonth

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Día del mes:
Tipo de valor
REG_DWORD
Obligatorio
true
Valor mínimo
1
Valor máximo
28
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
"MaintenanceWindowMonthlyMonthBasedDayOfMonth"=dword:<introducir valor>
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyMonthBasedDayOfMonth" /t REG_DWORD /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyMonthBasedDayOfMonth' -PropertyType DWord -Value '<introducir valor>' -Force | Out-Null

MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Ocurrencia en el mes
Opciones
Elemento de listaValor almacenado
Primero1
Segundo2
Tercero3
Cuarto4
Último5
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Primero
"MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth"=dword:00000001
; Segundo
"MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth"=dword:00000002
; Tercero
"MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth"=dword:00000003
; Cuarto
"MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth"=dword:00000004
; Último
"MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth"=dword:00000005
CMD
:: Opciones (usar solo una)

:: Primero
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth" /t REG_DWORD /d 1 /f
:: Segundo
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth" /t REG_DWORD /d 2 /f
:: Tercero
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth" /t REG_DWORD /d 3 /f
:: Cuarto
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth" /t REG_DWORD /d 4 /f
:: Último
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth" /t REG_DWORD /d 5 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Primero
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth' -PropertyType DWord -Value 1 -Force | Out-Null
# Segundo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth' -PropertyType DWord -Value 2 -Force | Out-Null
# Tercero
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth' -PropertyType DWord -Value 3 -Force | Out-Null
# Cuarto
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth' -PropertyType DWord -Value 4 -Force | Out-Null
# Último
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedOccurrenceInMonth' -PropertyType DWord -Value 5 -Force | Out-Null

MaintenanceWindowMonthlyWeekBasedDayOfTheWeek

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Día de la semana
Opciones
Elemento de listaValor almacenado
Domingo1
Lunes2
Martes3
Miércoles4
Jueves5
Viernes6
Sábado7
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opciones (usar solo una)
; Domingo
"MaintenanceWindowMonthlyWeekBasedDayOfTheWeek"=dword:00000001
; Lunes
"MaintenanceWindowMonthlyWeekBasedDayOfTheWeek"=dword:00000002
; Martes
"MaintenanceWindowMonthlyWeekBasedDayOfTheWeek"=dword:00000003
; Miércoles
"MaintenanceWindowMonthlyWeekBasedDayOfTheWeek"=dword:00000004
; Jueves
"MaintenanceWindowMonthlyWeekBasedDayOfTheWeek"=dword:00000005
; Viernes
"MaintenanceWindowMonthlyWeekBasedDayOfTheWeek"=dword:00000006
; Sábado
"MaintenanceWindowMonthlyWeekBasedDayOfTheWeek"=dword:00000007
CMD
:: Opciones (usar solo una)

:: Domingo
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedDayOfTheWeek" /t REG_DWORD /d 1 /f
:: Lunes
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedDayOfTheWeek" /t REG_DWORD /d 2 /f
:: Martes
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedDayOfTheWeek" /t REG_DWORD /d 3 /f
:: Miércoles
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedDayOfTheWeek" /t REG_DWORD /d 4 /f
:: Jueves
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedDayOfTheWeek" /t REG_DWORD /d 5 /f
:: Viernes
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedDayOfTheWeek" /t REG_DWORD /d 6 /f
:: Sábado
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "MaintenanceWindowMonthlyWeekBasedDayOfTheWeek" /t REG_DWORD /d 7 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opciones (usar solo una)
# Domingo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedDayOfTheWeek' -PropertyType DWord -Value 1 -Force | Out-Null
# Lunes
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedDayOfTheWeek' -PropertyType DWord -Value 2 -Force | Out-Null
# Martes
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedDayOfTheWeek' -PropertyType DWord -Value 3 -Force | Out-Null
# Miércoles
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedDayOfTheWeek' -PropertyType DWord -Value 4 -Force | Out-Null
# Jueves
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedDayOfTheWeek' -PropertyType DWord -Value 5 -Force | Out-Null
# Viernes
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedDayOfTheWeek' -PropertyType DWord -Value 6 -Force | Out-Null
# Sábado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'MaintenanceWindowMonthlyWeekBasedDayOfTheWeek' -PropertyType DWord -Value 7 -Force | Out-Null