WSUS 更新失敗,錯誤程式碼為 0x80244018
我目前在 MS 2012 R2 機器上執行 WSUS 伺服器。它應該更新企業網路中的所有電腦。
目前我面臨的問題是只有一些電腦和一些伺服器成功地從伺服器中提取更新。其他人無法獲取更新並創建以下錯誤日誌,您可以在下面找到。此外,所有出錯的電腦也未在 WSUS 伺服器上註冊/無法在註冊電腦列表中找到。
2017-04-06 11:15:25:256 1076 340 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates] 2017-04-06 11:15:25:256 1076 340 Agent ********* 2017-04-06 11:15:25:256 1076 340 Agent * Online = Yes; Ignore download priority = No 2017-04-06 11:15:25:256 1076 340 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1" 2017-04-06 11:15:25:256 1076 340 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed 2017-04-06 11:15:25:256 1076 340 Agent * Search Scope = {Machine} 2017-04-06 11:15:25:257 1076 340 Setup Checking for agent SelfUpdate 2017-04-06 11:15:25:257 1076 340 Setup Client version: Core: 7.6.7601.23453 Aux: 7.6.7601.23453 2017-04-06 11:15:25:298 1076 340 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80190193 2017-04-06 11:15:25:298 1076 340 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80190193 2017-04-06 11:15:25:298 1076 340 Misc WARNING: DownloadFileInternal failed for http://servername.domain.de:8530/selfupdate/wuident.cab: error 0x80190193 2017-04-06 11:15:25:298 1076 340 Setup FATAL: DownloadCab failed, err = 0x80190193 2017-04-06 11:15:25:298 1076 340 Setup WARNING: SelfUpdate check failed to download package information, error = 0x80244018 2017-04-06 11:15:25:298 1076 340 Setup FATAL: SelfUpdate check failed, err = 0x80244018 2017-04-06 11:15:25:299 1076 340 Agent * WARNING: Skipping scan, self-update check returned 0x80244018 2017-04-06 11:15:25:299 1076 340 Agent * WARNING: Exit code = 0x80244018 2017-04-06 11:15:25:299 1076 340 Agent ********* 2017-04-06 11:15:25:299 1076 340 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates] 2017-04-06 11:15:25:299 1076 340 Agent ************* 2017-04-06 11:15:25:299 1076 340 Agent WARNING: WU client failed Searching for update with error 0x80244018 2017-04-06 11:15:25:300 1076 1940 AU >>## RESUMED ## AU: Search for updates [CallId = {0A53A94C-53EA-41FA-8C59-948374CB3C99}] 2017-04-06 11:15:25:300 1076 1940 AU # WARNING: Search callback failed, result = 0x80244018 2017-04-06 11:15:25:300 1076 1940 AU # WARNING: Failed to find updates with error code 80244018 2017-04-06 11:15:25:300 1076 1940 AU ######### 2017-04-06 11:15:25:300 1076 1940 AU ## END ## AU: Search for updates [CallId = {0A53A94C-53EA-41FA-8C59-948374CB3C99}] 2017-04-06 11:15:25:300 1076 1940 AU ############# 2017-04-06 11:15:25:301 1076 1940 AU Successfully wrote event for AU health state:0 2017-04-06 11:15:25:301 1076 1940 AU AU setting next detection timeout to 2017-04-06 12:50:32 2017-04-06 11:15:25:302 1076 1940 AU Setting AU scheduled install time to 2017-04-07 10:00:00 2017-04-06 11:15:25:302 1076 1940 AU Successfully wrote event for AU health state:0 2017-04-06 11:15:25:303 1076 1940 AU Successfully wrote event for AU health state:0 2017-04-06 11:15:28:342 1076 340 Report REPORT EVENT: {330E68D8-2A4F-4CE2-BE80-DE664DD99254} 2017-04-06 11:15:23:342+0200 1 148 101 {D67661EB-2423-451D-BF5D-13199E37DF28} 1 80244018 SelfUpdate Failure Software Synchronization Windows Update Client failed to detect with error 0x80244018. 2017-04-06 11:15:28:342 1076 340 Report REPORT EVENT: {2656CBA2-80CE-4BBA-957A-151199F6E93B} 2017-04-06 11:15:25:298+0200 1 148 101 {D67661EB-2423-451D-BF5D-13199E37DF28} 1 80244018 SelfUpdate Failure Software Synchronization Windows Update Client failed to detect with error 0x80244018. 2017-04-06 11:15:28:367 1076 340 Report CWERReporter::HandleEvents - WER report upload completed with status 0x8 2017-04-06 11:15:28:367 1076 340 Report WER Report sent: 7.6.7601.23453 0x80244018(0) 67661EB-2423-451D-BF5D-13199E37DF28 Scan 1 0 SelfUpdate {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} 0 2017-04-06 11:15:28:381 1076 340 Report CWERReporter::HandleEvents - WER report upload completed with status 0x8 2017-04-06 11:15:28:381 1076 340 Report WER Report sent: 7.6.7601.23453 0x80244018(0) 67661EB-2423-451D-BF5D-13199E37DF28 Scan 1 0 SelfUpdate {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} 0 2017-04-06 11:17:12:532 1076 340 PT WARNING: Cached cookie has expired or new PID is available 2017-04-06 11:17:12:532 1076 340 PT Initializing simple targeting cookie, clientId = 799543b3-e459-460a-9f6a-1f43b08beb43, target group = , DNS name = m341 2017-04-06 11:17:12:532 1076 340 PT Server URL = http://servername.domain.de:8530/SimpleAuthWebService/SimpleAuth.asmx 2017-04-06 11:17:12:580 1076 340 PT WARNING: GetAuthorizationCookie failure, error = 0x80244018, soap client error = 10, soap error code = 0, HTTP status code = 403 2017-04-06 11:17:12:580 1076 340 PT WARNING: Failed to initialize Simple Targeting Cookie: 0x80244018 2017-04-06 11:17:12:580 1076 340 PT WARNING: PopulateAuthCookies failed: 0x80244018 2017-04-06 11:17:12:580 1076 340 PT WARNING: RefreshCookie failed: 0x80244018 2017-04-06 11:17:12:580 1076 340 PT WARNING: RefreshPTState failed: 0x80244018 2017-04-06 11:17:12:580 1076 340 PT WARNING: PTError: 0x80244018 2017-04-06 11:17:12:580 1076 340 Report WARNING: Reporter failed to upload events with hr = 80244018.
有趣的是,我可以
http://servername.domain.de:8530/SimpleAuthWebService/SimpleAuth.asmx
使用簡單的網路瀏覽器(Mozilla Firefox)從受影響的機器上成功訪問 URL。
解決方案
客戶端
顯然,導致原始問題中描述的錯誤的問題之一顯然是基於受影響電腦的代理設置(例如在
$$ 1 $$) (有關更多資訊
netsh
,WinHTTP
請參閱$$ 2 $$)。根據論壇文章$$ 1 $$執行以下命令是解決問題的第一步。netsh winhttp reset proxy
從任一
cmd
oder執行命令後ps
,必須重新啟動伺服器。隨後wuauclt
工具$$ 3 $$可用於嘗試在受影響的機器上自動配置更新:
wuauclt /detectnow /resetauthorization wuauclt /reportnow
執行這些命令後,可以啟動 Windows 更新實用程序來搜尋更新。此時客戶端應該成功地找到更新。如果現在嘗試安裝,更新實用程序可能會返回錯誤程式碼 80244017。要解決此錯誤,必須對 WSUS 伺服器進行一些修改。
伺服器端
傑夫·格雷夫斯
$$ 4 $$可以解決與錯誤分配對包含更新的 WSUS 伺服器文件夾的訪問權限相關的錯誤。為了糾正錯誤,必須確保使用者組(客戶端)有權
READ
訪問(NFTS
-rights)以下文件夾(ROOT-DIR
包含底層文件夾結構的分區):{ROOT-DIR}\WSUS\WsusContent
這裡重要的是為文件夾設置權限,
WsusContent
因為發現僅為WSUS
目錄設置權限是不夠的。參考
$$ 1 $$ https://www.administrator.de/frage/windows-update-fehler-code-0x80244018-exchange-2010-332674.html $$ 2 $$Microsoft Technet (2011) - 為 WinHTTP 配置代理設置 $$ 3 $$Microsoft Technet (2003) - 附錄 H:wuauclt 實用程序 $$ 4 $$Jeff Graves (2012) - WSUS 和更新下載失敗 0x80244017 - http://jeffgraves.me/2012/07/27/wsus-and-update-download-failure-80244017/