none
SCCM 2012 SP1 客户端没有自动安装更新的问题 RRS feed

  • 问题

  • 请求帮助~ 首先说明一下,我们的的架构模式为: 中心管理站点+子站点的模式!子站点是通过VPN 连接到中心管理站眯的。 现在的问题如下:

    1. 当我在中心管理站点部署自动系统更新规则后,其中一个区域的的子站点的客户端没有安装更新,我是分别对每个子站点进去建立自动规则的,就是说,比上海(SH0),北京(BJ0)都是子站点,  创建一条WINDOWS 7 更新的自动部署规则到SH0 的计算机集。然后SH0 与中心站点更新同步也是正常的, 自动规则生效后,问题来了,客户端没有进行任何的更新动作,

    2. 当我手动抓取一些WINOWS7 的更新,然后手动部署到计算机集合, 在客户端的软件中心可以查看到更新的补丁,但是确并没有进行自动安装,而是看到计划到截止时间安装,即使到了截止时间 ,这些更新也没有安装。不知是哪里设定出了问题。

    3.  我的域策略,已经设定了,自动检查更新,自动下载更新并安装,等等 。。并且域策略是生效的。

    2016年9月9日 11:48

答案

全部回复

  • 您好,

    如果您想用SCCM部署更新,请不要配置组策略。

    请查看客户端日志文件排错:

    WindowsUpdate.log,UpdatesHandler.log,WUAHandler.log

    https://technet.microsoft.com/en-us/library/hh427342.aspx#BKMK_SU_NAPLog


    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年9月13日 3:24
    版主
  • 你好! 组策略本来是没有加的,因为更新不了,我才后期加上去的!

    下面是一些相关日志,也没发现什么出错的地方,请帮忙看看有没有什么问题!

    WUAhandler.log :

    <![LOG[Successfully completed scan.]LOG]!><time="15:01:45.203-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="26496" file="cwuahandler.cpp:3557">
    <![LOG[Scan results will include all superseded updates.]LOG]!><time="16:41:54.413-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="40620" file="cwuahandler.cpp:2913">
    <![LOG[Search Criteria is ((DeploymentAction=* AND Type='Software' AND CategoryIDs contains 'BFE5B177-A086-47A0-B102-097E4FA1F807') OR (DeploymentAction=* AND Type='Software' AND CategoryIDs contains 'CD5FFD1E-E932-4E3A-BF74-18BF0B1BBD83'))]LOG]!><time="16:41:54.413-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="40620" file="cwuahandler.cpp:2916">
    <![LOG[Async searching of updates using WUAgent started.]LOG]!><time="16:41:54.473-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="40620" file="cwuahandler.cpp:579">
    <![LOG[Async searching completed.]LOG]!><time="16:43:18.259-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="73608" file="cwuahandler.cpp:2068">
    <![LOG[Successfully completed scan.]LOG]!><time="16:43:20.834-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="77816" file="cwuahandler.cpp:3557">
    <![LOG[Scan results will include all superseded updates.]LOG]!><time="16:43:21.984-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="cwuahandler.cpp:2913">
    <![LOG[Search Criteria is ((DeploymentAction=* AND Type='Software' AND CategoryIDs contains '0FA1201D-4330-4FA8-8AE9-B877473B6441') OR (DeploymentAction=* AND Type='Software' AND CategoryIDs contains 'CD5FFD1E-E932-4E3A-BF74-18BF0B1BBD83') OR (DeploymentAction=* AND Type='Software' AND CategoryIDs contains 'BFE5B177-A086-47A0-B102-097E4FA1F807') OR (DeploymentAction=* AND Type='Software' AND CategoryIDs contains '28BC880E-0592-4CBF-8F95-C79B17911D5F'))]LOG]!><time="16:43:21.984-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="cwuahandler.cpp:2916">
    <![LOG[Async searching of updates using WUAgent started.]LOG]!><time="16:43:22.000-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="cwuahandler.cpp:579">
    <![LOG[Async searching completed.]LOG]!><time="16:43:54.111-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="75796" file="cwuahandler.cpp:2068">
    <![LOG[Successfully completed scan.]LOG]!><time="16:43:56.294-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="77816" file="cwuahandler.cpp:3557">
    <![LOG[Its a WSUS Update Source type ({09F99CA3-4EC3-4F77-8658-8ABD463D96D4}), adding it.]LOG]!><time="16:43:56.863-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="sourcemanager.cpp:1232">
    <![LOG[Existing WUA Managed server was already set (HTTP://TEST.LAMEX.COM:8530), skipping Group Policy registration.]LOG]!><time="16:43:57.429-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="sourcemanager.cpp:936">
    <![LOG[Added Update Source ({09F99CA3-4EC3-4F77-8658-8ABD463D96D4}) of content type: 2]LOG]!><time="16:43:57.433-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="sourcemanager.cpp:1265">
    <![LOG[Scan results will include all superseded updates.]LOG]!><time="16:43:57.437-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="cwuahandler.cpp:2913">
    <![LOG[Search Criteria is (DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver')]LOG]!><time="16:43:57.437-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="cwuahandler.cpp:2916">
    <![LOG[Async searching of updates using WUAgent started.]LOG]!><time="16:43:57.451-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="79080" file="cwuahandler.cpp:579">
    <![LOG[Async searching completed.]LOG]!><time="16:44:30.512-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="67420" file="cwuahandler.cpp:2068">
    <![LOG[Successfully completed scan.]LOG]!><time="16:44:32.543-480" date="09-13-2016" component="WUAHandler" context="" type="1" thread="40620" file="cwuahandler.cpp:3557">

    UpdatesHandler.log

    <![LOG[Initiating updates scan for checking applicability.]LOG]!><time="16:41:54.264-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="76628" file="capplicabilityhandler.cpp:459">
    <![LOG[Successfully initiated scan.]LOG]!><time="16:41:54.363-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="76628" file="capplicabilityhandler.cpp:515">
    <![LOG[Initiating updates scan for checking applicability.]LOG]!><time="16:41:54.530-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="capplicabilityhandler.cpp:459">
    <![LOG[Successfully initiated scan.]LOG]!><time="16:41:54.554-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="capplicabilityhandler.cpp:515">
    <![LOG[Updates scan completion received, result = 0x0.]LOG]!><time="16:43:21.873-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="74644" file="capplicabilityhandler.cpp:100">
    <![LOG[Method (Discover) called from SDM.]LOG]!><time="16:43:22.490-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="cupdatesagent.cpp:186">
    <![LOG[Starting job with id = {1A936A76-D6B7-4541-B37E-3B3EAA8E9857}]LOG]!><time="16:43:22.529-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="job.cpp:811">
    <![LOG[Initiating Scan. Forced = (0)]LOG]!><time="16:43:22.844-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="job.cpp:1682">
    <![LOG[Successfully initiated scan for job ({1A936A76-D6B7-4541-B37E-3B3EAA8E9857}).]LOG]!><time="16:43:22.884-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="job.cpp:1737">
    <![LOG[Updates scan completion received, result = 0x0.]LOG]!><time="16:43:56.891-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="77816" file="capplicabilityhandler.cpp:100">
    <![LOG[Method (Discover) called from SDM.]LOG]!><time="16:43:57.934-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="79080" file="cupdatesagent.cpp:186">
    <![LOG[Starting job with id = {14BEAA40-D767-40A4-AB03-39F79E502586}]LOG]!><time="16:43:57.934-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="79080" file="job.cpp:811">
    <![LOG[Initiating Scan. Forced = (0)]LOG]!><time="16:43:58.656-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="79080" file="job.cpp:1682">
    <![LOG[Successfully initiated scan for job ({14BEAA40-D767-40A4-AB03-39F79E502586}).]LOG]!><time="16:43:58.760-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="79080" file="job.cpp:1737">
    <![LOG[Scan completion received for job ({1A936A76-D6B7-4541-B37E-3B3EAA8E9857}).]LOG]!><time="16:44:33.130-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="61516" file="job.cpp:1775">
    <![LOG[Evaluating status of the updates for the job ({1A936A76-D6B7-4541-B37E-3B3EAA8E9857}).]LOG]!><time="16:44:33.130-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="61516" file="job.cpp:2466">
    <![LOG[Scan completion received for job ({14BEAA40-D767-40A4-AB03-39F79E502586}).]LOG]!><time="16:44:33.131-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="77816" file="job.cpp:1775">
    <![LOG[Evaluating status of the updates for the job ({14BEAA40-D767-40A4-AB03-39F79E502586}).]LOG]!><time="16:44:33.135-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="77816" file="job.cpp:2466">
    <![LOG[Successfully sent job ({1A936A76-D6B7-4541-B37E-3B3EAA8E9857}) success completion to the SdmAgent]LOG]!><time="16:44:33.137-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="job.cpp:1635">
    <![LOG[CompleteJob received from SDM.]LOG]!><time="16:44:33.174-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="cupdatesagent.cpp:300">
    <![LOG[Complete - Job ({1A936A76-D6B7-4541-B37E-3B3EAA8E9857}) Cleanup.]LOG]!><time="16:44:33.174-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="job.cpp:1418">
    <![LOG[CompleteJob - Job ({1A936A76-D6B7-4541-B37E-3B3EAA8E9857}) removed from job manager list.]LOG]!><time="16:44:33.181-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="jobmanager.cpp:205">
    <![LOG[Successfully sent job ({14BEAA40-D767-40A4-AB03-39F79E502586}) success completion to the SdmAgent]LOG]!><time="16:44:33.192-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="40620" file="job.cpp:1635">
    <![LOG[CompleteJob received from SDM.]LOG]!><time="16:44:33.252-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="77816" file="cupdatesagent.cpp:300">
    <![LOG[Complete - Job ({14BEAA40-D767-40A4-AB03-39F79E502586}) Cleanup.]LOG]!><time="16:44:33.252-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="77816" file="job.cpp:1418">
    <![LOG[CompleteJob - Job ({14BEAA40-D767-40A4-AB03-39F79E502586}) removed from job manager list.]LOG]!><time="16:44:33.330-480" date="09-13-2016" component="UpdatesHandler" context="" type="1" thread="77816" file="jobmanager.cpp:205">

    Windowsupdate.log

    2016-09-13 16:41:54:413 2696 9eac COMAPI -------------
    2016-09-13 16:41:54:413 2696 9eac COMAPI -- START --  COMAPI: Search [ClientId = CcmExec]
    2016-09-13 16:41:54:413 2696 9eac COMAPI ---------
    2016-09-13 16:41:54:473 1384 114d0 Agent *************
    2016-09-13 16:41:54:473 2696 9eac COMAPI <<-- SUBMITTED -- COMAPI: Search [ClientId = CcmExec]
    2016-09-13 16:41:54:473 1384 114d0 Agent ** START **  Agent: Finding updates [CallerId = CcmExec]
    2016-09-13 16:41:54:473 1384 114d0 Agent *********
    2016-09-13 16:41:54:473 1384 114d0 Agent   * Include potentially superseded updates
    2016-09-13 16:41:54:473 1384 114d0 Agent   * Online = No; Ignore download priority = Yes
    2016-09-13 16:41:54:473 1384 114d0 Agent   * Criteria = "((DeploymentAction=* AND Type='Software' AND CategoryIDs contains 'BFE5B177-A086-47A0-B102-097E4FA1F807') OR (DeploymentAction=* AND Type='Software' AND CategoryIDs contains 'CD5FFD1E-E932-4E3A-BF74-18BF0B1BBD83'))"
    2016-09-13 16:41:54:473 1384 114d0 Agent   * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
    2016-09-13 16:41:54:473 1384 114d0 Agent   * Search Scope = {Machine}
    2016-09-13 16:43:17:465 1384 114d0 Agent   * Added update {D67C7500-DC7F-467F-BF7A-71986CA4A42A}.202 to search result
    2016-09-13 16:43:17:465 1384 114d0 Agent   * Added update {C74EE200-8D03-4CD0-81AD-005D755AA805}.200 to search result
    2016-09-13 16:43:17:465 1384 114d0 Agent   * Added update {7E2C1602-6CEF-4561-8135-E4D6FE51D6FE}.201 to search result
    2016-09-13 16:43:17:465 1384 114d0 Agent   * Added update {0AFD7C03-78D2-4CE0-8C1A-DF2FBB9317E8}.203 to search result
    2016-09-13 16:43:17:465 1384 114d0 Agent   * Added update {14C9B803-8F12-45A5-8F00---936B6EC937EE}.202 to search result

    ====== 太多就不传了,

    下面是winodwsupdate结尾部分

    2016-09-13 16:44:30:142 1384 114d0 Agent Bundle contains no deployed children and thus is invalid.
    2016-09-13 16:44:30:142 1384 114d0 Agent Update {331F63F8-DE4A-4D15-9B21-1F4364E36A20}.101 is not a valid bundle. Not returning it.
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {B89CF7F9-FBDE-45A5-B783-811EF50E2321}.203 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {CE0122FA-3BB3-4BE4-B1AA-902FE2150753}.201 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {057B51FA-A4D8-4832-BD60-D981071731B7}.200 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {01E49AFA-5893-4D4E-8EA4-7504E4539686}.204 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {87D7D2FB-B4F0-4F7E-8A3A-B9ED4C4CD7A3}.201 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {3DBAE6FB-1A34-45D1-B199-DD05EBFE833B}.201 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {0FDA0CFC-7CA1-4F78-AE19-90977C948ED3}.202 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {84335FFC-BC5F-4C41-8DAC-E96499D320AF}.201 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {70102DFD-B6CE-482E-AAA6-003EB3BBE29E}.201 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {FB6206FF-CA5C-487A-9997-183543FE280F}.201 to search result
    2016-09-13 16:44:30:142 1384 114d0 Agent   * Added update {E04E77FF-D6AF-4338-809E-0BDAC69E6FEB}.202 to search result
    2016-09-13 16:44:30:144 1384 114d0 Agent   * Found 348 updates and 86 categories in search; evaluated appl. rules of 2747 out of 5901 deployed entities
    2016-09-13 16:44:30:189 1384 114d0 Agent *********
    2016-09-13 16:44:30:189 1384 114d0 Agent **  END  **  Agent: Finding updates [CallerId = CcmExec]
    2016-09-13 16:44:30:189 1384 114d0 Agent *************
    2016-09-13 16:44:30:192 1384 114d0 Report REPORT EVENT: {10CB8EF6-6ECA-4CCA-A0C6-84760D2A243F} 2016-09-13 16:44:30:145+0800 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 CcmExec Success Software Synchronization Windows Update Client successfully detected 348 updates.
    2016-09-13 16:44:30:192 1384 114d0 Report REPORT EVENT: {82339F82-E6DD-4607-B94C-386584C4752C} 2016-09-13 16:44:30:146+0800 1 156 101 {00000000-0000-0000-0000-000000000000} 0 0 CcmExec Success Pre-Deployment Check Reporting client status.
    2016-09-13 16:44:30:193 2696 12ff8 COMAPI >>--  RESUMED  -- COMAPI: Search [ClientId = CcmExec]
    2016-09-13 16:44:30:512 2696 12ff8 COMAPI   - Updates found = 348
    2016-09-13 16:44:30:512 2696 12ff8 COMAPI ---------
    2016-09-13 16:44:30:512 2696 12ff8 COMAPI --  END  --  COMAPI: Search [ClientId = CcmExec]
    2016-09-13 16:44:30:512 2696 12ff8 COMAPI -------------

    2016年9月13日 9:01
  • 用CMTrace查看日志,查看高亮错误的片段。

    https://blogs.technet.microsoft.com/configmgrdogs/2012/06/06/trace32-execmtrace-exe-hidden-features/


    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年9月13日 9:11
    版主