Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, September 30, 2018 7:51 PM
I have come up against an issue that i cannot get to the bottom of.
We have 2012 SP1 and trying to install Windows 7 SP1 - it had been working fine.
All of a sudden all OSD Task Sequences are failing at Setup Windows and Configuration Manager. It gets as far as applying OS and running setup to install drivers, etc, at the point it reboots again and attempts to install the client it fails and drops straight to the logon screen.
I have tried different custom Images, the Windows 7 install.wim, creating a new Client Package, different boot images - nothing seems to change the outcome.
The client will install manually from a running OS and all other normal client functions are working on existing clients. COuld this be some sort of permissions issues?
SMSTS.log have the following errors (no CCMSETUP.log)
Executing C:\SMSTaskSequence\OSD\RLG00001\ccmsetup.exe /useronly /source:C:\SMSTaskSequence\OSD\RLG00001 /config:MobileClient.TCF /status:648 OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Command line for extension .exe is "%1" %* OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Set command line: "C:\SMSTaskSequence\OSD\RLG00001\ccmsetup.exe" /useronly /source:C:\SMSTaskSequence\OSD\RLG00001 /config:MobileClient.TCF /status:648 OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Executing command line: "C:\SMSTaskSequence\OSD\RLG00001\ccmsetup.exe" /useronly /source:C:\SMSTaskSequence\OSD\RLG00001 /config:MobileClient.TCF /status:648 OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
CreateProcess( NULL, (LPWSTR)m_sCommandLine.c_str(), NULL, NULL, TRUE, bNT ? CREATE_UNICODE_ENVIRONMENT : 0, m_pEnvironmentBlock, pszWorkingDir, &si, &pi ), HRESULT=800700c1 (e:\qfe\nts\sms\framework\core\ccmcore\commandline.cpp,1018) OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
CreateProcess failed. Code(0x800700C1) OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Command line execution failed (800700C1) OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
cmd.Execute(), HRESULT=800700c1 (e:\qfe\nts\sms\client\osdeployment\osdgina\installclient.cpp,1092) OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Setting URL = http://servername, Ports = 80,443, CRL = false OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Setting Server Certificates. OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Setting Authenticator. OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Set authenticator in transport OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Setting Media Certificate. OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
pszUnicodeString != 0, HRESULT=80070057 (e:\qfe\nts\sms\framework\core\ccmcore\string.cpp,301) OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Non fatal error 0x80070057 in sending task sequence execution status message to MP OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Setting URL = http://servername, Ports = 80,443, CRL = false OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Setting Server Certificates. OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Setting Authenticator. OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Set authenticator in transport OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Setting Media Certificate. OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
pszUnicodeString != 0, HRESULT=80070057 (e:\qfe\nts\sms\framework\core\ccmcore\string.cpp,301) OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Non fatal error 0x80070057 in sending task sequence execution status message to MP OSDSetupHook 30/09/2018 20:12:00 828 (0x033C)
Command line for extension .exe is "%1" %* OSDSetupHook 30/09/2018 20:12:01 828 (0x033C)
Set command line: "C:\Windows\system32\SMSOSDSetup\TsProgressUI.exe" /Unregister OSDSetupHook 30/09/2018 20:12:01 828 (0x033C)
Executing command line: "C:\Windows\system32\SMSOSDSetup\TsProgressUI.exe" /Unregister OSDSetupHook 30/09/2018 20:12:01 828 (0x033C)
==========[ TsProgressUI started in process 832 ]========== TsProgressUI 30/09/2018 20:12:02 836 (0x0344)
Command line: "C:\Windows\system32\SMSOSDSetup\TsProgressUI.exe" /Unregister TsProgressUI 30/09/2018 20:12:02 836 (0x0344)
Unregistering COM classes TsProgressUI 30/09/2018 20:12:02 836 (0x0344)
Unregistering class objects TsProgressUI 30/09/2018 20:12:02 836 (0x0344)
Shutdown complete. TsProgressUI 30/09/2018 20:12:02 836 (0x0344)
Process completed with exit code 0 OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Successfully unregistered TS Progress UI. OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
InstallSMSClient(loadDir, dwResult), HRESULT=800700c1 (e:\qfe\nts\sms\client\osdeployment\osdgina\basesetuphook.cpp,1476) OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Failed to install SMS Client (0x800700C1) OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Terminating system message loop. OSDSetupHook 30/09/2018 20:12:02 844 (0x034C)
Restoring original desktop wallpaper. OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Uninstalling Setup Hook OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Removing setup hook from registry. OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Successfully removed C:\Windows\system32\OSDGINA.DLL OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Could not delete the file C:\Windows\system32\OSDSETUPHOOK.EXE. Error code 5 OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Marking the file C:\Windows\system32\OSDSETUPHOOK.EXE for deletion on Reboot OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Successfully removed C:\Windows\system32\OSDSETUPHOOK.EXE OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Successfully removed C:\Windows\system32\SMSOSDSetup OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,261) OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
GetTsRegValue() failed. 0x80070002. OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
End program: OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Finalizing logging from process 820 OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Successfully finalized logs to SMS client log directory from C:\Windows\TEMP OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Cleaning up task sequencing logging configuration. OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Cleaning up task sequence folder OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Deleting volume ID file C:\SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
this->run( bReboot ), HRESULT=800700c1 (e:\qfe\nts\sms\client\osdeployment\osdgina\vistasetuphook.cpp,222) OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
pHook->execute(), HRESULT=800700c1 (e:\qfe\nts\sms\client\osdeployment\osdgina\osdsetuphook.cpp,284) OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Failed to execute task sequence (0x800700C1) OSDSetupHook 30/09/2018 20:12:02 828 (0x033C)
Thank
All replies (2)
Sunday, September 30, 2018 11:54 PM âś…Answered
800700c1 = "%1 is not a valid Win32 application." In this case %1 refers to ccmsetup.exe.
Have you tried recreating or at least updating your boot images (ccmsetup comes from the boot image from memory)?
Incidentally, 2012 SP1 hasn't been supported in at least 3 years. You really should upgrade to SP2 or, better yet, ConfigMgr Current Branch.
Jason | https://home.configmgrftw.com | @jasonsandys
Thursday, October 4, 2018 9:51 AM
Thanks Jason,
I actually spotted that the ccmsetup.exe file was 0 byte in the \Client directory on the CAS Server, a little after posting the question. No idea why or how but once i replaced that and re-distributed the client package all was working again.
Cheers
Aaron