為更新指定預約重新啟動轉換和通知排程 的登錄值 SetEngagedRestartTransitionSchedule 等 6 個電腦HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate

原則 ID
EngagedRestartTransitionSchedule
適用範圍
電腦設定
支援的作業系統
Windows Server 2016 (經由 Windows Server 2022) 或 Windows 10​
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › Windows Update › 舊版原則

登錄

SetEngagedRestartTransitionSchedule

REG_DWORD電腦
啟用時的值
1
停用時的值
0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 已啟用
"SetEngagedRestartTransitionSchedule"=dword:00000001
; 已停用
"SetEngagedRestartTransitionSchedule"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已啟用
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetEngagedRestartTransitionSchedule" /t REG_DWORD /d 1 /f
:: 已停用
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetEngagedRestartTransitionSchedule" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# 選項 (只使用其中一個)
# 已啟用
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetEngagedRestartTransitionSchedule' -PropertyType DWord -Value 1 -Force | Out-Null
# 已停用
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetEngagedRestartTransitionSchedule' -PropertyType DWord -Value 0 -Force | Out-Null

EngagedRestartTransitionSchedule

REG_DWORD電腦
啟用時的值
取決於選項值
元素
轉換 (天):
選項
項目儲存的值
00
11
22
33
44
55
66
77
88
99
1010
1111
1212
1313
1414
1515
1616
1717
1818
1919
2020
2121
2222
2323
2424
2525
2626
2727
2828
2929
3030
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 0
"EngagedRestartTransitionSchedule"=dword:00000000
; 1
"EngagedRestartTransitionSchedule"=dword:00000001
; 2
"EngagedRestartTransitionSchedule"=dword:00000002
; 3
"EngagedRestartTransitionSchedule"=dword:00000003
; 4
"EngagedRestartTransitionSchedule"=dword:00000004
; 5
"EngagedRestartTransitionSchedule"=dword:00000005
; 6
"EngagedRestartTransitionSchedule"=dword:00000006
; 7
"EngagedRestartTransitionSchedule"=dword:00000007
; 8
"EngagedRestartTransitionSchedule"=dword:00000008
; 9
"EngagedRestartTransitionSchedule"=dword:00000009
; 10
"EngagedRestartTransitionSchedule"=dword:0000000a
; 11
"EngagedRestartTransitionSchedule"=dword:0000000b
; 12
"EngagedRestartTransitionSchedule"=dword:0000000c
; 13
"EngagedRestartTransitionSchedule"=dword:0000000d
; 14
"EngagedRestartTransitionSchedule"=dword:0000000e
; 15
"EngagedRestartTransitionSchedule"=dword:0000000f
; 16
"EngagedRestartTransitionSchedule"=dword:00000010
; 17
"EngagedRestartTransitionSchedule"=dword:00000011
; 18
"EngagedRestartTransitionSchedule"=dword:00000012
; 19
"EngagedRestartTransitionSchedule"=dword:00000013
; 20
"EngagedRestartTransitionSchedule"=dword:00000014
; 21
"EngagedRestartTransitionSchedule"=dword:00000015
; 22
"EngagedRestartTransitionSchedule"=dword:00000016
; 23
"EngagedRestartTransitionSchedule"=dword:00000017
; 24
"EngagedRestartTransitionSchedule"=dword:00000018
; 25
"EngagedRestartTransitionSchedule"=dword:00000019
; 26
"EngagedRestartTransitionSchedule"=dword:0000001a
; 27
"EngagedRestartTransitionSchedule"=dword:0000001b
; 28
"EngagedRestartTransitionSchedule"=dword:0000001c
; 29
"EngagedRestartTransitionSchedule"=dword:0000001d
; 30
"EngagedRestartTransitionSchedule"=dword:0000001e
CMD
:: 選項 (只使用其中一個)

:: 0
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 0 /f
:: 1
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 1 /f
:: 2
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 2 /f
:: 3
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 3 /f
:: 4
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 4 /f
:: 5
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 5 /f
:: 6
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 6 /f
:: 7
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 7 /f
:: 8
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 8 /f
:: 9
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 9 /f
:: 10
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 10 /f
:: 11
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 11 /f
:: 12
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 12 /f
:: 13
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 13 /f
:: 14
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 14 /f
:: 15
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 15 /f
:: 16
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 16 /f
:: 17
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 17 /f
:: 18
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 18 /f
:: 19
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 19 /f
:: 20
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 20 /f
:: 21
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 21 /f
:: 22
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 22 /f
:: 23
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 23 /f
:: 24
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 24 /f
:: 25
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 25 /f
:: 26
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 26 /f
:: 27
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 27 /f
:: 28
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 28 /f
:: 29
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 29 /f
:: 30
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionSchedule" /t REG_DWORD /d 30 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# 選項 (只使用其中一個)
# 0
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 0 -Force | Out-Null
# 1
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 1 -Force | Out-Null
# 2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 2 -Force | Out-Null
# 3
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 3 -Force | Out-Null
# 4
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 4 -Force | Out-Null
# 5
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 5 -Force | Out-Null
# 6
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 6 -Force | Out-Null
# 7
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 7 -Force | Out-Null
# 8
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 8 -Force | Out-Null
# 9
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 9 -Force | Out-Null
# 10
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 10 -Force | Out-Null
# 11
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 11 -Force | Out-Null
# 12
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 12 -Force | Out-Null
# 13
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 13 -Force | Out-Null
# 14
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 14 -Force | Out-Null
# 15
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 15 -Force | Out-Null
# 16
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 16 -Force | Out-Null
# 17
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 17 -Force | Out-Null
# 18
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 18 -Force | Out-Null
# 19
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 19 -Force | Out-Null
# 20
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 20 -Force | Out-Null
# 21
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 21 -Force | Out-Null
# 22
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 22 -Force | Out-Null
# 23
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 23 -Force | Out-Null
# 24
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 24 -Force | Out-Null
# 25
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 25 -Force | Out-Null
# 26
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 26 -Force | Out-Null
# 27
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 27 -Force | Out-Null
# 28
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 28 -Force | Out-Null
# 29
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 29 -Force | Out-Null
# 30
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -PropertyType DWord -Value 30 -Force | Out-Null

EngagedRestartSnoozeSchedule

REG_DWORD電腦
啟用時的值
取決於選項值
元素
延遲 (天):
選項
項目儲存的值
11
22
33
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 1
"EngagedRestartSnoozeSchedule"=dword:00000001
; 2
"EngagedRestartSnoozeSchedule"=dword:00000002
; 3
"EngagedRestartSnoozeSchedule"=dword:00000003
CMD
:: 選項 (只使用其中一個)

:: 1
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartSnoozeSchedule" /t REG_DWORD /d 1 /f
:: 2
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartSnoozeSchedule" /t REG_DWORD /d 2 /f
:: 3
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartSnoozeSchedule" /t REG_DWORD /d 3 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# 選項 (只使用其中一個)
# 1
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeSchedule' -PropertyType DWord -Value 1 -Force | Out-Null
# 2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeSchedule' -PropertyType DWord -Value 2 -Force | Out-Null
# 3
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeSchedule' -PropertyType DWord -Value 3 -Force | Out-Null

EngagedRestartDeadline

REG_DWORD電腦
啟用時的值
取決於選項值
元素
期限 (天):
選項
項目儲存的值
00
22
33
44
55
66
77
88
99
1010
1111
1212
1313
1414
1515
1616
1717
1818
1919
2020
2121
2222
2323
2424
2525
2626
2727
2828
2929
3030
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 0
"EngagedRestartDeadline"=dword:00000000
; 2
"EngagedRestartDeadline"=dword:00000002
; 3
"EngagedRestartDeadline"=dword:00000003
; 4
"EngagedRestartDeadline"=dword:00000004
; 5
"EngagedRestartDeadline"=dword:00000005
; 6
"EngagedRestartDeadline"=dword:00000006
; 7
"EngagedRestartDeadline"=dword:00000007
; 8
"EngagedRestartDeadline"=dword:00000008
; 9
"EngagedRestartDeadline"=dword:00000009
; 10
"EngagedRestartDeadline"=dword:0000000a
; 11
"EngagedRestartDeadline"=dword:0000000b
; 12
"EngagedRestartDeadline"=dword:0000000c
; 13
"EngagedRestartDeadline"=dword:0000000d
; 14
"EngagedRestartDeadline"=dword:0000000e
; 15
"EngagedRestartDeadline"=dword:0000000f
; 16
"EngagedRestartDeadline"=dword:00000010
; 17
"EngagedRestartDeadline"=dword:00000011
; 18
"EngagedRestartDeadline"=dword:00000012
; 19
"EngagedRestartDeadline"=dword:00000013
; 20
"EngagedRestartDeadline"=dword:00000014
; 21
"EngagedRestartDeadline"=dword:00000015
; 22
"EngagedRestartDeadline"=dword:00000016
; 23
"EngagedRestartDeadline"=dword:00000017
; 24
"EngagedRestartDeadline"=dword:00000018
; 25
"EngagedRestartDeadline"=dword:00000019
; 26
"EngagedRestartDeadline"=dword:0000001a
; 27
"EngagedRestartDeadline"=dword:0000001b
; 28
"EngagedRestartDeadline"=dword:0000001c
; 29
"EngagedRestartDeadline"=dword:0000001d
; 30
"EngagedRestartDeadline"=dword:0000001e
CMD
:: 選項 (只使用其中一個)

:: 0
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 0 /f
:: 2
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 2 /f
:: 3
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 3 /f
:: 4
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 4 /f
:: 5
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 5 /f
:: 6
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 6 /f
:: 7
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 7 /f
:: 8
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 8 /f
:: 9
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 9 /f
:: 10
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 10 /f
:: 11
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 11 /f
:: 12
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 12 /f
:: 13
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 13 /f
:: 14
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 14 /f
:: 15
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 15 /f
:: 16
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 16 /f
:: 17
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 17 /f
:: 18
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 18 /f
:: 19
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 19 /f
:: 20
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 20 /f
:: 21
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 21 /f
:: 22
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 22 /f
:: 23
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 23 /f
:: 24
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 24 /f
:: 25
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 25 /f
:: 26
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 26 /f
:: 27
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 27 /f
:: 28
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 28 /f
:: 29
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 29 /f
:: 30
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadline" /t REG_DWORD /d 30 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# 選項 (只使用其中一個)
# 0
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 0 -Force | Out-Null
# 2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 2 -Force | Out-Null
# 3
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 3 -Force | Out-Null
# 4
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 4 -Force | Out-Null
# 5
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 5 -Force | Out-Null
# 6
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 6 -Force | Out-Null
# 7
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 7 -Force | Out-Null
# 8
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 8 -Force | Out-Null
# 9
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 9 -Force | Out-Null
# 10
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 10 -Force | Out-Null
# 11
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 11 -Force | Out-Null
# 12
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 12 -Force | Out-Null
# 13
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 13 -Force | Out-Null
# 14
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 14 -Force | Out-Null
# 15
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 15 -Force | Out-Null
# 16
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 16 -Force | Out-Null
# 17
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 17 -Force | Out-Null
# 18
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 18 -Force | Out-Null
# 19
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 19 -Force | Out-Null
# 20
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 20 -Force | Out-Null
# 21
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 21 -Force | Out-Null
# 22
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 22 -Force | Out-Null
# 23
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 23 -Force | Out-Null
# 24
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 24 -Force | Out-Null
# 25
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 25 -Force | Out-Null
# 26
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 26 -Force | Out-Null
# 27
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 27 -Force | Out-Null
# 28
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 28 -Force | Out-Null
# 29
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 29 -Force | Out-Null
# 30
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -PropertyType DWord -Value 30 -Force | Out-Null

EngagedRestartTransitionScheduleForFeatureUpdates

REG_DWORD電腦
啟用時的值
取決於選項值
元素
轉換 (天):
選項
項目儲存的值
00
11
22
33
44
55
66
77
88
99
1010
1111
1212
1313
1414
1515
1616
1717
1818
1919
2020
2121
2222
2323
2424
2525
2626
2727
2828
2929
3030
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 0
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000000
; 1
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000001
; 2
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000002
; 3
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000003
; 4
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000004
; 5
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000005
; 6
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000006
; 7
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000007
; 8
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000008
; 9
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000009
; 10
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000000a
; 11
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000000b
; 12
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000000c
; 13
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000000d
; 14
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000000e
; 15
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000000f
; 16
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000010
; 17
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000011
; 18
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000012
; 19
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000013
; 20
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000014
; 21
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000015
; 22
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000016
; 23
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000017
; 24
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000018
; 25
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000019
; 26
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000001a
; 27
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000001b
; 28
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000001c
; 29
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000001d
; 30
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:0000001e
CMD
:: 選項 (只使用其中一個)

:: 0
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 0 /f
:: 1
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 1 /f
:: 2
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 2 /f
:: 3
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 3 /f
:: 4
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 4 /f
:: 5
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 5 /f
:: 6
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 6 /f
:: 7
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 7 /f
:: 8
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 8 /f
:: 9
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 9 /f
:: 10
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 10 /f
:: 11
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 11 /f
:: 12
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 12 /f
:: 13
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 13 /f
:: 14
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 14 /f
:: 15
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 15 /f
:: 16
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 16 /f
:: 17
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 17 /f
:: 18
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 18 /f
:: 19
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 19 /f
:: 20
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 20 /f
:: 21
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 21 /f
:: 22
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 22 /f
:: 23
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 23 /f
:: 24
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 24 /f
:: 25
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 25 /f
:: 26
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 26 /f
:: 27
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 27 /f
:: 28
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 28 /f
:: 29
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 29 /f
:: 30
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartTransitionScheduleForFeatureUpdates" /t REG_DWORD /d 30 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# 選項 (只使用其中一個)
# 0
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 0 -Force | Out-Null
# 1
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 1 -Force | Out-Null
# 2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 2 -Force | Out-Null
# 3
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 3 -Force | Out-Null
# 4
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 4 -Force | Out-Null
# 5
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 5 -Force | Out-Null
# 6
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 6 -Force | Out-Null
# 7
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 7 -Force | Out-Null
# 8
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 8 -Force | Out-Null
# 9
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 9 -Force | Out-Null
# 10
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 10 -Force | Out-Null
# 11
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 11 -Force | Out-Null
# 12
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 12 -Force | Out-Null
# 13
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 13 -Force | Out-Null
# 14
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 14 -Force | Out-Null
# 15
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 15 -Force | Out-Null
# 16
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 16 -Force | Out-Null
# 17
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 17 -Force | Out-Null
# 18
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 18 -Force | Out-Null
# 19
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 19 -Force | Out-Null
# 20
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 20 -Force | Out-Null
# 21
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 21 -Force | Out-Null
# 22
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 22 -Force | Out-Null
# 23
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 23 -Force | Out-Null
# 24
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 24 -Force | Out-Null
# 25
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 25 -Force | Out-Null
# 26
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 26 -Force | Out-Null
# 27
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 27 -Force | Out-Null
# 28
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 28 -Force | Out-Null
# 29
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 29 -Force | Out-Null
# 30
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -PropertyType DWord -Value 30 -Force | Out-Null

EngagedRestartSnoozeScheduleForFeatureUpdates

REG_DWORD電腦
啟用時的值
取決於選項值
元素
延遲 (天):
選項
項目儲存的值
11
22
33
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 1
"EngagedRestartSnoozeScheduleForFeatureUpdates"=dword:00000001
; 2
"EngagedRestartSnoozeScheduleForFeatureUpdates"=dword:00000002
; 3
"EngagedRestartSnoozeScheduleForFeatureUpdates"=dword:00000003
CMD
:: 選項 (只使用其中一個)

:: 1
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartSnoozeScheduleForFeatureUpdates" /t REG_DWORD /d 1 /f
:: 2
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartSnoozeScheduleForFeatureUpdates" /t REG_DWORD /d 2 /f
:: 3
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartSnoozeScheduleForFeatureUpdates" /t REG_DWORD /d 3 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# 選項 (只使用其中一個)
# 1
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -PropertyType DWord -Value 1 -Force | Out-Null
# 2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -PropertyType DWord -Value 2 -Force | Out-Null
# 3
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -PropertyType DWord -Value 3 -Force | Out-Null

EngagedRestartDeadlineForFeatureUpdates

REG_DWORD電腦
啟用時的值
取決於選項值
元素
期限 (天):
選項
項目儲存的值
00
22
33
44
55
66
77
88
99
1010
1111
1212
1313
1414
1515
1616
1717
1818
1919
2020
2121
2222
2323
2424
2525
2626
2727
2828
2929
3030
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 0
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000000
; 2
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000002
; 3
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000003
; 4
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000004
; 5
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000005
; 6
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000006
; 7
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000007
; 8
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000008
; 9
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000009
; 10
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000000a
; 11
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000000b
; 12
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000000c
; 13
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000000d
; 14
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000000e
; 15
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000000f
; 16
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000010
; 17
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000011
; 18
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000012
; 19
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000013
; 20
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000014
; 21
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000015
; 22
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000016
; 23
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000017
; 24
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000018
; 25
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000019
; 26
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000001a
; 27
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000001b
; 28
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000001c
; 29
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000001d
; 30
"EngagedRestartDeadlineForFeatureUpdates"=dword:0000001e
CMD
:: 選項 (只使用其中一個)

:: 0
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 0 /f
:: 2
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 2 /f
:: 3
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 3 /f
:: 4
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 4 /f
:: 5
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 5 /f
:: 6
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 6 /f
:: 7
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 7 /f
:: 8
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 8 /f
:: 9
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 9 /f
:: 10
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 10 /f
:: 11
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 11 /f
:: 12
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 12 /f
:: 13
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 13 /f
:: 14
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 14 /f
:: 15
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 15 /f
:: 16
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 16 /f
:: 17
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 17 /f
:: 18
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 18 /f
:: 19
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 19 /f
:: 20
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 20 /f
:: 21
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 21 /f
:: 22
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 22 /f
:: 23
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 23 /f
:: 24
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 24 /f
:: 25
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 25 /f
:: 26
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 26 /f
:: 27
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 27 /f
:: 28
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 28 /f
:: 29
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 29 /f
:: 30
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "EngagedRestartDeadlineForFeatureUpdates" /t REG_DWORD /d 30 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# 選項 (只使用其中一個)
# 0
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 0 -Force | Out-Null
# 2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 2 -Force | Out-Null
# 3
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 3 -Force | Out-Null
# 4
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 4 -Force | Out-Null
# 5
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 5 -Force | Out-Null
# 6
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 6 -Force | Out-Null
# 7
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 7 -Force | Out-Null
# 8
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 8 -Force | Out-Null
# 9
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 9 -Force | Out-Null
# 10
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 10 -Force | Out-Null
# 11
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 11 -Force | Out-Null
# 12
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 12 -Force | Out-Null
# 13
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 13 -Force | Out-Null
# 14
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 14 -Force | Out-Null
# 15
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 15 -Force | Out-Null
# 16
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 16 -Force | Out-Null
# 17
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 17 -Force | Out-Null
# 18
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 18 -Force | Out-Null
# 19
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 19 -Force | Out-Null
# 20
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 20 -Force | Out-Null
# 21
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 21 -Force | Out-Null
# 22
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 22 -Force | Out-Null
# 23
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 23 -Force | Out-Null
# 24
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 24 -Force | Out-Null
# 25
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 25 -Force | Out-Null
# 26
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 26 -Force | Out-Null
# 27
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 27 -Force | Out-Null
# 28
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 28 -Force | Out-Null
# 29
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 29 -Force | Out-Null
# 30
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -PropertyType DWord -Value 30 -Force | Out-Null