none
Software Distribution Fails to start after Task Sequence. RRS feed

  • Question

  • We are using OSD within SCCM w/ SP1 to deploy Vista(SP1) and the Task Sequence works fine.  However, after the final reboot Run Advertised Programs does not have any Advertisements listed.  The computer shows up in the console and the client is receiving policies; it seems that the Software Distribution agent is the only part having the problem.  Looking at the smsts.log it seems that the Task Sequence is having problems restarting Software Distribution.  Is there a way to repair or restart just the Software Distribution piece of the SCCM agent without having to repair or reinstall the entire SCCM client?

    Here is a portion of the log:

    Code Snippet

    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002 TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Deleted 62 instances TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Policy cleanup done TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Sending success status message TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Sending StatusMessage TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Formatted header: TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:13F7A12A-13C1-411F-A868-A7C51DF3A6E0</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2008-09-30T18:40:17Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="1150"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    CLibSMSMessageWinHttpTransport::Send: URL: sxsccm2.qg.com:80  CCM_POST /ccm_system/request TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    The request has succeeded. 200 OK TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Resuming SMS Components TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Waiting for CcmExec service to be fully operational TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    CcmExec service is up and fully operational TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    The cookie that will be used for SWD resume = 27379 TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Resume for CCM component SoftwareDistribution requested TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    spIComponentController->Resume(ulPauseCookie), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\utils.cpp,4007) TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Failed to resume Software SoftwareDistribution (0x80004005) TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    The cookie that will be used for SWUpdate resume = 27379 TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Resume for CCM component SoftwareUpdates requested TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Access handle will be read from _SMSTSActiveRequestHandle TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Access handle: {4887B56A-4684-4F06-AFAA-EF4DE2FE307F} TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Attempting to release request using {4887B56A-4684-4F06-AFAA-EF4DE2FE307F} TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    CoCreateInstance succeeded TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    pISoftwareExecutionRequestMgr->ReleaseRequest(ActiveRequestGUID), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\swdupdatescontroller.cpp,318) TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    ReleaseRequest failed with error code 0x80004005 TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Task Sequence Manager could not release active TS request. code 80004005 TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Opening the task sequence key HKLM\Software\Microsoft\SMS\Task Sequence TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Deleting a pause cookie from registry key HKLM\Software\Microsoft\SMS\Task Sequence\SoftwareDistribution TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Opening the task sequence key HKLM\Software\Microsoft\SMS\Task Sequence TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Deleting a pause cookie from registry key HKLM\Software\Microsoft\SMS\Task Sequence\SoftwareUpdates TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Opening the task sequence key HKLM\Software\Microsoft\SMS\Task Sequence TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Deleting a pause cookie from registry key HKLM\Software\Microsoft\SMS\Task Sequence\System Health Agent TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    kTaskSequence.DeleteValue(sComponent.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\utils.cpp,2750) TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\System Health Agent. Error code 0x80070002 TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Opening the task sequence key HKLM\Software\Microsoft\SMS\Task Sequence TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Deleting the access handle from registry key HKLM\Software\Microsoft\SMS\Task Sequence\Active Request Handle TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    kTaskSequence.DeleteValue(c_szAccessHandle), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\utils.cpp,2898) TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Active Request Handle. Error code 0x80070002 TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Finalize logging request ignored from process 392 TSManager 9/30/2008 1:40:17 PM 3128 (0x0C38)
    Process completed with exit code 0 TSMBootstrap 9/30/2008 1:40:17 PM 3888 (0x0F30)
    Exiting with return code 0x00000000 TSMBootstrap 9/30/2008 1:40:17 PM 3888 (0x0F30)
    Process completed with exit code 0 OSDSetupHook 9/30/2008 1:40:17 PM 3364 (0x0D24)
    Task sequence completed 0x00000000 OSDSetupHook 9/30/2008 1:40:17 PM 3364 (0x0D24)
    Waiting for command shell to complete. OSDSetupHook 9/30/2008 1:40:17 PM 3416 (0x0D58)
    LOGGING: Finalize process ID set to 1012 OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    !sVolumeID.empty(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,472) OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    !sTSMDataPath.empty(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,1393) OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    TS::Utility::GetTSMDataPath( sDataDir ), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\osdsetuphook.cpp,174) OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Failed to set log directory. Some execution history may be lost.
    The system cannot find the file specified. (Error: 80070002; Source: Windows) OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Executing task sequence OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    !sVolumeID.empty(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,472) OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    !sTSMDataPath.empty(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,1393) OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Task Sequence environment not found.  Task sequence completed in Windows PE. OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Uninstalling Setup Hook OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Removing setup hook from registry. OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Successfully removed C:\Windows\system32\OSDGINA.DLL OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Could not delete the file C:\Windows\system32\OSDSETUPHOOK.EXE. Error code 5 OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Marking the file C:\Windows\system32\OSDSETUPHOOK.EXE for deletion on Reboot OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Successfully removed C:\Windows\system32\OSDSETUPHOOK.EXE OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Successfully removed C:\Windows\system32\_SMSOSDSetup OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Finalizing logging from process 1012 OSDSetupHook 9/30/2008 1:41:54 PM 1016 (0x03F8)
    Successfully finalized logs to SMS client log directory from C:\Windows\system32\CCM\Logs OSDSetupHook 9/30/2008 1:42:02 PM 1016 (0x03F8)
    Cleaning up task sequencing logging configuration. OSDSetupHook 9/30/2008 1:42:02 PM 1016 (0x03F8)

     

     

    Wednesday, October 8, 2008 8:03 PM

Answers

  • Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?

    Since no one has answer this post, I recommend opening  a support case with Microsoft Customer Support Services (CSS) as they can work with you to solve this problem.


    Garth Jones | My blogs: Enhansoft and Old Blog site | Twitter: @GarthMJ

    Friday, January 15, 2016 2:11 PM
    Moderator