設定自動更新 的登錄值 NoAutoUpdate 等 10 個電腦HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
- 原則 ID
- AutoUpdateCfg
- 適用範圍
- 電腦設定
- 支援的作業系統
- Windows XP Professional Service Pack 1 或至少 Windows 2000 Service Pack 3 選項 7 最低只支援 Windows Server 2016 版本的伺服器
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › Windows Update › 管理使用者體驗
登錄
NoAutoUpdate
REG_DWORD電腦- 啟用時的值
- 0
- 停用時的值
- 1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 已啟用 "NoAutoUpdate"=dword:00000000 ; 已停用 "NoAutoUpdate"=dword:00000001
CMD
:: 選項 (只使用其中一個) :: 已啟用 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 0 /f :: 已停用 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 已啟用 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'NoAutoUpdate' -PropertyType DWord -Value 0 -Force | Out-Null # 已停用 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'NoAutoUpdate' -PropertyType DWord -Value 1 -Force | Out-Null
AUOptions
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 設定自動更新:
| 項目 | 儲存的值 |
|---|---|
| 2 - 通知我下載並自動安裝 | 2 |
| 3 - 自動下載和通知我安裝 | 3 |
| 4 - 自動下載和排程安裝 | 4 |
| 5 - 允許本機系統管理員選擇設定 | 5 |
| 7 - 自動下載,通知安裝,通知重新啟動 | 7 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 2 - 通知我下載並自動安裝 "AUOptions"=dword:00000002 ; 3 - 自動下載和通知我安裝 "AUOptions"=dword:00000003 ; 4 - 自動下載和排程安裝 "AUOptions"=dword:00000004 ; 5 - 允許本機系統管理員選擇設定 "AUOptions"=dword:00000005 ; 7 - 自動下載,通知安裝,通知重新啟動 "AUOptions"=dword:00000007
CMD
:: 選項 (只使用其中一個) :: 2 - 通知我下載並自動安裝 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AUOptions" /t REG_DWORD /d 2 /f :: 3 - 自動下載和通知我安裝 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AUOptions" /t REG_DWORD /d 3 /f :: 4 - 自動下載和排程安裝 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AUOptions" /t REG_DWORD /d 4 /f :: 5 - 允許本機系統管理員選擇設定 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AUOptions" /t REG_DWORD /d 5 /f :: 7 - 自動下載,通知安裝,通知重新啟動 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AUOptions" /t REG_DWORD /d 7 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 2 - 通知我下載並自動安裝 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AUOptions' -PropertyType DWord -Value 2 -Force | Out-Null # 3 - 自動下載和通知我安裝 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AUOptions' -PropertyType DWord -Value 3 -Force | Out-Null # 4 - 自動下載和排程安裝 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AUOptions' -PropertyType DWord -Value 4 -Force | Out-Null # 5 - 允許本機系統管理員選擇設定 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AUOptions' -PropertyType DWord -Value 5 -Force | Out-Null # 7 - 自動下載,通知安裝,通知重新啟動 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AUOptions' -PropertyType DWord -Value 7 -Force | Out-Null
AutomaticMaintenanceEnabled
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 在自動維護期間安裝
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 已核取 "AutomaticMaintenanceEnabled"=dword:00000001 ; 未核取 "AutomaticMaintenanceEnabled"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AutomaticMaintenanceEnabled" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AutomaticMaintenanceEnabled" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AutomaticMaintenanceEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AutomaticMaintenanceEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
ScheduledInstallDay
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 排程安裝日期:
| 項目 | 儲存的值 |
|---|---|
| 0 - 每天 | 0 |
| 1 - 每個星期日 | 1 |
| 2 - 每個星期一 | 2 |
| 3 - 每個星期二 | 3 |
| 4 - 每個星期三 | 4 |
| 5 - 每個星期四 | 5 |
| 6 - 每個星期五 | 6 |
| 7 - 每個星期六 | 7 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 0 - 每天 "ScheduledInstallDay"=dword:00000000 ; 1 - 每個星期日 "ScheduledInstallDay"=dword:00000001 ; 2 - 每個星期一 "ScheduledInstallDay"=dword:00000002 ; 3 - 每個星期二 "ScheduledInstallDay"=dword:00000003 ; 4 - 每個星期三 "ScheduledInstallDay"=dword:00000004 ; 5 - 每個星期四 "ScheduledInstallDay"=dword:00000005 ; 6 - 每個星期五 "ScheduledInstallDay"=dword:00000006 ; 7 - 每個星期六 "ScheduledInstallDay"=dword:00000007
CMD
:: 選項 (只使用其中一個) :: 0 - 每天 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 0 /f :: 1 - 每個星期日 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 1 /f :: 2 - 每個星期一 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 2 /f :: 3 - 每個星期二 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 3 /f :: 4 - 每個星期三 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 4 /f :: 5 - 每個星期四 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 5 /f :: 6 - 每個星期五 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 6 /f :: 7 - 每個星期六 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 7 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 0 - 每天 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallDay' -PropertyType DWord -Value 0 -Force | Out-Null # 1 - 每個星期日 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallDay' -PropertyType DWord -Value 1 -Force | Out-Null # 2 - 每個星期一 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallDay' -PropertyType DWord -Value 2 -Force | Out-Null # 3 - 每個星期二 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallDay' -PropertyType DWord -Value 3 -Force | Out-Null # 4 - 每個星期三 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallDay' -PropertyType DWord -Value 4 -Force | Out-Null # 5 - 每個星期四 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallDay' -PropertyType DWord -Value 5 -Force | Out-Null # 6 - 每個星期五 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallDay' -PropertyType DWord -Value 6 -Force | Out-Null # 7 - 每個星期六 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallDay' -PropertyType DWord -Value 7 -Force | Out-Null
ScheduledInstallTime
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 排程安裝時間:
| 項目 | 儲存的值 |
|---|---|
| 自動 | 24 |
| 00:00 | 0 |
| 01:00 | 1 |
| 02:00 | 2 |
| 03:00 | 3 |
| 04:00 | 4 |
| 05:00 | 5 |
| 06:00 | 6 |
| 07:00 | 7 |
| 08:00 | 8 |
| 09:00 | 9 |
| 10:00 | 10 |
| 11:00 | 11 |
| 12:00 | 12 |
| 13:00 | 13 |
| 14:00 | 14 |
| 15:00 | 15 |
| 16:00 | 16 |
| 17:00 | 17 |
| 18:00 | 18 |
| 19:00 | 19 |
| 20:00 | 20 |
| 21:00 | 21 |
| 22:00 | 22 |
| 23:00 | 23 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 自動 "ScheduledInstallTime"=dword:00000018 ; 00:00 "ScheduledInstallTime"=dword:00000000 ; 01:00 "ScheduledInstallTime"=dword:00000001 ; 02:00 "ScheduledInstallTime"=dword:00000002 ; 03:00 "ScheduledInstallTime"=dword:00000003 ; 04:00 "ScheduledInstallTime"=dword:00000004 ; 05:00 "ScheduledInstallTime"=dword:00000005 ; 06:00 "ScheduledInstallTime"=dword:00000006 ; 07:00 "ScheduledInstallTime"=dword:00000007 ; 08:00 "ScheduledInstallTime"=dword:00000008 ; 09:00 "ScheduledInstallTime"=dword:00000009 ; 10:00 "ScheduledInstallTime"=dword:0000000a ; 11:00 "ScheduledInstallTime"=dword:0000000b ; 12:00 "ScheduledInstallTime"=dword:0000000c ; 13:00 "ScheduledInstallTime"=dword:0000000d ; 14:00 "ScheduledInstallTime"=dword:0000000e ; 15:00 "ScheduledInstallTime"=dword:0000000f ; 16:00 "ScheduledInstallTime"=dword:00000010 ; 17:00 "ScheduledInstallTime"=dword:00000011 ; 18:00 "ScheduledInstallTime"=dword:00000012 ; 19:00 "ScheduledInstallTime"=dword:00000013 ; 20:00 "ScheduledInstallTime"=dword:00000014 ; 21:00 "ScheduledInstallTime"=dword:00000015 ; 22:00 "ScheduledInstallTime"=dword:00000016 ; 23:00 "ScheduledInstallTime"=dword:00000017
CMD
:: 選項 (只使用其中一個) :: 自動 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 24 /f :: 00:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 0 /f :: 01:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 1 /f :: 02:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 2 /f :: 03:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 3 /f :: 04:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 4 /f :: 05:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 5 /f :: 06:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 6 /f :: 07:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 7 /f :: 08:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 8 /f :: 09:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 9 /f :: 10:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 10 /f :: 11:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 11 /f :: 12:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 12 /f :: 13:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 13 /f :: 14:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 14 /f :: 15:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 15 /f :: 16:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 16 /f :: 17:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 17 /f :: 18:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 18 /f :: 19:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 19 /f :: 20:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 20 /f :: 21:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 21 /f :: 22:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 22 /f :: 23:00 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 23 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 自動 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 24 -Force | Out-Null # 00:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 0 -Force | Out-Null # 01:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 1 -Force | Out-Null # 02:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 2 -Force | Out-Null # 03:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 3 -Force | Out-Null # 04:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 4 -Force | Out-Null # 05:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 5 -Force | Out-Null # 06:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 6 -Force | Out-Null # 07:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 7 -Force | Out-Null # 08:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 8 -Force | Out-Null # 09:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 9 -Force | Out-Null # 10:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 10 -Force | Out-Null # 11:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 11 -Force | Out-Null # 12:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 12 -Force | Out-Null # 13:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 13 -Force | Out-Null # 14:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 14 -Force | Out-Null # 15:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 15 -Force | Out-Null # 16:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 16 -Force | Out-Null # 17:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 17 -Force | Out-Null # 18:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 18 -Force | Out-Null # 19:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 19 -Force | Out-Null # 20:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 20 -Force | Out-Null # 21:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 21 -Force | Out-Null # 22:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 22 -Force | Out-Null # 23:00 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallTime' -PropertyType DWord -Value 23 -Force | Out-Null
ScheduledInstallEveryWeek
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 每週
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 已核取 "ScheduledInstallEveryWeek"=dword:00000001 ; 未核取 "ScheduledInstallEveryWeek"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallEveryWeek" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallEveryWeek" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallEveryWeek' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallEveryWeek' -PropertyType DWord -Value 0 -Force | Out-Null
ScheduledInstallFirstWeek
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 每月的第一週
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 已核取 "ScheduledInstallFirstWeek"=dword:00000001 ; 未核取 "ScheduledInstallFirstWeek"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallFirstWeek" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallFirstWeek" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallFirstWeek' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallFirstWeek' -PropertyType DWord -Value 0 -Force | Out-Null
ScheduledInstallSecondWeek
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 每月的第二週
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 已核取 "ScheduledInstallSecondWeek"=dword:00000001 ; 未核取 "ScheduledInstallSecondWeek"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallSecondWeek" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallSecondWeek" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallSecondWeek' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallSecondWeek' -PropertyType DWord -Value 0 -Force | Out-Null
ScheduledInstallThirdWeek
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 每月的第三週
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 已核取 "ScheduledInstallThirdWeek"=dword:00000001 ; 未核取 "ScheduledInstallThirdWeek"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallThirdWeek" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallThirdWeek" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallThirdWeek' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallThirdWeek' -PropertyType DWord -Value 0 -Force | Out-Null
ScheduledInstallFourthWeek
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 每月的第四週
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 已核取 "ScheduledInstallFourthWeek"=dword:00000001 ; 未核取 "ScheduledInstallFourthWeek"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallFourthWeek" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallFourthWeek" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallFourthWeek' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'ScheduledInstallFourthWeek' -PropertyType DWord -Value 0 -Force | Out-Null
AllowMUUpdateService
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 安裝適用於其他 Microsoft 產品的更新
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; 選項 (只使用其中一個) ; 已核取 "AllowMUUpdateService"=dword:00000001 ; 未核取 "AllowMUUpdateService"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AllowMUUpdateService" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AllowMUUpdateService" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AllowMUUpdateService' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AllowMUUpdateService' -PropertyType DWord -Value 0 -Force | Out-Null