Friday, July 1, 2011

如何讓Windows Update立即更新

症狀:
公司有架設WSUS server,Client有設定公司的WSUS server,但卻遲遲沒有進行更新。



解決方法:
方法一:
適用於已設定WSUS機碼,希望立即跟Server同步。
在CMD模式,執行
wsauclt /detectnow


方法二:
若上述方法不能解決,則在CMD模式,執行以下指令。或按此下載批次檔
---------------------------------------------------
@echo off
net stop wuauserv
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
del %SystemRoot%\SoftwareDistribution\*.* /S /Q
net start wuauserv
wuauclt /resetauthorization /detectnow
wuauclt.exe /downloadnow
wuauclt.exe /reportnow
---------------------------------------------------

批次檔內容

執行畫面

No comments:

Post a Comment