Bereik van gebruikstijden opgeven voor automatisch opnieuw starten: registerwaarde SetActiveHoursMaxRange en 1 meerComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate
- Beleids-ID
- ActiveHoursMaxRange
- Bereik
- Computerconfiguratie
- Ondersteund op
- Minimaal Windows Server 2016 of Windows 10
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Windows-onderdelen › Windows Update › Eindgebruikerservaring beheren
Register
SetActiveHoursMaxRange
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate Huidige sleutel
- Waarde bij ingeschakeld
- 1
- Waarde bij uitgeschakeld
- 0
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; Opties (gebruik er maar één) ; Ingeschakeld "SetActiveHoursMaxRange"=dword:00000001 ; Uitgeschakeld "SetActiveHoursMaxRange"=dword:00000000
CMD
:: Opties (gebruik er maar één) :: Ingeschakeld reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetActiveHoursMaxRange" /t REG_DWORD /d 1 /f :: Uitgeschakeld reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetActiveHoursMaxRange" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # Opties (gebruik er maar één) # Ingeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetActiveHoursMaxRange' -PropertyType DWord -Value 1 -Force | Out-Null # Uitgeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetActiveHoursMaxRange' -PropertyType DWord -Value 0 -Force | Out-Null
ActiveHoursMaxRange
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Maximumbereik:
| Item | Opgeslagen waarde |
|---|---|
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| 11 | 11 |
| 12 | 12 |
| 13 | 13 |
| 14 | 14 |
| 15 | 15 |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; Opties (gebruik er maar één) ; 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
:: Opties (gebruik er maar één) :: 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
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # Opties (gebruik er maar één) # 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