GetDPLocations 失敗,錯誤為 0x80004005
我的 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)
在客戶端推送設置中,我禁用了自動推送安裝並啟用了在域控制器中安裝的選項。在帳戶選項卡中,我已經有了我的域管理員。在安裝屬性中,我添加了我的 FSP 伺服器(具有備份角色的 sccm 伺服器)。
最後,我獲得了甜蜜的勝利:
我認為客戶端推送設置是問題所在,但我還必須告訴你我重新啟動了 Windows 7 VM。