Failed to install SMS Client (0x80004005)

I have an odd issue I cannot resolve and was hoping someone could tell me what is causing it and how to fix it. 

Using PXE boot - works fine

Choose the Task Sequence - works fine

Task Sequence items:

Restart in Windows PE - works fine

Format and Partition Disk - works fine

Apply OEM Operating system image - works fine

Apply windows settings - works fine

Apply network settings - works fine

Auto apply drivers - works fine

Setup Windows and Config Mgr - Here is where I think the problem starts

Install Applications - 50/50 if the task sequence kicks these off to install

Using brand new PC's all the same make / model HP ProDesk 600 SFF

50% of these do not complete successfully.

The 50% that succeed get a successful Config Mgr client and all 4 applications kick off properly and install fine.

The 50% that do not succeed - Config Mgr is on the pc but will NOT talk to Config Mgr & none of the applications kick off. No matter what I do I cannot get the client to communicate with Config manager.

Here is the section in the SMSTS.log file showing the errors. I have highlighted and underlined the actual errors.

==============================[ OSDSetupHook.exe ]============================== OSDSetupHook 9/3/2015 11:53:44 AM 2628 (0x0A44)
Logging successfully initialized to C:\_SMSTaskSequence\Logs OSDSetupHook 9/3/2015 11:53:44 AM 2628 (0x0A44)
Executing task sequence OSDSetupHook 9/3/2015 11:53:44 AM 2628 (0x0A44)
Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat". OSDSetupHook 9/3/2015 11:53:44 AM 2628 (0x0A44)
Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912} OSDSetupHook 9/3/2015 11:53:44 AM 2628 (0x0A44)
Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03} OSDSetupHook 9/3/2015 11:53:44 AM 2628 (0x0A44)
Saving existing desktop wallpaper settings. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Setting desktop wallpaper. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Configuring local administrator account OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Enabling local administrator account OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Re-assign all drive letters... OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Partition without driver letter:  OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Partition with driver letter: 0-1 OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Active partition is . New OS partition info: 0-1. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
sPartitionNoDriveLetter.length() > 0, HRESULT=00000000 (e:\nts_sccm_release\sms\framework\tscore\diskutils.cpp,1951) OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
The drive information which has no drive letter can not be found. No need to re-assign driver letters. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Installing SMS client OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Setting variable to indicate client installation attempted OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Clearing existing client configuration. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Cleaning existing client certificates from SMS certificate store OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Restoring SMS client identity. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
The client certificates were not found in the environment. New certificates will be generated. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Successfully restored the client identity. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
TS started from an unknown machine... Using submitted GUID GUID:42496f57-9902-41c3-bc77-826d0910d384 OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Using CRL:  OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Unable to read SMS client cert from environment. Not restoring SMS client cert. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Succeeded loading resource DLL 'C:\Windows\system32\_SMSOSDSetup\1033\TSRES.DLL' OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Command line for extension .exe is "%1" %* OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Set command line: "C:\Windows\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Executing command line: "C:\Windows\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
==========[ TsProgressUI started in process 2656 ]========== TsProgressUI 9/3/2015 11:53:45 AM 2660 (0x0A64)
Command line: "C:\Windows\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE TsProgressUI 9/3/2015 11:53:45 AM 2660 (0x0A64)
Registering COM classes TsProgressUI 9/3/2015 11:53:45 AM 2660 (0x0A64)
sbModulePath = C:\Windows\system32\_SMSOSDSetup\TsProgressUI.exe TsProgressUI 9/3/2015 11:53:45 AM 2660 (0x0A64)
Unregistering class objects TsProgressUI 9/3/2015 11:53:45 AM 2660 (0x0A64)
Shutdown complete. TsProgressUI 9/3/2015 11:53:45 AM 2660 (0x0A64)
Process completed with exit code 0 OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Successfully registered TS Progress UI. OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Executing C:\_SMSTaskSequence\OSD\CNC00003\ccmsetup.exe /useronly /source:C:\_SMSTaskSequence\OSD\CNC00003 /config:MobileClient.TCF /status:552 OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Command line for extension .exe is "%1" %* OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Set command line: "C:\_SMSTaskSequence\OSD\CNC00003\ccmsetup.exe" /useronly /source:C:\_SMSTaskSequence\OSD\CNC00003 /config:MobileClient.TCF /status:552 OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Executing command line: "C:\_SMSTaskSequence\OSD\CNC00003\ccmsetup.exe" /useronly /source:C:\_SMSTaskSequence\OSD\CNC00003 /config:MobileClient.TCF /status:552 OSDSetupHook 9/3/2015 11:53:45 AM 2628 (0x0A44)
Process completed with exit code 1 OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
FALSE, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdgina\installclient.cpp,1151) OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
Client installation failed, code 1 OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
   Setting URL = http://FQDN  Ports = 80,443, CRL = false OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
   Setting Server Certificates. OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
   Setting Authenticator. OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
Set authenticator in transport OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
   Setting Media Certificate. OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
pszUnicodeString != 0, HRESULT=80070057 (e:\nts_sccm_release\sms\framework\core\ccmcore\string.cpp,301) OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
Non fatal error 0x80070057 in sending task sequence execution status message to MP OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
   Setting URL = http://FQDN, Ports = 80,443, CRL = false OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
   Setting Server Certificates. OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
   Setting Authenticator. OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
Set authenticator in transport OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
   Setting Media Certificate. OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
pszUnicodeString != 0, HRESULT=80070057 (e:\nts_sccm_release\sms\framework\core\ccmcore\string.cpp,301) OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
Non fatal error 0x80070057 in sending task sequence execution status message to MP OSDSetupHook 9/3/2015 11:55:26 AM 2628 (0x0A44)
Command line for extension .exe is "%1" %* OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Set command line: "C:\Windows\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Executing command line: "C:\Windows\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
==========[ TsProgressUI started in process 524 ]========== TsProgressUI 9/3/2015 11:55:27 AM 1912 (0x0778)
Unregistering COM classes TsProgressUI 9/3/2015 11:55:27 AM 1912 (0x0778)
Shutdown complete. TsProgressUI 9/3/2015 11:55:27 AM 1912 (0x0778)
Process completed with exit code 0 OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Successfully unregistered TS Progress UI. OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
InstallSMSClient(loadDir, dwResult), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdgina\basesetuphook.cpp,1506) OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Failed to install SMS Client (0x80004005) OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Restoring original desktop wallpaper. OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
::SystemParametersInfoW( 0x0014, 0, (LPVOID)m_sOriginalWallpaper.c_str(), 0x0002 | 0x0001 ), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\osdgina\wallpaperselector.cpp,162) OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Uninstalling Setup Hook OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Removing setup hook from registry. OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Successfully removed C:\Windows\system32\OSDGINA.DLL OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Could not delete the file C:\Windows\system32\OSDSETUPHOOK.EXE. Error code 5 OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Marking the file C:\Windows\system32\OSDSETUPHOOK.EXE for deletion on Reboot OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Successfully removed C:\Windows\system32\OSDSETUPHOOK.EXE OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Successfully removed C:\Windows\system32\_SMSOSDSetup OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,811) OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
GetTsRegValue() is unsuccessful. 0x80070002. OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
End program:  OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Finalizing logging from process 2624 OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
loggingKey.Open((( HKEY ) (ULONG_PTR)((LONG)0x80000002) ), ClientLoggingKeyPath, ((((0x00020000L)) | (0x0001) | (0x0008) | (0x0010)) & (~(0x00100000L)))), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\tslogging.cpp,1519) OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Could not finalize logs to SMS client log directory (80070002) OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Successfully finalized logs to C:\Windows\TEMP\SMSTSLog OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Cleaning up task sequencing logging configuration. OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Cleaning up task sequence folder OSDSetupHook 9/3/2015 11:55:27 AM 2628 (0x0A44)
Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... OSDSetupHook 9/3/2015 11:55:32 AM 2628 (0x0A44)
this->run( bReboot ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdgina\vistasetuphook.cpp,222) OSDSetupHook 9/3/2015 11:55:32 AM 2628 (0x0A44)
pHook->execute(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdgina\osdsetuphook.cpp,284) OSDSetupHook 9/3/2015 11:55:32 AM 2628 (0x0A44)
Failed to execute task sequence (0x80004005) OSDSetupHook 9/3/2015 11:55:32 AM 2628 (0x0A44)

There are no visible errors during or after the entire process - the only way to tell is the applications that are suppose to install do not install and the machine does not show up in config manager.

These errors obviously do not appear if the TS was successful.

Any help is much appreciated in resolving this issue, thanks!

When imaging a pc everything goes well but 50% of the time when the image is complete

September 4th, 2015 11:50am

If the client does not install properly, then application/program installs are not likely to be successful.  So, the root issue is the client failing to install.  On a system that failed, are you able to get to the file system? If so, go to C:\Windows\ccmsetup\logs.  Take a look at the client.msi.log and ccmsetup.log.  What errors are in those logs?

Jeff

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 12:06pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics