none
客户端无法从WSUS服务器端获取补丁包。 RRS feed

  • 问题

  • 客户端能在 WSUS上注册,但是无法从WSUS服务器端获取到补丁,错误日志如下:

    客户端WindowsUpdatelog如下

    2016-10-10 15:33:22:291  848 bc4 Misc ===========  Logging initialized (build: 7.8.9200.17185, tz: +0900)  ===========
    2016-10-10 15:33:22:291  848 bc4 Misc   = Process: C:\Windows\system32\svchost.exe
    2016-10-10 15:33:22:291  848 bc4 Misc   = Module: c:\windows\system32\wuaueng.dll
    2016-10-10 15:33:22:291  848 bc4 Service *************
    2016-10-10 15:33:22:291  848 bc4 Service ** START **  Service: Service startup
    2016-10-10 15:33:22:291  848 bc4 Service *********
    2016-10-10 15:33:22:603  848 bc4 Agent   * WU client version 7.8.9200.17185
    2016-10-10 15:33:22:603  848 bc4 Agent   * Base directory: C:\Windows\SoftwareDistribution
    2016-10-10 15:33:22:603  848 bc4 Agent   * Access type: No proxy
    2016-10-10 15:33:22:603  848 bc4 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
    2016-10-10 15:33:22:603  848 bc4 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2016-10-10 15:33:22:603  848 bc4 Agent   * Network state: Connected
    2016-10-10 15:33:22:653  848 bc4 Setup WARNING: SelfUpdate is in an error state
    2016-10-10 15:33:22:653  848 bc4 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
    2016-10-10 15:33:22:653  848 bc4 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2016-10-10 15:33:22:712  848 bc4 Agent ***********  Agent: Initializing global settings cache  ***********
    2016-10-10 15:33:22:712  848 bc4 Agent   * Endpoint Provider: 00000000-0000-0000-0000-000000000000
    2016-10-10 15:33:22:712  848 bc4 Agent   * WSUS server: http://#####
    2016-10-10 15:33:22:712  848 bc4 Agent   * WSUS status server: http:######
    2016-10-10 15:33:22:712  848 bc4 Agent   * Target group: (Unassigned Computers)
    2016-10-10 15:33:22:712  848 bc4 Agent   * Windows Update access disabled: No
    2016-10-10 15:33:22:712  848 bc4 Misc WARNING: Network Cost is assumed to be not supported as something failed with trying to get handles to wcmapi.dll
    2016-10-10 15:33:22:728  848 bc4 WuTask WuTaskManager delay initialize completed successfully..
    2016-10-10 15:33:22:868  848 bc4 Report WARNING: CSerializationHelper:: InitSerialize failed : 0x80070002
    2016-10-10 15:33:22:902  848 bc4 Report CWERReporter::Init succeeded
    2016-10-10 15:33:22:902  848 bc4 Agent ***********  Agent: Initializing Windows Update Agent  ***********
    2016-10-10 15:33:22:902  848 bc4 DnldMgr Download manager restoring 0 downloads
    2016-10-10 15:33:22:915  848 bc4 AU ###########  AU: Initializing Automatic Updates  ###########
    2016-10-10 15:33:22:915  848 bc4 AU AIR Mode is disabled
    2016-10-10 15:33:22:915  848 bc4 AU   # Policy Driven Provider: http://#######
    2016-10-10 15:33:22:915  848 bc4 AU   # Detection frequency: 12
    2016-10-10 15:33:22:915  848 bc4 AU   # Approval type: Pre-download notify (Policy)
    2016-10-10 15:33:22:915  848 bc4 AU   # Will interact with non-admins (Non-admins are elevated (User preference))
    2016-10-10 15:33:22:946  848 bc4 AU WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80240037
    2016-10-10 15:33:22:946  848 bc4 AU AU finished delayed initialization
    2016-10-10 15:33:22:946  848 bc4 AU Obtained Post reboot hr from Agent:8024000c
    2016-10-10 15:33:22:962  848 bc4 AU Triggering Offline detection (non-interactive)
    2016-10-10 15:33:22:977  848 bc4 AU #############
    2016-10-10 15:33:22:977  848 bc4 AU ## START ##  AU: Search for updates
    2016-10-10 15:33:22:977  848 bc4 AU #########
    2016-10-10 15:33:23:102  848 bc4 Report ***********  Report: Initializing static reporting data  ***********
    2016-10-10 15:33:23:102  848 bc4 Report   * OS Version = 6.2.9200.0.0.196880
    2016-10-10 15:33:23:102  848 bc4 Report   * OS Product Type = 0x00000007
    2016-10-10 15:33:23:102  848 bc4 Report   * Computer Brand = VMware, Inc.
    2016-10-10 15:33:23:102  848 bc4 Report   * Computer Model = VMware Virtual Platform
    2016-10-10 15:33:23:102  848 bc4 Report   * Platform Role = 1
    2016-10-10 15:33:23:102  848 bc4 Report   * AlwaysOn/AlwaysConnected (AOAC) = 0
    2016-10-10 15:33:23:102  848 bc4 Report   * Bios Revision = 6.00
    2016-10-10 15:33:23:102  848 bc4 Report   * Bios Name = PhoenixBIOS 4.0 Release 6.0    
    2016-10-10 15:33:23:102  848 bc4 Report   * Bios Release Date = 2012-07-09T00:00:00
    2016-10-10 15:33:23:102  848 bc4 Report   * Bios Sku Number unavailable.
    2016-10-10 15:33:23:102  848 bc4 Report   * Bios Vendor = Phoenix Technologies LTD
    2016-10-10 15:33:23:102  848 bc4 Report   * Bios Family unavailable.
    2016-10-10 15:33:23:102  848 bc4 Report   * Bios Major Release = 4
    2016-10-10 15:33:23:102  848 bc4 Report   * Bios Minor Release = 6
    2016-10-10 15:33:23:102  848 bc4 Report   * Locale ID = 1041
    2016-10-10 15:33:23:118  848 bc4 AU <<## SUBMITTED ## AU: Search for updates  [CallId = {0C9D5BCF-61F7-40C3-BB61-2A3BB1B7387C} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
    2016-10-10 15:33:23:118  848 12dc Agent *************
    2016-10-10 15:33:23:133  848 12dc Agent ** START **  Agent: Finding updates [CallerId = AutomaticUpdates]
    2016-10-10 15:33:23:133  848 12dc Agent *********
    2016-10-10 15:33:23:133  848 12dc Agent   * Online = No; Ignore download priority = No
    2016-10-10 15:33:23:133  848 12dc 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"
    2016-10-10 15:33:23:133  848 12dc Agent   * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
    2016-10-10 15:33:23:133  848 12dc Agent   * Search Scope = {Machine & All Users}
    2016-10-10 15:33:23:133  848 12dc Agent   * Caller SID for Applicability: S-1-5-18
    2016-10-10 15:34:39:262  848 12dc Agent FATAL: Failed to filter search results with error 8007000E
    2016-10-10 15:34:39:418  848 12dc Agent   * WARNING: Exit code = 0x8007000E
    2016-10-10 15:34:39:418  848 12dc Agent *********
    2016-10-10 15:34:39:418  848 12dc Agent **  END  **  Agent: Finding updates [CallerId = AutomaticUpdates]
    2016-10-10 15:34:39:418  848 12dc Agent *************
    2016-10-10 15:34:39:418  848 12dc Agent WARNING: WU client failed Searching for update with error 0x8007000e
    2016-10-10 15:34:39:418  848 dd4 AU >>##  RESUMED  ## AU: Search for updates [CallId = {0C9D5BCF-61F7-40C3-BB61-2A3BB1B7387C} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
    2016-10-10 15:34:39:481  848 dd4 AU   # WARNING: Search callback failed, result = 0x8007000E
    2016-10-10 15:34:39:481  848 dd4 AU #########
    2016-10-10 15:34:39:481  848 dd4 AU ##  END  ##  AU: Search for updates  [CallId = {0C9D5BCF-61F7-40C3-BB61-2A3BB1B7387C} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
    2016-10-10 15:34:39:481  848 dd4 AU #############
    2016-10-10 15:34:39:481  848 dd4 AU All AU searches complete.
    2016-10-10 15:34:39:481  848 dd4 AU   # WARNING: Failed to find updates with error code 8007000e
    2016-10-10 15:44:40:664  848 bc4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2016-10-10 15:44:40:867  848 bc4 WuTask Uninit WU Task Manager
    2016-10-10 15:44:41:210  848 bc4 Service *********
    2016-10-10 15:44:41:210  848 bc4 Service **  END  **  Service: Service exit [Exit code = 0x240001]
    2016-10-10 15:44:41:210  848 bc4 Service *************
    2016-10-10 18:19:51:140  848 3a4 Misc ===========  Logging initialized (build: 7.8.9200.17185, tz: +0900)  ===========
    2016-10-10 18:19:51:140  848 3a4 Misc   = Process: C:\Windows\system32\svchost.exe
    2016-10-10 18:19:51:140  848 3a4 Misc   = Module: c:\windows\system32\wuaueng.dll
    2016-10-10 18:19:51:140  848 3a4 Service *************
    2016-10-10 18:19:51:140  848 3a4 Service ** START **  Service: Service startup
    2016-10-10 18:19:51:140  848 3a4 Service *********
    2016-10-10 18:19:51:218  848 3a4 Agent   * WU client version 7.8.9200.17185
    2016-10-10 18:19:51:218  848 3a4 Agent   * Base directory: C:\Windows\SoftwareDistribution
    2016-10-10 18:19:51:218  848 3a4 Agent   * Access type: No proxy
    2016-10-10 18:19:51:218  848 3a4 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
    2016-10-10 18:19:51:218  848 3a4 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2016-10-10 18:19:51:218  848 3a4 Agent   * Network state: Connected
    2016-10-10 18:19:51:218  848 3a4 Setup WARNING: SelfUpdate is in an error state
    2016-10-10 18:19:51:218  848 3a4 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
    2016-10-10 18:19:51:218  848 3a4 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2016-10-10 18:19:51:280  848 3a4 Agent ***********  Agent: Initializing global settings cache  ***********
    2016-10-10 18:19:51:280  848 3a4 Agent   * Endpoint Provider: 00000000-0000-0000-0000-000000000000
    2016-10-10 18:19:51:280  848 3a4 Agent   * WSUS server: http:/#####
    2016-10-10 18:19:51:280  848 3a4 Agent   * WSUS status server: http://#######
    2016-10-10 18:19:51:280  848 3a4 Agent   * Target group: (Unassigned Computers)
    2016-10-10 18:19:51:280  848 3a4 Agent   * Windows Update access disabled: No
    2016-10-10 18:19:51:280  848 3a4 Misc WARNING: Network Cost is assumed to be not supported as something failed with trying to get handles to wcmapi.dll
    2016-10-10 18:19:51:311  848 3a4 WuTask WuTaskManager delay initialize completed successfully..
    2016-10-10 18:19:51:436  848 3a4 Report CWERReporter::Init succeeded
    2016-10-10 18:19:51:436  848 3a4 Agent ***********  Agent: Initializing Windows Update Agent  ***********
    2016-10-10 18:19:51:436  848 3a4 DnldMgr Download manager restoring 0 downloads
    2016-10-10 18:19:51:452  848 3a4 AU ###########  AU: Initializing Automatic Updates  ###########
    2016-10-10 18:19:51:452  848 3a4 AU AIR Mode is disabled
    2016-10-10 18:19:51:452  848 3a4 AU   # Policy Driven Provider:

    2016-10-10 18:19:51:452  848 3a4 AU   # Detection frequency: 12
    2016-10-10 18:19:51:452  848 3a4 AU   # Approval type: Pre-download notify (Policy)
    2016-10-10 18:19:51:452  848 3a4 AU   # Will interact with non-admins (Non-admins are elevated (User preference))
    2016-10-10 18:19:51:452  848 3a4 AU WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80240037
    2016-10-10 18:19:51:452  848 3a4 AU AU finished delayed initialization
    2016-10-10 18:19:51:452  848 3a4 AU Obtained Post reboot hr from Agent:8024000c
    2016-10-10 18:19:51:471  848 3a4 AU Triggering Offline detection (non-interactive)
    2016-10-10 18:19:51:483  848 3a4 AU #############



    2016年11月2日 1:24

答案

  • 问题解决了,是WSUS的问题和Client没关系。主要是WSUS的数据库有问题,少了很多.cab的文件,重新扫了一下,然后到微软官网重新下载一遍补丁,搞定。

    cd /d "c:\program files\update services\tools"

    wsusuntil reset

    • 已标记为答案 Zha ShuKang 2016年12月12日 2:44
    2016年12月12日 2:44

全部回复

  • 有人回复吗?坐等微软高手来。
    2016年11月2日 2:23
  • 你好,

    1. 这个问题是针对某个客户端还是大部分WSUS的客户端都存在这样的问题?

    2. 在有问题的客户端上请做以下这些操作;

    1)运行windows update troubleshooter, 这个帮助解决客户端的一些基础问题;

    2)重置windows update components:

    https://support.microsoft.com/en-us/kb/971058

    3) 如何这台客户端不是新机器的话,可以清理一下SoftwareDistribution文件夹,关闭windows update services, 找到C:\Windows\SoftwareDistribution, 删掉或重命名,然后重启windows update service;

    做完以上步骤后,再去向WSUS服务器下载更新,看看结果如何。

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2016年11月2日 5:19
    版主
  • 1. 这个问题是针对某个客户端还是大部分WSUS的客户端都存在这样的问题?

    --》这个只是针对某几个客户端。 绝大多数都是没问题的。

    2016年11月2日 5:54
  • 你好,

    请问你有没有尝试过我的上述建议了,结果如何?欢迎反馈。

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2016年11月7日 7:16
    版主
  • 尝试了后面2个都不成功。
    2016年11月24日 5:23
  • 你好,

    请再尝试更新一下Windows update agent的版本:

    https://support.microsoft.com/en-us/kb/949104

    另外,测试一下这些客户端能不能从网上下载更新。

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2016年11月28日 2:07
    版主
  • 又试了一下,还是不行,client更新到最新版本的agent还是同样的问题。
    2016年11月30日 6:59
  • 你好,

    请问你的问题有什么进展吗?如果还没有允许windows update troubleshooter的话请运行一下看看结果。

    并且,清一下SoftwareDistribution文件夹,在cmd中允许net stop wuauserv; 找到C:\Windows\SoftwareDistribution文件夹,删掉,然后在cmd中运行net start wuauserv.

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    2016年12月5日 1:55
    版主
  • 问题解决了,是WSUS的问题和Client没关系。主要是WSUS的数据库有问题,少了很多.cab的文件,重新扫了一下,然后到微软官网重新下载一遍补丁,搞定。

    cd /d "c:\program files\update services\tools"

    wsusuntil reset

    • 已标记为答案 Zha ShuKang 2016年12月12日 2:44
    2016年12月12日 2:44