Win7 Windows Update 安裝更新後強制倒數重開機,最多只能延後 4 小時,無法取消。透過本機群組原則啟用「已登入使用者不自動重新啟動進行排程自動更新安裝」,即可徹底禁止強制重開機。
gpedit.msc → 開啟「本機群組原則編輯器」。
以管理員身分執行 CMD:
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f
或手動建立 .reg 檔匯入:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoRebootWithLoggedOnUsers"=dword:00000001