Warnbenachrichtigungszeitplan für den automatischen Neustart zur Updateinstallation konfigurieren: Registrierungswert SetRestartWarningSchd und 2 weitereComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate

Richtlinien-ID
RestartWarnRemind
Bereich
Computerkonfiguration
Unterstützt unter
Windows Server 2016 bis Windows Server 2022 oder Windows 10​
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Windows Update › Legacy-Richtlinien

Registrierung

SetRestartWarningSchd

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
"SetRestartWarningSchd"=dword:00000001
; Deaktiviert
"SetRestartWarningSchd"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetRestartWarningSchd" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetRestartWarningSchd" /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 'SetRestartWarningSchd' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetRestartWarningSchd' -PropertyType DWord -Value 0 -Force | Out-Null

ScheduleRestartWarning

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Erinnerung (in Stunden):
Optionen
EintragGespeicherter Wert
22
44
88
1212
2424
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; 2
"ScheduleRestartWarning"=dword:00000002
; 4
"ScheduleRestartWarning"=dword:00000004
; 8
"ScheduleRestartWarning"=dword:00000008
; 12
"ScheduleRestartWarning"=dword:0000000c
; 24
"ScheduleRestartWarning"=dword:00000018
CMD
:: Optionen (nur eine verwenden)

:: 2
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ScheduleRestartWarning" /t REG_DWORD /d 2 /f
:: 4
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ScheduleRestartWarning" /t REG_DWORD /d 4 /f
:: 8
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ScheduleRestartWarning" /t REG_DWORD /d 8 /f
:: 12
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ScheduleRestartWarning" /t REG_DWORD /d 12 /f
:: 24
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ScheduleRestartWarning" /t REG_DWORD /d 24 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Optionen (nur eine verwenden)
# 2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ScheduleRestartWarning' -PropertyType DWord -Value 2 -Force | Out-Null
# 4
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ScheduleRestartWarning' -PropertyType DWord -Value 4 -Force | Out-Null
# 8
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ScheduleRestartWarning' -PropertyType DWord -Value 8 -Force | Out-Null
# 12
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ScheduleRestartWarning' -PropertyType DWord -Value 12 -Force | Out-Null
# 24
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ScheduleRestartWarning' -PropertyType DWord -Value 24 -Force | Out-Null

ScheduleImminentRestartWarning

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Warnung (Min.):
Optionen
EintragGespeicherter Wert
1515
3030
6060
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; 15
"ScheduleImminentRestartWarning"=dword:0000000f
; 30
"ScheduleImminentRestartWarning"=dword:0000001e
; 60
"ScheduleImminentRestartWarning"=dword:0000003c
CMD
:: Optionen (nur eine verwenden)

:: 15
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ScheduleImminentRestartWarning" /t REG_DWORD /d 15 /f
:: 30
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ScheduleImminentRestartWarning" /t REG_DWORD /d 30 /f
:: 60
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ScheduleImminentRestartWarning" /t REG_DWORD /d 60 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Optionen (nur eine verwenden)
# 15
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ScheduleImminentRestartWarning' -PropertyType DWord -Value 15 -Force | Out-Null
# 30
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ScheduleImminentRestartWarning' -PropertyType DWord -Value 30 -Force | Out-Null
# 60
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'ScheduleImminentRestartWarning' -PropertyType DWord -Value 60 -Force | Out-Null