Podaj ostateczny termin automatycznego ponownego uruchomienia w celu instalacji aktualizacji: wartość rejestru SetAutoRestartDeadline i 2 więcejKomputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate
- Identyfikator zasady
- AutoRestartDeadline
- Zakres
- Konfiguracja komputera
- Obsługiwane w systemach
- Systemy od Windows Server 2016 do Windows Server 2022 lub Windows 10
- Źródło
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
- Kategoria
- Składniki systemu Windows › Usługa Windows Update › Starsze zasady
Rejestr
SetAutoRestartDeadline
REG_DWORDKomputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate Bieżący klucz
- Wartość włączona
- 1
- Wartość wyłączona
- 0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; Opcje (użyj tylko jednej) ; Włączone "SetAutoRestartDeadline"=dword:00000001 ; Wyłączone "SetAutoRestartDeadline"=dword:00000000
CMD
:: Opcje (użyj tylko jednej) :: Włączone reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetAutoRestartDeadline" /t REG_DWORD /d 1 /f :: Wyłączone reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetAutoRestartDeadline" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # Opcje (użyj tylko jednej) # Włączone New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetAutoRestartDeadline' -PropertyType DWord -Value 1 -Force | Out-Null # Wyłączone New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetAutoRestartDeadline' -PropertyType DWord -Value 0 -Force | Out-Null
AutoRestartDeadlinePeriodInDays
REG_DWORDKomputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate Bieżący klucz
- Wartość włączona
- Zależy od wartości opcji
- Element
- Aktualizacje dotyczące jakości (dni):
| Pozycja | Zapisana wartość |
|---|---|
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| 11 | 11 |
| 12 | 12 |
| 13 | 13 |
| 14 | 14 |
| 15 | 15 |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| 19 | 19 |
| 20 | 20 |
| 21 | 21 |
| 22 | 22 |
| 23 | 23 |
| 24 | 24 |
| 25 | 25 |
| 26 | 26 |
| 27 | 27 |
| 28 | 28 |
| 29 | 29 |
| 30 | 30 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; Opcje (użyj tylko jednej) ; 2 "AutoRestartDeadlinePeriodInDays"=dword:00000002 ; 3 "AutoRestartDeadlinePeriodInDays"=dword:00000003 ; 4 "AutoRestartDeadlinePeriodInDays"=dword:00000004 ; 5 "AutoRestartDeadlinePeriodInDays"=dword:00000005 ; 6 "AutoRestartDeadlinePeriodInDays"=dword:00000006 ; 7 "AutoRestartDeadlinePeriodInDays"=dword:00000007 ; 8 "AutoRestartDeadlinePeriodInDays"=dword:00000008 ; 9 "AutoRestartDeadlinePeriodInDays"=dword:00000009 ; 10 "AutoRestartDeadlinePeriodInDays"=dword:0000000a ; 11 "AutoRestartDeadlinePeriodInDays"=dword:0000000b ; 12 "AutoRestartDeadlinePeriodInDays"=dword:0000000c ; 13 "AutoRestartDeadlinePeriodInDays"=dword:0000000d ; 14 "AutoRestartDeadlinePeriodInDays"=dword:0000000e ; 15 "AutoRestartDeadlinePeriodInDays"=dword:0000000f ; 16 "AutoRestartDeadlinePeriodInDays"=dword:00000010 ; 17 "AutoRestartDeadlinePeriodInDays"=dword:00000011 ; 18 "AutoRestartDeadlinePeriodInDays"=dword:00000012 ; 19 "AutoRestartDeadlinePeriodInDays"=dword:00000013 ; 20 "AutoRestartDeadlinePeriodInDays"=dword:00000014 ; 21 "AutoRestartDeadlinePeriodInDays"=dword:00000015 ; 22 "AutoRestartDeadlinePeriodInDays"=dword:00000016 ; 23 "AutoRestartDeadlinePeriodInDays"=dword:00000017 ; 24 "AutoRestartDeadlinePeriodInDays"=dword:00000018 ; 25 "AutoRestartDeadlinePeriodInDays"=dword:00000019 ; 26 "AutoRestartDeadlinePeriodInDays"=dword:0000001a ; 27 "AutoRestartDeadlinePeriodInDays"=dword:0000001b ; 28 "AutoRestartDeadlinePeriodInDays"=dword:0000001c ; 29 "AutoRestartDeadlinePeriodInDays"=dword:0000001d ; 30 "AutoRestartDeadlinePeriodInDays"=dword:0000001e
CMD
:: Opcje (użyj tylko jednej) :: 2 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 2 /f :: 3 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 3 /f :: 4 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 4 /f :: 5 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 5 /f :: 6 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 6 /f :: 7 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 7 /f :: 8 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 8 /f :: 9 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 9 /f :: 10 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 10 /f :: 11 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 11 /f :: 12 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 12 /f :: 13 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 13 /f :: 14 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 14 /f :: 15 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 15 /f :: 16 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 16 /f :: 17 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 17 /f :: 18 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 18 /f :: 19 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 19 /f :: 20 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 20 /f :: 21 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 21 /f :: 22 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 22 /f :: 23 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 23 /f :: 24 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 24 /f :: 25 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 25 /f :: 26 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 26 /f :: 27 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 27 /f :: 28 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 28 /f :: 29 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 29 /f :: 30 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDays" /t REG_DWORD /d 30 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # Opcje (użyj tylko jednej) # 2 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 2 -Force | Out-Null # 3 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 3 -Force | Out-Null # 4 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 4 -Force | Out-Null # 5 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 5 -Force | Out-Null # 6 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 6 -Force | Out-Null # 7 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 7 -Force | Out-Null # 8 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 8 -Force | Out-Null # 9 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 9 -Force | Out-Null # 10 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 10 -Force | Out-Null # 11 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 11 -Force | Out-Null # 12 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 12 -Force | Out-Null # 13 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 13 -Force | Out-Null # 14 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 14 -Force | Out-Null # 15 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 15 -Force | Out-Null # 16 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 16 -Force | Out-Null # 17 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 17 -Force | Out-Null # 18 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 18 -Force | Out-Null # 19 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 19 -Force | Out-Null # 20 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 20 -Force | Out-Null # 21 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 21 -Force | Out-Null # 22 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 22 -Force | Out-Null # 23 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 23 -Force | Out-Null # 24 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 24 -Force | Out-Null # 25 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 25 -Force | Out-Null # 26 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 26 -Force | Out-Null # 27 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 27 -Force | Out-Null # 28 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 28 -Force | Out-Null # 29 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 29 -Force | Out-Null # 30 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDays' -PropertyType DWord -Value 30 -Force | Out-Null
AutoRestartDeadlinePeriodInDaysForFeatureUpdates
REG_DWORDKomputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate Bieżący klucz
- Wartość włączona
- Zależy od wartości opcji
- Element
- Aktualizacje funkcji (dni):
| Pozycja | Zapisana wartość |
|---|---|
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| 11 | 11 |
| 12 | 12 |
| 13 | 13 |
| 14 | 14 |
| 15 | 15 |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| 19 | 19 |
| 20 | 20 |
| 21 | 21 |
| 22 | 22 |
| 23 | 23 |
| 24 | 24 |
| 25 | 25 |
| 26 | 26 |
| 27 | 27 |
| 28 | 28 |
| 29 | 29 |
| 30 | 30 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; Opcje (użyj tylko jednej) ; 2 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000002 ; 3 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000003 ; 4 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000004 ; 5 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000005 ; 6 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000006 ; 7 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000007 ; 8 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000008 ; 9 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000009 ; 10 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000000a ; 11 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000000b ; 12 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000000c ; 13 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000000d ; 14 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000000e ; 15 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000000f ; 16 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000010 ; 17 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000011 ; 18 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000012 ; 19 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000013 ; 20 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000014 ; 21 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000015 ; 22 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000016 ; 23 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000017 ; 24 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000018 ; 25 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:00000019 ; 26 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000001a ; 27 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000001b ; 28 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000001c ; 29 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000001d ; 30 "AutoRestartDeadlinePeriodInDaysForFeatureUpdates"=dword:0000001e
CMD
:: Opcje (użyj tylko jednej) :: 2 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 2 /f :: 3 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 3 /f :: 4 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 4 /f :: 5 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 5 /f :: 6 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 6 /f :: 7 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 7 /f :: 8 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 8 /f :: 9 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 9 /f :: 10 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 10 /f :: 11 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 11 /f :: 12 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 12 /f :: 13 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 13 /f :: 14 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 14 /f :: 15 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 15 /f :: 16 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 16 /f :: 17 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 17 /f :: 18 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 18 /f :: 19 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 19 /f :: 20 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 20 /f :: 21 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 21 /f :: 22 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 22 /f :: 23 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 23 /f :: 24 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 24 /f :: 25 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 25 /f :: 26 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 26 /f :: 27 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 27 /f :: 28 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 28 /f :: 29 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 29 /f :: 30 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartDeadlinePeriodInDaysForFeatureUpdates" /t REG_DWORD /d 30 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # Opcje (użyj tylko jednej) # 2 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 2 -Force | Out-Null # 3 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 3 -Force | Out-Null # 4 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 4 -Force | Out-Null # 5 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 5 -Force | Out-Null # 6 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 6 -Force | Out-Null # 7 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 7 -Force | Out-Null # 8 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 8 -Force | Out-Null # 9 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 9 -Force | Out-Null # 10 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 10 -Force | Out-Null # 11 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 11 -Force | Out-Null # 12 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 12 -Force | Out-Null # 13 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 13 -Force | Out-Null # 14 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 14 -Force | Out-Null # 15 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 15 -Force | Out-Null # 16 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 16 -Force | Out-Null # 17 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 17 -Force | Out-Null # 18 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 18 -Force | Out-Null # 19 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 19 -Force | Out-Null # 20 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 20 -Force | Out-Null # 21 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 21 -Force | Out-Null # 22 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 22 -Force | Out-Null # 23 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 23 -Force | Out-Null # 24 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 24 -Force | Out-Null # 25 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 25 -Force | Out-Null # 26 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 26 -Force | Out-Null # 27 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 27 -Force | Out-Null # 28 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 28 -Force | Out-Null # 29 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 29 -Force | Out-Null # 30 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartDeadlinePeriodInDaysForFeatureUpdates' -PropertyType DWord -Value 30 -Force | Out-Null