Windows Update的圖示出現後馬上消失

[問題描述]: 我的Windows Update 圖示在右下角的工作列出現後,不一會就不見了,更新好像也沒安裝,請問如何處理

[問題說明]: 從MPSReport中檢查以下的log file

# Bistadmin  (client端有cache直接找舊的WSUS Server要求更新,當然也就找不到可以下載的點)

GUID: {C42E6844-C109-4BAC-BC4B-6E15D539C4D0} DISPLAY: WU Client Download
TYPE: DOWNLOAD STATE: SUSPENDED OWNER: NT AUTHORITY\SYSTEM
PRIORITY: HIGH FILES: 0 / 1 BYTES: 0 / UNKNOWN
CREATION TIME: 2009/12/23 下午 02:07:00 MODIFICATION TIME: 2010/1/12 下午 02:16:46
COMPLETION TIME: UNKNOWN ACL FLAGS:
NOTIFY INTERFACE: REGISTERED NOTIFICATION FLAGS: 11
RETRY DELAY: 1200 NO PROGRESS TIMEOUT: 1209600 ERROR COUNT: 1018
PROXY USAGE: NO_PROXY PROXY LIST: NULL PROXY BYPASS LIST: NULL
DESCRIPTION:
JOB FILES:  0 / UNKNOWN WORKING
https://old wsus hostname/Content/E8/6BB686381E32B6777FD868FD024A8C989A9211E8.exe -> C:\WINDOWS\SoftwareDistribution\Download\6348d47077295f9f0fddb91f0a5a6854\WindowsXP-KB961503-x86-CHT.exe
ERROR CODE:    0x80072ee7 - The server name or address could not be resolved
ERROR CONTEXT: 0x00000005 - 處理遠端檔案時發生錯誤。

# QFECheck (檢查QFECheck檔案時發現此更新已經安裝在此台XP中)

found some KB already installed at this system
KB961503: Current on system.
KB961501:  Current on system.
KB973815:  Current on system.
KB973507:  Current on system.
KB956744:  Current on system.
KB971557:  Current on system.

# Windowsupdate.log (從Windowsupdate.log 也有看到某些更新已經是重複的)

WARNING: Failed to add file to the FileLocationList with 0x80240013
-  0x80240013 WU_E_DUPLICATE_ITEM Operation tried to add a duplicate item to a list.

# System Event (系統的事件中有新的更新已經成功安裝,原則上是Cache造成BITS一直在跟舊的WSUS要求更新)

image

[解決方法]:

1. 安裝 Windows XP Support Tools
https://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&FamilyID=49ae8576-9bb9-4126-9761-ba8011fabf38

2. 執行bitsadmin指令清除BITS的queue
- bitsadmin /list (檢查目前BITS有多少要執行的Jobs)
- bitsadmin /reset /allusers (清除所有BITS目前的Jobs)

3. 停止 Automatic Updates / Background Intelligent Transfer Service / Cryptographic Services
- net stop wuauserv
- net stop bits
- net stop cryptsvc

4. 將C:\Windows\SoftwareDistribution和C:\Windows\system32\catroot2更名或刪除。

5. 將剛才停止的服務重新啟動
- net start cryptsvc
- net start bits
- net start wuauserv

6. 執行 wuauclt /detectnow 更WSUS做同步