Nutzungszeitbereich für automatische Neustarts angeben: Registrierungswert SetActiveHoursMaxRange und 1 weitereComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate

Richtlinien-ID
ActiveHoursMaxRange
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Server 2016 oder Windows 10
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Windows Update › Endbenutzeroberfläche verwalten

Registrierung

SetActiveHoursMaxRange

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

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

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

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

ActiveHoursMaxRange

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Max. Bereich:
Optionen
EintragGespeicherter Wert
88
99
1010
1111
1212
1313
1414
1515
1616
1717
1818
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; 8
"ActiveHoursMaxRange"=dword:00000008
; 9
"ActiveHoursMaxRange"=dword:00000009
; 10
"ActiveHoursMaxRange"=dword:0000000a
; 11
"ActiveHoursMaxRange"=dword:0000000b
; 12
"ActiveHoursMaxRange"=dword:0000000c
; 13
"ActiveHoursMaxRange"=dword:0000000d
; 14
"ActiveHoursMaxRange"=dword:0000000e
; 15
"ActiveHoursMaxRange"=dword:0000000f
; 16
"ActiveHoursMaxRange"=dword:00000010
; 17
"ActiveHoursMaxRange"=dword:00000011
; 18
"ActiveHoursMaxRange"=dword:00000012
CMD
:: Optionen (nur eine verwenden)

:: 8
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 8 /f
:: 9
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 9 /f
:: 10
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 10 /f
:: 11
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 11 /f
:: 12
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 12 /f
:: 13
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 13 /f
:: 14
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 14 /f
:: 15
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 15 /f
:: 16
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 16 /f
:: 17
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 17 /f
:: 18
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ActiveHoursMaxRange" /t REG_DWORD /d 18 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Optionen (nur eine verwenden)
# 8
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 8 -Force | Out-Null
# 9
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 9 -Force | Out-Null
# 10
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 10 -Force | Out-Null
# 11
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 11 -Force | Out-Null
# 12
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 12 -Force | Out-Null
# 13
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 13 -Force | Out-Null
# 14
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 14 -Force | Out-Null
# 15
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 15 -Force | Out-Null
# 16
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 16 -Force | Out-Null
# 17
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 17 -Force | Out-Null
# 18
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ActiveHoursMaxRange' -PropertyType DWord -Value 18 -Force | Out-Null