Applications not installing after windows xp deployment
I have setup a task sequence to deploy the captured windows xp sp3 image followed by a list of applications. These applications are packaged for win7 and winxp and they have no issues deploying with my win7 captured image.
I watch the task sequence and it installs the OS, and config manager but fails to install the apps. Here is the smsts.log
<![LOG[==============================[ OSDSetupHook.exe ]==============================]LOG]!><time="13:06:12.265+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="osdsetuphook.cpp:185">
<![LOG[Logging successfully initialized to C:\_SMSTaskSequence\Logs]LOG]!><time="13:06:12.296+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="osdsetuphook.cpp:186">
<![LOG[Executing task sequence]LOG]!><time="13:06:12.312+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="osdsetuphook.cpp:286">
<![LOG[Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat".]LOG]!><time="13:06:12.312+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:237">
<![LOG[Environment scope "Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}" successfully created]LOG]!><time="13:06:12.312+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="environmentscope.cpp:250">
<![LOG[Environment scope "Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}" successfully created]LOG]!><time="13:06:12.312+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="environmentscope.cpp:250">
<![LOG[Saving existing desktop wallpaper settings.]LOG]!><time="13:06:28.812+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="wallpaperselector.cpp:36">
<![LOG[Setting desktop wallpaper.]LOG]!><time="13:06:28.828+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="wallpaperselector.cpp:57">
<![LOG[Debug shell is enabled]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1302">
<![LOG[Spawning system message loop thread.]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="debugwindow.cpp:143">
<![LOG[Waiting for system message loop to initialize.]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="debugwindow.cpp:152">
<![LOG[Signaling initialized event.]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1532" file="debugwindow.cpp:182">
<![LOG[Entering system message loop.]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1532" file="debugwindow.cpp:187">
<![LOG[Successfully enabled debug command shell support.]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="debugwindow.cpp:156">
<![LOG[Configuring local administrator account]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1324">
<![LOG[Enabling local administrator account]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1086">
<![LOG[Account was already enabled]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1095">
<![LOG[Installing SMS client]LOG]!><time="13:06:28.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1332">
<![LOG[Setting variable to indicate client installation attempted]LOG]!><time="13:06:28.968+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="installclient.cpp:861">
<![LOG[Clearing existing client configuration.]LOG]!><time="13:06:28.968+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="installclient.cpp:513">
<![LOG[Cleaning existing client certificates from SMS certificate store]LOG]!><time="13:06:29.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="installclient.cpp:360">
<![LOG[Restoring SMS client identity.]LOG]!><time="13:06:29.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="installclient.cpp:543">
<![LOG[The client certificates were not found in the environment. New certificates will be generated.]LOG]!><time="13:06:29.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="installclient.cpp:571">
<![LOG[Successfully restored the client identity.]LOG]!><time="13:06:29.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="installclient.cpp:575">
<![LOG[Site in native mode: ]LOG]!><time="13:06:29.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="installclient.cpp:880">
<![LOG[Using CRL: ]LOG]!><time="13:06:29.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="installclient.cpp:881">
<![LOG[Succeeded loading resource DLL 'C:\WINDOWS\system32\_SMSOSDSetup\1033\TSRES.DLL']LOG]!><time="13:06:29.015+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="util.cpp:869">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:06:29.031+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="commandline.cpp:229">
<![LOG[Set command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="13:06:29.031+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="commandline.cpp:707">
<![LOG[Executing command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="13:06:29.031+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="commandline.cpp:805">
<![LOG[==========[ TsProgressUI started in process 1536 ]==========]LOG]!><time="13:06:29.078+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1544" file="winmain.cpp:327">
<![LOG[Command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="13:06:29.078+240" date="10-01-2010" component="TsProgressUI" context="" type="0" thread="1544" file="winmain.cpp:330">
<![LOG[Registering COM classes]LOG]!><time="13:06:29.078+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1544" file="winmain.cpp:185">
<![LOG[sbModulePath = C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe]LOG]!><time="13:06:29.078+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1544" file="tsprogressuiclass.cpp:623">
<![LOG[Unregistering class objects]LOG]!><time="13:06:29.078+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1544" file="winmain.cpp:503">
<![LOG[Shutdown complete.]LOG]!><time="13:06:29.078+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1544" file="winmain.cpp:520">
<![LOG[Process completed with exit code 0]LOG]!><time="13:06:29.093+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="commandline.cpp:1102">
<![LOG[Successfully registered TS Progress UI.]LOG]!><time="13:06:29.093+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="utils.cpp:1922">
<![LOG[Executing C:\_SMSTaskSequence\OSD\DST0004E\ccmsetup.exe /useronly /config:MobileClient.TCF /status:1516]LOG]!><time="13:06:29.234+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="installclient.cpp:1011">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:06:29.234+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="commandline.cpp:229">
<![LOG[Set command line: "C:\_SMSTaskSequence\OSD\DST0004E\ccmsetup.exe" /useronly /config:MobileClient.TCF /status:1516]LOG]!><time="13:06:29.234+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="commandline.cpp:707">
<![LOG[Executing command line: "C:\_SMSTaskSequence\OSD\DST0004E\ccmsetup.exe" /useronly /config:MobileClient.TCF /status:1516]LOG]!><time="13:06:29.234+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="commandline.cpp:805">
<![LOG[CreateProcess( NULL, (LPWSTR)m_sCommandLine.c_str(), NULL, NULL, TRUE, bNT ? CREATE_UNICODE_ENVIRONMENT : 0, m_pEnvironmentBlock, pszWorkingDir, &si, &pi ), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\core\ccmcore\commandline.cpp,997)]LOG]!><time="13:06:29.250+240"
date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="commandline.cpp:997">
<![LOG[CreateProcess failed. Code(0x80070002)]LOG]!><time="13:06:29.250+240" date="10-01-2010" component="OSDSetupHook" context="" type="3" thread="1944" file="commandline.cpp:997">
<![LOG[Command line execution failed (80070002)]LOG]!><time="13:06:29.250+240" date="10-01-2010" component="OSDSetupHook" context="" type="3" thread="1944" file="commandline.cpp:1221">
<![LOG[cmd.Execute(), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\installclient.cpp,1019)]LOG]!><time="13:06:29.250+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="installclient.cpp:1019">
<![LOG[Sending StatusMessage]LOG]!><time="13:06:29.500+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="libsmsmessaging.cpp:3806">
<![LOG[Formatted header:]LOG]!><time="13:06:29.515+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="libsmsmessaging.cpp:1500">
<![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>9c727f30-cd74-4aea-baf8-c7e5bd4b18ab</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2010-10-01T17:06:29Z</SentTime><Protocol>http</Protocol><Body
Type="ByteRange" Offset="0" Length="1714"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
]LOG]!><time="13:06:29.515+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="libsmsmessaging.cpp:1501">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: DST-SCMT4.DSTT.DST.LOCAL:80 CCM_POST /ccm_system/request]LOG]!><time="13:06:29.515+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="libsmsmessaging.cpp:7446">
<![LOG[The request has succeeded. 200 OK]LOG]!><time="13:06:29.562+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="libsmsmessaging.cpp:7734">
<![LOG[Sending StatusMessage]LOG]!><time="13:06:29.671+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="libsmsmessaging.cpp:3806">
<![LOG[Formatted header:]LOG]!><time="13:06:29.671+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="libsmsmessaging.cpp:1500">
<![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>9c727f30-cd74-4aea-baf8-c7e5bd4b18ab</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2010-10-01T17:06:29Z</SentTime><Protocol>http</Protocol><Body
Type="ByteRange" Offset="0" Length="1522"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
]LOG]!><time="13:06:29.671+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="libsmsmessaging.cpp:1501">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: DST-SCMT4.DSTT.DST.LOCAL:80 CCM_POST /ccm_system/request]LOG]!><time="13:06:29.671+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="libsmsmessaging.cpp:7446">
<![LOG[The request has succeeded. 200 OK]LOG]!><time="13:06:29.687+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="libsmsmessaging.cpp:7734">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:06:30.703+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="commandline.cpp:229">
<![LOG[Set command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister]LOG]!><time="13:06:30.703+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="commandline.cpp:707">
<![LOG[Executing command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister]LOG]!><time="13:06:30.703+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="commandline.cpp:805">
<![LOG[==========[ TsProgressUI started in process 1728 ]==========]LOG]!><time="13:06:30.765+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1732" file="winmain.cpp:327">
<![LOG[Command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister]LOG]!><time="13:06:30.765+240" date="10-01-2010" component="TsProgressUI" context="" type="0" thread="1732" file="winmain.cpp:330">
<![LOG[Unregistering COM classes]LOG]!><time="13:06:30.765+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1732" file="winmain.cpp:202">
<![LOG[Unregistering class objects]LOG]!><time="13:06:30.781+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1732" file="winmain.cpp:503">
<![LOG[Shutdown complete.]LOG]!><time="13:06:30.781+240" date="10-01-2010" component="TsProgressUI" context="" type="1" thread="1732" file="winmain.cpp:520">
<![LOG[Process completed with exit code 0]LOG]!><time="13:06:30.781+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="commandline.cpp:1102">
<![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="13:06:30.781+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="utils.cpp:1963">
<![LOG[InstallSMSClient(loadDir, dwResult), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\basesetuphook.cpp,1334)]LOG]!><time="13:06:30.781+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="basesetuphook.cpp:1334">
<![LOG[Failed to install SMS Client (0x80070002)]LOG]!><time="13:06:30.781+240" date="10-01-2010" component="OSDSetupHook" context="" type="3" thread="1944" file="basesetuphook.cpp:1334">
<![LOG[Terminating system message loop.]LOG]!><time="13:06:30.781+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1532" file="debugwindow.cpp:222">
<![LOG[Restoring original desktop wallpaper.]LOG]!><time="13:06:30.796+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="wallpaperselector.cpp:138">
<![LOG[Uninstalling Setup Hook]LOG]!><time="13:06:30.796+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1424">
<![LOG[Could not delete the file C:\WINDOWS\system32\OSDGINA.DLL. Error code 5]LOG]!><time="13:06:30.796+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="utils.cpp:709">
<![LOG[Marking the file C:\WINDOWS\system32\OSDGINA.DLL for deletion on Reboot]LOG]!><time="13:06:30.828+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="utils.cpp:733">
<![LOG[Successfully removed C:\WINDOWS\system32\OSDGINA.DLL]LOG]!><time="13:06:30.828+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1179">
<![LOG[Could not delete the file C:\WINDOWS\system32\OSDSETUPHOOK.EXE. Error code 5]LOG]!><time="13:06:30.828+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="utils.cpp:709">
<![LOG[Marking the file C:\WINDOWS\system32\OSDSETUPHOOK.EXE for deletion on Reboot]LOG]!><time="13:06:30.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="utils.cpp:733">
<![LOG[Successfully removed C:\WINDOWS\system32\OSDSETUPHOOK.EXE]LOG]!><time="13:06:30.953+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1179">
<![LOG[Successfully removed C:\WINDOWS\system32\_SMSOSDSetup]LOG]!><time="13:06:30.984+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="basesetuphook.cpp:1216">
<![LOG[Finalizing logging from process 1940]LOG]!><time="13:06:30.984+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="tslogging.cpp:1736">
<![LOG[Successfully finalized logs to SMS client log directory from C:\WINDOWS\system32\CCM\Logs]LOG]!><time="13:06:31.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="tslogging.cpp:1536">
<![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="13:06:31.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="tslogging.cpp:578">
<![LOG[Cleaning up task sequence folder]LOG]!><time="13:06:31.000+240" date="10-01-2010" component="OSDSetupHook" context="" type="1" thread="1944" file="utils.cpp:1404">
<![LOG[this->run( bReboot ), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\previstasetuphook.cpp,88)]LOG]!><time="13:06:32.218+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="previstasetuphook.cpp:88">
<![LOG[pHook->execute(), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\osdsetuphook.cpp,291)]LOG]!><time="13:06:32.218+240" date="10-01-2010" component="OSDSetupHook" context="" type="0" thread="1944" file="osdsetuphook.cpp:291">
<![LOG[Failed to execute task sequence (0x80070002)]LOG]!><time="13:06:32.218+240" date="10-01-2010" component="OSDSetupHook" context="" type="3" thread="1944" file="osdsetuphook.cpp:291">
October 6th, 2010 5:10pm
You can also look at the Client Status messages as well as the Progress of the task Seq from reports.
I see where it failed to install the client
Failed to install SMS Client: ccmsetup.exe /useronly /config:MobileClient.TCF
---------http://technet.microsoft.com/en-us/library/cc181486.aspx
/useronly
Forces Ccmsetup.exe to run in the logged-on user’s security context. Be careful when using this option. If the user does not have administrative credentials, the operation will fail.
Ccmsetup.exe /useronly SMSSITECODE=AUTO
----------------------
Why do you use /useronly when deploying your client via the Task Seq?http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
October 6th, 2010 5:45pm
I went to my client package and edited opened up the program. It says command line:
ccmsetup.exe /noservice SMSSITECODE=AUTO.
I was not aware I was using /useronly how do I find this?
Thank you
October 6th, 2010 6:05pm
Error code 2 = "The system cannot find the file specified."
How did you create the ConfigMgr client package (DST0004E)?Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
October 6th, 2010 6:16pm
Never mind, I had to go back to my logs for different deployments, that command is correct. I would recreate your Client package or update the DP as Jason pointed out. It might not be finding the client files correctly.http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com
October 6th, 2010 6:54pm