感谢分享。我也分享两个bat脚本。
禁止自动更新.bat
[Asm] 纯文本查看 复制代码 @fltmc >nul || mshta vbscript:CreateObject("Shell.Application").ShellExecute("%~f0","%*",,"runas",1)(window.close) && exit /b
@echo off
schtasks /change /tn "\Microsoft\Windows\WindowsUpdate\Scheduled Start" /disable
sc stop wuauserv
sc config wuauserv start= disabled
sc stop UsoSvc
sc config UsoSvc start= disabled
恢复自动更新.bat
[Asm] 纯文本查看 复制代码 @fltmc >nul || mshta vbscript:CreateObject("Shell.Application").ShellExecute("%~f0","%*",,"runas",1)(window.close) && exit /b
@echo off
schtasks /change /tn "\Microsoft\Windows\WindowsUpdate\Scheduled Start" /enable
sc config wuauserv start= auto
sc start wuauserv
sc config UsoSvc start= delayed-auto
sc start UsoSvc |