我的 VM SCCM windows 2012 R2 服务器无法在我的 windows 7 VM 上获取 sccm 客户端。
我尝试了客户端推送并且 CCMSetup.exe 正在运行,但最终停止。
ccmsetup.log 给我GetDPLocations failed with error 0x80004005:
<![LOG[Sending message header '<Msg SchemaVersion="1.1"><ID>{50C62C2C-DD4B-4314-9623-C554140C1312}</ID><SourceHost>DIEDERIKSPC</SourceHost>
<TargetAddress>mp:[http]MP_LocationManager</TargetAddress>
<ReplyTo>direct:DIEDERIKSPC:LS_ReplyLocations</ReplyTo>
<Priority>3</Priority><Timeout>600</Timeout><ReqVersion>5931</ReqVersion>
<TargetHost>WIN-52BO8J9011M.poliforma.nl</TargetHost>
<TargetEndpoint>MP_LocationManager</TargetEndpoint>
<ReplyMode>Sync</ReplyMode><Protocol>http</Protocol><SentTime>2017-10-09T16:48:38Z</SentTime><Body Type="ByteRange" Offset="0" Length="1120"/><Hooks>
<Hook3 Name="zlib-compress"/></Hooks><Payload Type="inline"/></Msg>']LOG]!>
<time="18:48:38.081-120" date="10-09-2017" component="ccmsetup" context="" type="0" thread="868" file="siteinfo.cpp:177">
<![LOG[CCM_POST 'HTTP://WIN-52BO8J9011M.poliforma.nl/ccm_system/request']LOG]!><time="18:48:38.081-120" date="10-09-2017" component="ccmsetup" context="" type="1" thread="868" file="httphelper.cpp:807">
<![LOG[Failed to receive ccm message response. Status code = 404]LOG]!><time="18:48:38.096-120" date="10-09-2017" component="ccmsetup" context="" type="2" thread="868" file="httphelper.cpp:1694">
<![LOG[GetDPLocations failed with error 0x80004005]LOG]!>
<time="18:48:38.096-120" date="10-09-2017" component="ccmsetup" context="" type="3" thread="868" file="siteinfo.cpp:532">
<![LOG[Failed to get DP locations as the expected version from MP 'WIN-52BO8J9011M.poliforma.nl'. Error 0x80004005]LOG]!><time="18:48:38.096-120" date="10-09-2017" component="ccmsetup" context="" type="2" thread="868" file="ccmsetup.cpp:10926">
<![LOG[A Fallback Status Point has not been specified. Message with STATEID='101' will not be sent.]LOG]!><time="18:48:38.096-120" date="10-09-2017" component="ccmsetup" context="" type="1" thread="868" file="ccmsetup.cpp:9428">
<![LOG[Next retry in 10 minute(s)...]LOG]!><time="18:48:38.096-120" date="10-09-2017" component="ccmsetup" context="" type="0" thread="868" file="ccmsetup.cpp:8498">
我的 SCCM 站点已发布到我的域。我已将 domainadmin 设置为客户端推送安装的帐户。我以管理员身份运行 Extadsch.exe。我有一个系统管理容器,授予我的 sccm 服务器完全权限。我使用组策略允许防火墙上的入站和出站端口:
- TCP 80,443,445,10123,135,2701,8530,1433,4022
- UDP 9,25536,67,68,135
- 文件和打印机共享,
- WMI
已安装远程差分压缩功能。
我安装了 BITS 功能。我还注意到在 sccm 中找不到用户。我不知道这是否有问题,但我启用了 AD 用户和组发现。
ccmsetup.log 现在不同了:
<![LOG[Received header '<Msg SchemaVersion="1.1">
<ID>{CC1F4564-DD1E-46D2-9771-E10CE01041EE}</ID>
<SourceID>GUID:49295132-F8E6-4600-9903-51390C758F97</SourceID>
<SourceHost>WIN-52BO8J9011M</SourceHost>
<TargetAddress>direct:DIEDERIKSPC:LS_ReplyLocations</TargetAddress>
<ReplyTo>MP_LocationManager</ReplyTo>
<CorrelationID>{00000000-0000-0000-0000-000000000000}</CorrelationID>
<Priority>3</Priority>
<Timeout>600</Timeout>
<TargetHost>DIEDERIKSPC</TargetHost>
<TargetEndpoint>LS_ReplyLocations</TargetEndpoint><ReplyMode>Sync</ReplyMode><Protocol>http</Protocol><SentTime>2017-10-17T09:39:15Z</SentTime><Body Type="ByteRange" Offset="0" Length="1254"/><Hooks><Hook3 Name="zlib-compress"/><Hook Name="authenticate"><Property Name="Signature">3082019706092A864886F70D010702A082018830820184020101310B300906052B0E03021A0500300B06092A864886F70D010701318201633082015F020101303C3028311830160603550403130F57494E2D3532424F384A393031314D310C300A06035504031303534D53021067DEC56C7E5170A24D46DEBE4A962567300906052B0E03021A0500300D06092A864886F70D0101010500048201004AD7622A1DC0711902608B7CACD3B47F9E5EF7D464AEB04E128F74101056748E8C2BD5ED844C04CEE655D7CE24D0F7EFDD462B0B642C72E2B606CD8B37B402000D1B216039E0856D2A1F9B9F53B9839B3CE065EC476458C67F15433DEBFE528F062DB5BE9E2980002A614C6ED75B9AFF18DEB5365D72526D2201DB25A38AC0C9A7A64C7B3B44FB086519FABF98E7C9E348E98D4D62282FAABC9B3FF164CDAEE9B11927BAF1E5AB755D351B49312583CE7463FAB102BF88EB4ABF1BABC78F63005131F900ADC7264BBB7F861137A0C3FA3AA1D2095BBB38F8A70A6FD118B3B6C401A2F7E063D3C3B78DED76949AF36BDDC242851C620ABCC0F8298305398C42BA</Property><Property Name="AuthSenderMachine">WIN-52BO8J9011M;WIN-52BO8J9011M.poliforma.nl;</Property><Property Name="MPSiteCode">RSP</Property></Hook></Hooks><Payload Type="inline"/></Msg>']LOG]!><time="11:39:15.941-120" date="10-17-2017" component="ccmsetup" context="" type="0" thread="3064" file="httphelper.cpp:1724">
<![LOG[Received reply body '<ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags=""><ContentHashValues/></ContentInfo><Sites><Site><MPSite SiteCode="RSP" MasterSiteCode="RSP" SiteLocality="LOCAL" IISPreferedPort="" IISSSLPreferedPort=""/><LocationRecords/></Site></Sites><ClientPackage FullPackageID="RSP00001" FullPackageVersion="1" FullPackageHash="5EF3A189C48F3469440A83026EC8ECD36EAD6EAF3B5D35663F8201BDE175413C" MinimumClientVersion="5.00.7804.1000" RandomizeMaxDays="7" ProgramEnabled="false" LastModifiedTime="30621757;2748940928" SiteVersionMatch="true" SiteVersion="5.00.7804.1000" EnablePeerCache="true"/></ContentLocationReply>']LOG]!><time="11:39:15.941-120" date="10-17-2017" component="ccmsetup" context="" type="0" thread="3064" file="siteinfo.cpp:221">
<![LOG[Failed to get DP locations as the expected version from MP 'WIN-52BO8J9011M.poliforma.nl'. Error 0x87d00215]LOG]!><time="11:39:15.941-120" date="10-17-2017" component="ccmsetup" context="" type="2" thread="3064" file="ccmsetup.cpp:10926">
<![LOG[MP 'WIN-52BO8J9011M.poliforma.nl' didn't return DP locations for client package with the expected version. Retrying in 30 minutes.]LOG]!><time="11:39:15.941-120" date="10-17-2017" component="ccmsetup" context="" type="2" thread="3064" file="ccmsetup.cpp:10752">
<![LOG[Next retry in 30 minute(s)...]LOG]!><time="11:39:15.941-120" date="10-17-2017" component="ccmsetup" context="" type="0" thread="3064" file="ccmsetup.cpp:8498">
CCMSetup.exe 现在似乎没有停止。
我从 sccm 服务器重新安装了管理点角色,但这也不起作用。
编辑:
当我从\Win-52bo8j9011m\sms_rsp\Client(sccm 服务器)复制客户端安装文件并尝试安装 sccm-client 时,它只安装了 microsoft silverlight,并且在控制面板的配置管理器中没有任何变化:
在 sccm 中,对于 windows 7 VM,安装的客户端仍然不可用。
client.msi 日志文件的一部分:
[13:38:32] ERROR: Cannot find the IntallUtil.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe. Please install .NET Framework. Cannot find path C:\Windows\Microsoft.NET\Framework\v4.0.30319\
MSI (s) (88:44) [13:38:37:873]: Windows Installer reconfigured the product. Product Name: Configuration Manager Client. Product Version: 5.00.7804.1000. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
所以我安装了 .NET Framework 并在 Windows 7 VM 上再次运行了 CCMSetup.exe。
在 ccmsetup.log 中再次出现相同的错误:
<![LOG[Failed to get assigned site from AD. Error 0x80004005]LOG]!><time="13:58:04.382-120" date="10-17-2017" component="ccmsetup" context="" type="2" thread="2968" file="ccmsetup.cpp:260">
<![LOG[GetADInstallParams failed with 0x80004005]LOG]!><time="13:58:04.382-120" date="10-17-2017" component="ccmsetup" context="" type="3" thread="2968" file="ccmsetup.cpp:300">
编辑2:
我以为我的 Windows 文件夹中缺少一个名为IComboObject.dll的 DLL 文件(https://www.youtube.com/watch?v=eIgqpQbTcb8)。
我下载了 DLL 文件并在我的 system32 文件夹中运行了一个命令:
regsvr32 MyComobject.dll
我收到一个找不到文件的错误,所以我搜索了更多内容并找到了这个视频。我在我的 system32 文件夹中输入了这个命令:
regsvr32 jscript.dll
之后,错误从我的 client.msi 和 ccmsetup.log 文件中消失了。
我仍然没有工作的 sccm-client。我看到我的 sccm-server 中的 windows 7 上没有安装任何客户端。
错误代码仍然是 0x80004005,但现在消息不同了。
ccmsetup.log 中的错误:
<![LOG[Failed to get assigned site from AD. Error 0x80004005]LOG]!><time="16:54:19.708-120" date="10-17-2017" component="ccmsetup" context="" type="2" thread="304" file="ccmsetup.cpp:260">
<![LOG[GetADInstallParams failed with 0x80004005]LOG]!><time="16:54:19.708-120" date="10-17-2017" component="ccmsetup" context="" type="3" thread="304" file="ccmsetup.cpp:300">
<![LOG[Couldn't find an MP source through AD. Error 0x80004005]LOG]!><time="16:54:19.708-120" date="10-17-2017" component="ccmsetup" context="" type="1" thread="304" file="ccmsetup.cpp:4643">
我在 client.msi 中看到的错误是:
[15:52:18] WARNING: Failed to delete setup in progress time-stamp with error 0x80070002
MSI (s) (A8:1C) [15:52:18:142]: Executing op: ActionStart(Name=SmsRemoteControlRepairConfig,Description=Repair may require to start Remote Control Service if Remote Control is enalbed.,)
[15:52:18] ERROR: Unable to enumerate files in {3DA228BE-34DA-49f4-A081-66465B077429} (0x80070003)