一、在服务器上启用软件分发
![](https://i-blog.csdnimg.cn/blog_migrate/3ebd854423d7ffdf22ee114662af2b58.png)
![](https://i-blog.csdnimg.cn/blog_migrate/44eae2ac06a872a6527dd83d5d69ba4a.png)
二、在客户机上检查客户端代理状态的分发代理是否启用
![](https://i-blog.csdnimg.cn/blog_migrate/7dba29dd3aff09a316f37567c47cb082.png)
三、在服务器上开始软件分发
1、创建数据包
在SCCM服务器上,打开SCCM管理员控制台,在计算机管理里找到软件分发并展开,右键点击包,选择新建包。进行如下设置
![](https://i-blog.csdnimg.cn/blog_migrate/4351d19abaaf4cae899ea0423d636f0a.png)
![](https://i-blog.csdnimg.cn/blog_migrate/ed7237cb42724894f66474476b65e6e0.png)
其它设置默认。
2、创建程序
选择刚才创建的数据包展开,在数据包中选择新建程序
![](https://i-blog.csdnimg.cn/blog_migrate/b4976e24a9ebc5f6cda7c03b274cabd6.png)
![](https://i-blog.csdnimg.cn/blog_migrate/ae565f416a9bb1f0c8bd0ff58c53d050.png)
3、创建分发点。在刚才创建的数据包中选择新建分发点
![](https://i-blog.csdnimg.cn/blog_migrate/3396f76bd63f73b6497dd557ae68d682.png)
4、创建播发。在SCCM管理员控制台依次展开,在软件分发里选择播发,右键点击播发,选择“新建播发”。
![](https://i-blog.csdnimg.cn/blog_migrate/e58dc5fe7827a508f5c19f16b0513ea9.png)
四、查看客户机是否开始自动安装
过了播发时间后,客户机右下角出现了一个通知,通知显示指派的安装程序在5分钟内即将开始运行
查看客户机是否开始自动安装
![](https://i-blog.csdnimg.cn/blog_migrate/6d728075f2ccbc0b216d6dd55454e84b.png)
五、状态查看和故障排除
可以查看C:\WINDOWS\system32\CCM\Logs\execmgr.log文件,查看分布状态
LOG]!><time="16:49:02.851+000" date="06-14-2009" component="execmgr" context="" type="1" thread="1388" file="event.cpp:525">
<![LOG[Raised Program Success Event for Ad:RSJ20001, Package:RSJ00006, Program: 迅雷]LOG]!><time="16:49:02.866+000" date="06-14-2009" component="execmgr" context="" type="1" thread="1388" file="executioncontext.cpp:551">
<![LOG[Execution is complete for program 迅雷. The exit code is 0, the execution status is Success]LOG]!><time="16:49:02.866+000" date="06-14-2009" component="execmgr" context="" type="1" thread="1388" file="execreqmgr.cpp:3908">
<![LOG[Execution Manager timer has been fired.]LOG]!><time="16:53:22.344+000" date="06-14-2009" component="execmgr" context="" type="1" thread="1388" file="execreqmgr.cpp:5188">
<![LOG[Raised Program Success Event for Ad:RSJ20001, Package:RSJ00006, Program: 迅雷]LOG]!><time="16:49:02.866+000" date="06-14-2009" component="execmgr" context="" type="1" thread="1388" file="executioncontext.cpp:551">
<![LOG[Execution is complete for program 迅雷. The exit code is 0, the execution status is Success]LOG]!><time="16:49:02.866+000" date="06-14-2009" component="execmgr" context="" type="1" thread="1388" file="execreqmgr.cpp:3908">
<![LOG[Execution Manager timer has been fired.]LOG]!><time="16:53:22.344+000" date="06-14-2009" component="execmgr" context="" type="1" thread="1388" file="execreqmgr.cpp:5188">
也可以查看服务器上的C:\Program Files\Microsoft Configuration Manager\Logs\distmgr.log.
还可通过服务器上的软件分布查看包的分发状态。如下图
![](https://i-blog.csdnimg.cn/blog_migrate/c5eb237ee48973ac38a12a1df6bba46e.png)