Windows-Server-2008-R2

WSUS 警告:CSerializationHelper:: InitSerialize 失敗:0x80070002

  • November 2, 2016

最近在 server 2008 R2 / Windows 8.1 環境中設置了 WSUS。WSUS 3.0 SP2,一切似乎都在工作。GPO 正在工作,客戶端設備正在向 WSUS 伺服器報告,但由於某種原因,不會安裝更新。

在日誌文件中,所有客戶端機器搜尋相關更新,準備安裝它們,然後產生以下警告/錯誤。已經做了一些Google搜尋,但我找不到一個可靠的答案來解釋為什麼,有人知道嗎?

每個設備總是出現相同的錯誤…

    964    1c14    EP  Got WSUS Client/Server URL:     
    964    1c14    EP  Got WSUS Reporting URL:     
    964    1c14    Report  OpenReportingWebServiceConnection,     reporting URL = 
    964    1c14    Report  Uploading 2 events using cached     cookie.
    964    1c14    Report  Reporter successfully uploaded 2     events.
    964    e50 Report  WARNING: CSerializationHelper::     InitSerialize failed : 0x80070002
    964    e50 Report  WARNING: CSerializationHelper:: InitSerialize failed : 0x80070002
    964    e50 AU  ###########  AU: Uninitializing Automatic     Updates  ###########
    964    e50 WuTask  Uninit WU Task Manager
    964    e50 Service *********
    964    e50 Service **  END  **  Service: Service exit     [Exit code = 0x240001]

您可能還會注意到作業系統在您的 WSUS 伺服器上顯示 Windows Server 2003。您是否嘗試在 WSUS 伺服器上安裝KB2734608 ?您還需要確保在每個 Windows 8 和 Windows Server 2012 伺服器上執行 post 命令。

Net stop wuauserv

rd /s %windir%\softwaredistribution\

Net start wuauserv

有點奇怪的修復,但這對我有用:

net stop wuauserv
rd /S /Q c:\windows\SoftwareDistribution
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /d 0 /t REG_DWORD /f
reg ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /d 3 /t REG_DWORD /f
reg ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AutoInstallMinorUpdates /d 1 /t REG_DWORD /f
reg DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /f
net start wuauserv
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v EnableFeaturedSoftware /t REG_DWORD /d 0 /f
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v IncludeRecommendedUpdates /t REG_DWORD /d 0 /f
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 3 /f
reg ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /v DisableWindowsUpdateAccess /t REG_DWORD /d 0 /f
net stop wuauserv
net start wuauserv
wuauclt /detectnow

引用自:https://serverfault.com/questions/624639