Task sequence failed with error 80070002

Dears,
I'm trying deploy OSD, it was working since yesterday but from today I'm facing a problem it's fails with the above error, i got the log file smsts and here it is
Set command line: "OSDApplyOS.exe" /data:BHN00018,1 /target:0,1
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
Adding logical drive: C: ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
Skipping non-local logical drive: E: ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
Adding logical drive: S: ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
Skipping non-local logical drive: X: ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
The volume S:\ exists and is a local hard drive.
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
The volume S:\ is using a valid file system.
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
Windows target partition is 0-1, driver letter is S:\
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
The machine does not have a local client cache.
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
ResolveSource flags: 0x00000000 ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
SMSTSPersistContent: . The content for package BHN00018 will be persisted
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
DownloadOnDemand flag is true. Attempting to download content locally for Package BHN00018..
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
Package Flags: 0x1000000 ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
GetDirectoryListing() entered ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
Initializing HTTP transport. ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
   Setting URL = http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018.
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
   Address=http://PRBAHVSSCCM.ARABBANKING.LOCAL, Scheme=http, Object=/SMS_DP_SMSPKG$/BHN00018, Port=80.
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
   Setting Authenticator. ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
Set authenticator in transport ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
WinHttp credentials set ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
CLibSMSMessageWinHttpTransport::Send: URL: PRBAHVSSCCM.ARABBANKING.LOCAL:80  PROPFIND /SMS_DP_SMSPKG$/BHN00018
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
401 - Authentication failure on request with anonymous access, retrying with context credentials.
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
Using thread token for request ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
401 - Authentication failure on request with context credentials, retrying with supplied credentials.
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
Request was succesful. ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
DAV response string is: 
 <?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:"><D:response><D:href>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/sccm?/BHN00018/</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:getcontenttype/><D:supportedlock/><D:getetag/><D:creationdate/><D:iscollection>1</D:iscollection><D:resourcetype><D:collection/></D:resourcetype><D:ishidden>0</D:ishidden><D:displayname>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/sccm?/BHN00018/</D:displayname><D:getlastmodified></D:getlastmodified><D:getcontentlanguage/><D:getcontentlength>0</D:getcontentlength></D:prop></D:propstat></D:response><D:response><D:href>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:getcontenttype/><D:lockdiscovery/><D:supportedlock/><D:getetag/><D:getcontentlanguage/><D:iscollection>0</D:iscollection><D:creationdate/><D:resourcetype/><D:ishidden>0</D:ishidden><D:displayname>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim</D:displayname><D:getlastmodified>Thu,
21 Mar 2013 09:21:33 GMT</D:getlastmodified><D:getcontentlength>4984262577</D:getcontentlength></D:prop></D:propstat></D:response></D:multistatus>
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
List of files to be downloaded ApplyOperatingSystem
3/27/2013 3:05:22 PM 1828 (0x0724)
  File: http://PRBAHVSSCCM.ARABBANKING.LOCAL:80/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
GetDirectoryListing() successfully completed
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'
ApplyOperatingSystem 3/27/2013 3:05:22 PM
1828 (0x0724)
dwStatusCode >= 200 && dwStatusCode <= 299, HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1304)
ApplyOperatingSystem 3/27/2013 3:05:23 PM
1828 (0x0724)
WinHttpQueryHeaders() returns status code 500 (Internal Server Error)
ApplyOperatingSystem 3/27/2013 3:05:23 PM
1828 (0x0724)
SendWinHttpRequest failed. 801901f4. ApplyOperatingSystem
3/27/2013 3:05:23 PM 1828 (0x0724)
SendWinHttpRequest (hSession, hConnect, hRequest, sRequest.c_str(), 0, bUseSSL, ullFileSize, LastGoodCredentialsType), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1542)
ApplyOperatingSystem 3/27/2013 3:05:23 PM
1828 (0x0724)
DownloadFile failed. 801901f4. ApplyOperatingSystem
3/27/2013 3:05:23 PM 1828 (0x0724)
DownloadFile (hSession, hConnect, sSourceFile.c_str(), sDestinationFile.c_str(), ulTotalSizeRequired, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1648)
ApplyOperatingSystem 3/27/2013 3:05:23 PM
1828 (0x0724)
Error downloading file from http://PRBAHVSSCCM.ARABBANKING.LOCAL:80/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim to C:\_SMSTaskSequence\Packages\BHN00018\Win7-x86-BasicApps.wim
ApplyOperatingSystem
3/27/2013 3:05:23 PM 1828 (0x0724)
DownloadFiles failed. 801901f4. ApplyOperatingSystem
3/27/2013 3:05:23 PM 1828 (0x0724)
DownloadFiles (setDirs, setFiles, sDestination.c_str(), bUseSSL), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2523)
ApplyOperatingSystem 3/27/2013 3:05:23 PM
1828 (0x0724)
Retrying download... ApplyOperatingSystem
3/27/2013 3:05:23 PM 1828 (0x0724)
GetDirectoryListing() entered ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
Initializing HTTP transport. ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
   Setting URL = http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018.
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
   Address=http://PRBAHVSSCCM.ARABBANKING.LOCAL, Scheme=http, Object=/SMS_DP_SMSPKG$/BHN00018, Port=80.
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
   Setting Authenticator. ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
Set authenticator in transport ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
WinHttp credentials set ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
CLibSMSMessageWinHttpTransport::Send: URL: PRBAHVSSCCM.ARABBANKING.LOCAL:80  PROPFIND /SMS_DP_SMSPKG$/BHN00018
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
401 - Authentication failure on request with anonymous access, retrying with context credentials.
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
Using thread token for request ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
401 - Authentication failure on request with context credentials, retrying with supplied credentials.
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
Request was succesful. ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
DAV response string is: 
 <?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:"><D:response><D:href>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/sccm?/BHN00018/</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:getcontenttype/><D:supportedlock/><D:getetag/><D:creationdate/><D:iscollection>1</D:iscollection><D:resourcetype><D:collection/></D:resourcetype><D:ishidden>0</D:ishidden><D:displayname>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/sccm?/BHN00018/</D:displayname><D:getlastmodified></D:getlastmodified><D:getcontentlanguage/><D:getcontentlength>0</D:getcontentlength></D:prop></D:propstat></D:response><D:response><D:href>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:getcontenttype/><D:lockdiscovery/><D:supportedlock/><D:getetag/><D:getcontentlanguage/><D:iscollection>0</D:iscollection><D:creationdate/><D:resourcetype/><D:ishidden>0</D:ishidden><D:displayname>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim</D:displayname><D:getlastmodified>Thu,
21 Mar 2013 09:21:33 GMT</D:getlastmodified><D:getcontentlength>4984262577</D:getcontentlength></D:prop></D:propstat></D:response></D:multistatus>
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
List of files to be downloaded ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
  File: http://PRBAHVSSCCM.ARABBANKING.LOCAL:80/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
GetDirectoryListing() successfully completed
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
dwStatusCode >= 200 && dwStatusCode <= 299, HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1304)
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
WinHttpQueryHeaders() returns status code 500 (Internal Server Error)
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
SendWinHttpRequest failed. 801901f4. ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
SendWinHttpRequest (hSession, hConnect, hRequest, sRequest.c_str(), 0, bUseSSL, ullFileSize, LastGoodCredentialsType), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1542)
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
DownloadFile failed. 801901f4. ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
DownloadFile (hSession, hConnect, sSourceFile.c_str(), sDestinationFile.c_str(), ulTotalSizeRequired, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1648)
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
Error downloading file from http://PRBAHVSSCCM.ARABBANKING.LOCAL:80/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim to C:\_SMSTaskSequence\Packages\BHN00018\Win7-x86-BasicApps.wim
ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
DownloadFiles failed. 801901f4. ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
DownloadFiles (setDirs, setFiles, sDestination.c_str(), bUseSSL), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2523)
ApplyOperatingSystem 3/27/2013 3:05:26 PM
1828 (0x0724)
Retrying download... ApplyOperatingSystem
3/27/2013 3:05:26 PM 1828 (0x0724)
Tried all the available http based locations. SMB based locations will be attempted now.
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
!saSMBContentSources.empty(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2948)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
DownloadContentAndVerifyHash(pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, pszUserName, pszUserPassword ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3106)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3331)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3221)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
TS::Utility::ResolveSource( this->packageID, this->packagePath ), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1483)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
resolvePkgSource(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1503)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
Apply(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1712)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
Installation of image 1 in package BHN00018 failed to complete.. 
The system cannot find the file specified. (Error: 80070002; Source: Windows)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
installer.install(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1787)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\BHN00018
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
The user tries to release a source directory C:\_SMSTaskSequence\Packages\BHN00018 that is either already released or we have not connected to it
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_Data, g_ConfigPackageID, g_ConfigFileName, false, g_RunFromNet ), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\applyos.cpp,522)
ApplyOperatingSystem 3/27/2013 3:05:29 PM
1828 (0x0724)
Process completed with exit code 2147942402
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
Failed to run the action: Apply Data Image 1. 
The system cannot find the file specified. (Error: 80070002; Source: Windows)
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
MP server http://PRBAHVSSCCM.ARABBANKING.LOCAL. Ports 80,443. CRL=false.
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
Setting authenticator TSManager
3/27/2013 3:05:29 PM 1456 (0x05B0)
Set authenticator in transport TSManager
3/27/2013 3:05:29 PM 1456 (0x05B0)
Sending StatusMessage TSManager
3/27/2013 3:05:29 PM 1456 (0x05B0)
Setting message signatures. TSManager
3/27/2013 3:05:29 PM 1456 (0x05B0)
Setting the authenticator. TSManager
3/27/2013 3:05:29 PM 1456 (0x05B0)
CLibSMSMessageWinHttpTransport::Send: URL: PRBAHVSSCCM.ARABBANKING.LOCAL:80  CCM_POST /ccm_system/request
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
Request was succesful. TSManager
3/27/2013 3:05:29 PM 1456 (0x05B0)
Set a global environment variable _SMSTSLastActionRetCode=-2147024894
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
Set a global environment variable _SMSTSLastActionSucceeded=false
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
Clear local default environment TSManager
3/27/2013 3:05:29 PM 1456 (0x05B0)
Let the parent group (Install Operating System) decides whether to continue execution
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
The execution of the group (Install Operating System) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
Failed to run the last action: Apply Data Image 1. Execution of task sequence failed.
The system cannot find the file specified. (Error: 80070002; Source: Windows)
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
MP server http://PRBAHVSSCCM.ARABBANKING.LOCAL. Ports 80,443. CRL=false.
TSManager 3/27/2013 3:05:29 PM
1456 (0x05B0)
and when trying to open location from IIS of the http://localhost:80/SMS_DP_SMSPKG$
i got the following error
I don't know it is related or not, do you have any idea about that

This post may be of some help..
http://social.technet.microsoft.com/Forums/en-US/configmanagerdeployment/thread/baa2d7e0-599d-4bd0-a375-8905a7d0b2ff/
Delphin

Similar Messages

  • Task sequence failed with error code 0x80070002

    I am facing issue in OS deployment my machine PXE boot successfully but on the step of apply operating I got an error "task sequence failed with error code 0x80070002" 
    I see lot of thread describes to add Network Access Account I already added but still I receive same error please help
    Usama Arif

    i had this happen on two of my dp's the other day.  It drove me nuts,  I ended up  removing the DP Role,  removing the server from SCCM
    I then deleted all files on the  'D :'  drive
    after everything was deleted, I re-added the  Server to SCCM and gave it the DP Role back. 
    I then added the DP Back to the  DP Group to receive all packages that was on it before.    then finally once everything was re-uploaded my users were able to pxe boot again

  • OSD Task Sequence Fails with Error 0x80091007

    Hello Everyone,
    I have a bit of a weird hash mismatch problem.  The issue is only occuring on one laptop.  The laptop was imaged successfully, new out of the box.  Computer started "acting craptacular" according to the tech, so he tried to reimage it,
    assuming one of the applications he put on the computer while setting it up for the user may have messed it up.
    From that point forward, the computer couldn't image anymore.  I can image the same model, TS, and even other models without issue.  The error logs are pointing to a hash value mismatch on the OS WIM. 
    Here are the log files - I wish there was a way to make them cleaner.  I ran some hardware tests with IBM's PCDoctor, and it came back clean.  I'm starting to run out of ideas.
    Thanks in advance!
    Log: (SMSTS.LOG)
    Download done setting progress bar to 100 ApplyOperatingSystem 5/14/2010 4:09:31 PM 840 (0x0348)
    Hash could not be matched for the downloded content. Original ContentHash = A6170DC8CFC5A443636828F093C45377B5FE2A62, Downloaded ContentHash = 7DEBC67B90C2326031EF8727238176C92A02006C ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    0L == TS::Utility::VerifyPackageHash(pszContentID, sDestination), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,2901) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    DownloadContentAndVerifyHash(pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, pszUserName, pszUserPassword ), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3000) ApplyOperatingSystem 5/14/2010
    4:09:53 PM 840 (0x0348)
    DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3128) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3029) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    TS::Utility::ResolveSource( this->packageID, this->packagePath, TS::Utility::ResolveSourceFlags::PersistContents ), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1255) ApplyOperatingSystem 5/14/2010 4:09:53
    PM 840 (0x0348)
    resolvePkgSource(), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1299) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    Installation of image 1 in package RH1000DD failed to complete..
    The hash value is not correct. (Error: 80091007; Source: Windows) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    installer.install(), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1373) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\RH1000DD ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    The user tries to release a source directory C:\_SMSTaskSequence\Packages\RH1000DD that is either already released or we have not connected to it ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, g_ConfigPackageID, g_ConfigFileName ), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\applyos.cpp,360) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840
    (0x0348)
    Process completed with exit code 2148077575 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    !--------------------------------------------------------------------------------------------! TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Failed to run the action: XP SP3 - Multi-HAL.
    The hash value is not correct. (Error: 80091007; Source: Windows) TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Sending status message . . . TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Send a task execution status message SMS_TSExecution_ActionFailError TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    MP server rh1-sccm.ritehite.com and port 80. SSL=false. CRL=false. TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Site code: RH1 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Client machine name: R842AEYa TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Client Identity: GUID:428CFC8B-1BE1-4E11-B2C4-21E31EA71572 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Advertisement ID: RH1200C2 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Package ID: RH1000DF TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Sending StatusMessage TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Formatted header: TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>56d444c9-6bf0-4ed2-86a9-5f199c90924c</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2010-05-14T21:09:53Z</SentTime><Protocol>http</Protocol><Body
    Type="ByteRange" Offset="0" Length="4246"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    CLibSMSMessageWinHttpTransport::Send: URL: sccmserver.x.com:80  CCM_POST /ccm_system/request TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    The request has succeeded. 200 OK TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Set a global environment variable _SMSTSLastActionRetCode=-2146889721 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Clear local default environment TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Let the parent group (Apply Operating System) decides whether to continue execution TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Let the parent group (Install Operating System) decide whether to continue execution TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    The execution of the group (Install Operating System) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows) TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Failed to run the last action: XP SP3 - Multi-HAL. Execution of task sequence failed.
    The hash value is not correct. (Error: 80091007; Source: Windows) TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Sending status message . . . TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Send a task execution status message SMS_TSExecution_TaskSequenceFailError TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)

    Hi Guys,
    My WIM is currently sitting at 1.8 GB, so I'm not sure it is the 4 GB bug you were referring to.
    I haven't tried a re-import/update DP yet mainly because the problem is occuring on only
    one computer at this moment.  In fact, I have deployed several computers already with the same DP, same WIM and even the same model of computer.  That makes me think it isn't an issue with the WIM as
    much as it is an issue with the computer itself.
    Can you guys think of anything on the computer that would cause the failure?
    Thanks again,
    Sean

  • SCOM 2012 SP1 "Task invocation failed with error code -2146232576"

    Hi,
    I`m trying to discover a Linux RHEL 5.9 Server which is in another untrusted domain and from the Discovery wizard I receive the following error:
    Task invocation failed with error code -2146232576. Error message was 0x80131700.
    Any ideas ?
    Greetings.

    Hi,
    @Simon, I restart the SCOM services and I also verify the UAC and it's disabled.
    @Mai Ali, thank you for you reply. I don't have a "&" symbol in my password, but only a "$" ..I hope it's fine.
    If the SCOM discovery doesn't work, I installed the agent manually on the Linux server.
    BTW I also use a "monuser" account configured using this procedure:
    http://social.technet.microsoft.com/wiki/contents/articles/7375.configuring-sudo-elevation-for-unix-and-linux-monitoring-with-system-center-2012-operations-manager.aspx
    I also verify the ports 22 and 5723 and are opened, but I also noticed that if you restart the scxadmin, is listening on HTTPS on port 1207.
    Now..if I try to re-discover the Linux server from SCOM, I receive the following error:
    "The pool managing the instance is not available or the location monitoring object cannot be found"
    Regards.

  • Post Upgrade to R2: Task Sequence Fails with 0x80070057

    one SCCM 2012 server for a while now (June/July of 2013) and have had no issues with OSD's and software deployments.  Today I decided to upgrade to R2 from CU3 and I thought the upgrade process went really well.  But after the upgrade
    I attempted to perform an OSD & it failed with error 0x80070057 before the Task Sequence selection.
    I had that problem ages ago when I first started using SCCM, but that was due to a missing boundary group.  I got that straightened out in June/July of 2013 and, OSD's & software deployments have been working fine since.
    All the boundary groups are still defined
    All the boundaries are still defined
    The specific boundary this machine is in has a site system defined
    The specific boundary group this machine is in has both an assigned site as well as a site system server defined
    Verified server has full control over System Management
    Verified server has been published in AD
    Relevant section of %temp%\smsts\smsts.log in boot environment
    Root CA Public Certs= TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Missing root CA environment variable from variables file TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Support Unknown Machines: 1 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Custom hook from X:\\TSConfig.INI is TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    No hook is found to be executed before downloading policy TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Authenticator from the environment is empty. TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Need to create Authenticator Info using PFX TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Initialized CStringStream object with string: 171D4480-4E88-4DA5-B047-C4DC4E8EF947;2014-03-11T00:55:46Z. TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Using user-defined MP locations: http://SCCMSERVER.F.Q.D.N TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Set authenticator in transport TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Set media certificates in transport TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    IP: 10.1.18.11 10.1.18.0 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    CLibSMSMessageWinHttpTransport::Send: URL: SCCMSERVER.F.Q.D.N:80 GET /SMS_MP/.sms_aut?MPLOCATION&ir=10.1.18.11&ip=10.1.18.0 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Error. Status code 500 returned TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    isSuccessful, HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,5581) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    CCM::SMSMessaging::CLibSMSMPLocation::RequestMPLocation failed; 0x80004005 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    MPLocation.RequestMPLocation (szTrustedRootKey, sIPSubnets.c_str(), sIPAddresses.c_str(), sSiteCode, sAssignedSiteCode, sMP, sMPCertificates, sX86UnknownMachineGUID, sX64UnknownMachineGUID), HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,9583) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    CCM::SMSMessaging::GetMPLocation failed; 0x80004005 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Failed to query http://SCCMSERVER.F.Q.D.N for MP location TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    New settings: TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    site=,, MP=, ports: http=80,https=443 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Set authenticator in transport TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    pszSiteCode && pszSiteCode[0], HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,580) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    TS::Policy::GetClientIdentity (&httpTransport, sSiteCode.c_str(), sMediaGuid.c_str(), sClientGUID, sNetbiosName, bUnknown, sServerName, sServerRemoteName, sImportedClientIdentity), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,965) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Exiting TSMediaWizardControl::GetPolicy. TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
    Setting wizard error: An error occurred while retrieving policy for this computer (0x80070057). For more information, contact your system administrator or helpdesk operator. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
    WelcomePage::OnWizardNext() TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
    Skipping Confirmation Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
    Skipping Task Sequence Selection Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
    Skipping Variables Selection Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
    Skipping Resolve Progress Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
    Activating Finish Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
    Loading bitmap TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
    Executing command line: X:\windows\system32\cmd.exe /k TSBootShell 3/10/2014 4:55:59 PM 840 (0x0348)
    The command completed successfully. TSBootShell 3/10/2014 4:55:59 PM 840 (0x0348)
    <![LOG[Root CA Public Certs=]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:615">
    <![LOG[Missing root CA environment variable from variables file]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:621">
    <![LOG[Support Unknown Machines: 1]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:632">
    <![LOG[Custom hook from X:\\TSConfig.INI is ]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:675">
    <![LOG[No hook is found to be executed before downloading policy]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:699">
    <![LOG[Authenticator from the environment is empty.]LOG]!><time="16:55:46.240+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:838">
    <![LOG[Need to create Authenticator Info using PFX]LOG]!><time="16:55:46.240+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:850">
    <![LOG[Initialized CStringStream object with string: 171D4480-4E88-4DA5-B047-C4DC4E8EF947;2014-03-11T00:55:46Z.]LOG]!><time="16:55:46.256+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="stringstream.cpp:101">
    <![LOG[Using user-defined MP locations: http://SCCMSERVER.F.Q.D.N]LOG]!><time="16:55:46.256+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:911">
    <![LOG[Set authenticator in transport]LOG]!><time="16:55:46.256+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:7751">
    <![LOG[Set media certificates in transport]LOG]!><time="16:55:46.271+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="libsmsmessaging.cpp:9558">
    <![LOG[IP: 10.1.18.11 10.1.18.0]LOG]!><time="16:55:46.271+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="libsmsmessaging.cpp:9579">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: SCCMSERVER.F.Q.D.N:80 GET /SMS_MP/.sms_aut?MPLOCATION&ir=10.1.18.11&ip=10.1.18.0]LOG]!><time="16:55:46.287+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="libsmsmessaging.cpp:8621">
    <![LOG[Error. Status code 500 returned]LOG]!><time="16:55:46.349+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:8984">
    <![LOG[isSuccessful, HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,5581)]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:5581">
    <![LOG[CCM::SMSMessaging::CLibSMSMPLocation::RequestMPLocation failed; 0x80004005]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="3" thread="1124" file="libsmsmessaging.cpp:5688">
    <![LOG[MPLocation.RequestMPLocation (szTrustedRootKey, sIPSubnets.c_str(), sIPAddresses.c_str(), sSiteCode, sAssignedSiteCode, sMP, sMPCertificates, sX86UnknownMachineGUID, sX64UnknownMachineGUID), HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,9583)]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:9583">
    <![LOG[CCM::SMSMessaging::GetMPLocation failed; 0x80004005]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="3" thread="1124" file="libsmsmessaging.cpp:9587">
    <![LOG[Failed to query http://SCCMSERVER.F.Q.D.N for MP location]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="3" thread="1124" file="tsmbootstraputil.cpp:1544">
    <![LOG[New settings:]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:925">
    <![LOG[ site=,, MP=, ports: http=80,https=443]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:927">
    <![LOG[Set authenticator in transport]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:7751">
    <![LOG[pszSiteCode && pszSiteCode[0], HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,580)]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="tspolicy.cpp:580">
    <![LOG[TS::Policy::GetClientIdentity (&httpTransport, sSiteCode.c_str(), sMediaGuid.c_str(), sClientGUID, sNetbiosName, bUnknown, sServerName, sServerRemoteName, sImportedClientIdentity), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,965)]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="tsmediawizardcontrol.cpp:965">
    <![LOG[Exiting TSMediaWizardControl::GetPolicy.]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="tsmediawizardcontrol.cpp:1378">
    <![LOG[pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303)]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="tsmediawelcomepage.cpp:303">
    <![LOG[Setting wizard error: An error occurred while retrieving policy for this computer (0x80070057). For more information, contact your system administrator or helpdesk operator.]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediawizardcontrol.cpp:1547">
    <![LOG[WelcomePage::OnWizardNext()]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediawelcomepage.cpp:340">
    <![LOG[Skipping Confirmation Page.]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediaconfirmationpage.cpp:170">
    <![LOG[Skipping Task Sequence Selection Page.]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediataskselectionpage.cpp:118">
    <![LOG[Skipping Variables Selection Page.]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediavariablesselectionpage.cpp:155">
    <![LOG[Skipping Resolve Progress Page.]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediaresolveprogresspage.cpp:96">
    <![LOG[Activating Finish Page.]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediafinishpage.cpp:107">
    <![LOG[Loading bitmap]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1112" file="tsmbootstrap.cpp:1228">
    <![LOG[Executing command line: X:\windows\system32\cmd.exe /k]LOG]!><time="16:55:59.048+480" date="03-10-2014" component="TSBootShell" context="" type="1" thread="840" file="bootshell.cpp:857">
    <![LOG[The command completed successfully.]LOG]!><time="16:55:59.048+480" date="03-10-2014" component="TSBootShell" context="" type="1" thread="840" file="bootshell.cpp:939">
    Could this be an IIS problem?

    I've had problems after the R2 upgrade and had to reinstall PXE/WDS on Distribution Point to resolve.
    Also ensure that you apply this hotfix after R2:
    http://www.deploymentresearch.com/Research/tabid/62/EntryId/156/Do-not-do-OSD-in-ConfigMgr-2012-R2-without-this-hotfix.aspx
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • OSD Task Sequence fails with "There are no task sequences available for this computer"

    Let me preface this by saying that I have read at least 100 forum posts with people having similar issues. However, none of the solutions in those
    posts have worked for me.
    The Problem: SCCM 2012 R2 will not image unknown computers.
    The task sequence gives the error "There are no task sequences available for this computer." As soon as that error occurs, SCCM places an Unknown entry into the All Systems collection. I have been imaging unknown computers, without fail, for
    4 months and no environmental changes have been made. NOTE: I am using USB media, not PXE.
    What I've Tried:
    Checked for duplicate SMSBIOS GUIDS in the console, none.
    Checked for duplicate MAC Addresses in the console, none.
    Checked for expired certificates, none.
    Recreated Boot Media, twice.
    Deleted the Unknown entry and retried, SCCM just recreates the Unknown entry.
    Deleted all of my task sequence deployments, and then redeployed them each to All Systems (Only Boot Media and PXE) and to Unknown Systems (Only Boot Media and PXE)
    I have also ran the following in the SQL Server Management Studio;
    SELECT
    * FROM
    ResPolicyMap WHERE
    machineid = 0 and
    PADBID IN
    (SELECT
    PADBID FROM PolicyAssignment
    WHERE BodyHash
    IS NULL)
    No result
    Select
    * From
    vMacAddresses Where
    MacAddresses = '00:00:00:00:00:00'
    This displays an entry for every time that I have tried to image the unknown machine attached to the MAC Address with a different ItemKey and SMS_Unique_Identifier for each entry.
    Added the machine manually using Import Computer Information, immediately recognized the Task Sequences that I have advertised to the All Systems collection.
    Any and all assistance is welcome, I am going on the third straight day of dead ends. Below I have tried my best to post the entire SMSTS Log;

    LOGGING: Finalize process ID set to 744
    ==============================[ TSBootShell.exe ]==============================
    Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
    Debug shell is enabled
    Waiting for PNP initialization...
    RAM Disk Boot Path: MULTI(0)DISK(0)RDISK(0)PARTITION(1)\SOURCES\BOOT.WIM
    WinPE boot path: C:\SOURCES\BOOT.WIM
    Booted from removable device
    Found config path C:\
    Booting from removable media, not restoring bootloaders on hard drive
    C:\WinPE does not exist.
    C:\_SmsTsWinPE\WinPE does not exist.
    Executing command line: wpeinit.exe -winpe
    The command completed successfully.
    Starting DNS client service.
    Executing command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:C:\
    The command completed successfully.
    ==============================[ TSMBootStrap.exe ]==============================
    Command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:C:\
    Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
    Succeeded loading resource DLL 'X:\sms\bin\x64\TSRESNLC.DLL'
    Current OS version is 6.2.9200.0
    Adding SMS bin folder "X:\sms\bin\x64" to the system environment PATH
    Failed to open PXE registry key. Not a PXE boot.
    Media Root = C:\
    WinPE boot type: 'Ramdisk:SourceIdentified'
    Failed to find the source drive where WinPE was booted from
    Executing from Media in WinPE
    Verifying Media Layout.
    MediaType = BootMedia
    PasswordRequired = false
    Found network adapter "Intel(R) Ethernet Connection I217-LM" with IP Address XXX.XX.XXX.XXX.
    Running Wizard in Interactive mode
    Loading Media Variables from "C:\sms\data\variables.dat"
    no password for vars file
    Activating Welcome Page.
    Loading bitmap
    WelcomePage::OnWizardNext()
    Loading Media Variables from "C:\sms\data\variables.dat"
    no password for vars file
    Spawned thread 1008 to download policy.
    Entering TSMediaWizardControl::GetPolicy.
    Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00'
    Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}
    Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00'
    Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}
    Setting LogMaxSize to 1000000
    Setting LogMaxHistory to 1
    Setting LogLevel to 0
    Setting LogEnabled to 1
    Setting LogDebug to 1
    UEFI: false
    Loading variables from the Task Sequencing Removable Media.
    Loading Media Variables from "C:\sms\data\variables.dat"
    Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
    Setting SMSTSMP TS environment variable
    Setting _SMSMediaGuid TS environment variable
    Setting _SMSTSBootMediaPackageID TS environment variable
    Setting _SMSTSBootMediaSourceVersion TS environment variable
    Setting _SMSTSBrandingTitle TS environment variable
    Setting _SMSTSCertSelection TS environment variable
    Setting _SMSTSCertStoreName TS environment variable
    Setting _SMSTSDiskLabel1 TS environment variable
    Setting _SMSTSHTTPPort TS environment variable
    Setting _SMSTSHTTPSPort TS environment variable
    Setting _SMSTSIISSSLState TS environment variable
    Setting _SMSTSMediaCreatedOnCAS TS environment variable
    Setting _SMSTSMediaPFX TS environment variable
    Setting _SMSTSMediaSetID TS environment variable
    Setting _SMSTSMediaType TS environment variable
    Setting _SMSTSPublicRootKey TS environment variable
    Setting _SMSTSRootCACerts TS environment variable
    Setting _SMSTSSiteCode TS environment variable
    Setting _SMSTSSiteSigningCertificate TS environment variable
    Setting _SMSTSStandAloneMedia TS environment variable
    Setting _SMSTSSupportUnknownMachines TS environment variable
    Setting _SMSTSTimezone TS environment variable
    Setting _SMSTSUseFirstCert TS environment variable
    Setting _SMSTSx64UnknownMachineGUID TS environment variable
    Setting _SMSTSx86UnknownMachineGUID TS environment variable
    Root CA Public Certs=
    Missing root CA environment variable from variables file
    Support Unknown Machines: 1
    Custom hook from X:\\TSConfig.INI is
    No hook is found to be executed before downloading policy
    Authenticator from the environment is empty.
    Need to create Authenticator Info using PFX
    Initialized CStringStream object with string: 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A;2014-07-16T18:15:39Z.
    Set media certificate in transport
    Set authenticator in transport
    CLibSMSMessageWinHttpTransport::Send: URL: XXXXXXXXX.XXXXXX.com:80  GET /SMS_MP/.sms_aut?MPKEYINFORMATIONMEDIA
    Request was successful.
    Default CSP is Microsoft Enhanced RSA and AES Cryptographic Provider
    Default CSP Type is 24
    New settings:
        site=XXX,XXX, MP=http://XXXX.XXXX.com, ports: http=80,https=443
        certificates are received from MP.
    Unknown machine GUIDs: 774b17a2-6eeb-44bc-9c94-ce9081f5fe4c 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
        MP specific X86 unknown machine GUID is received at run time
        MP specific X64 unknown machine GUID is received at run time
    Getting MP time information
    Set authenticator in transport
    Requesting client identity
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80  CCM_POST /ccm_system/request
    Request was successful.
    ::DecompressBuffer(65536)
    Decompression (zlib) succeeded: original size 406, uncompressed size 2460.
    -120
    Server time zone info: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
    Client Identity:
    Netbios name:
    Current time: 2014-07-16 18:15:39.787 TZ:Pacific Standard Time Bias:0480
    Current time zone info: 480, Pacific Standard Time, [0 0 0 0 0 0 0 0], 0, , [0 0 0 0 0 0 0 0], 0
    Adjusting the system time: -14400.551 seconds
    Time zone info set to: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
    New time: 2014-07-16 14:15:39.235
    Current time: 2014-07-16 14:15:39.231 TZ: Bias:0300
    Downloading policy from http://XXXX.XXXX.com.
    Initializing HTTP transport.
       Setting URL = http://XXXX.XXXX.com.
       Setting Ports = 80,443.
       Setting CRL = false.
       Setting Server Certificates.
    Set authenticator in transport
       Setting Media Certificate.
    Preparing Client Identity Request.
        Setting transport.
        Setting SourceID = 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A.
        Setting site code = XXX.
    Can not find DeploymentType in file TsmBootstrap.ini or the file doesn't exist. This is not running on Windows To Go.
        Setting SMBIOS GUID = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
        Adding MAC Address XX:XX:XX:XX:XX:XX.
    Executing Client Identity Request.
    Requesting client identity
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80  CCM_POST /ccm_system/request
    Request was successful.
    ::DecompressBuffer(65536)
    Decompression (zlib) succeeded: original size 415, uncompressed size 2460.
    -120
    Server time zone info: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
    Client Identity:
    Netbios name:
    Client GUID = , Netbios name = , State = Known
    Using unknown machine GUID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
    GetSystemEnclosureChassisInfo: IsFixed=TRUE, IsLaptop=TRUE
    Hash computed from CSP: Microsoft Enhanced RSA and AES Cryptographic Provider, AlgID: 32772, HashSize: 20
    Computed HardwareID=2:4AC96CD5003991BC201B7AC01FBC88E592C3E2BE
    Hardware ID: 2:4AC96CD5003991BC201B7AC01FBC88E592C3E2BE
    Preparing the Client DDR Message
        Setting SourceID = 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A.
    Sending the Client DDR message.
    Sending Report
    <Report><ReportHeader><Identification><Machine><ClientInstalled>0</ClientInstalled><ClientType>1</ClientType><Unknown>1</Unknown><ClientID>GUID:26717327-194f-4cd6-90ba-309998c058f2</ClientID><ClientVersion>5.00.0000.0000</ClientVersion><NetBIOSName>Unknown</NetBIOSName><CodePage>437</CodePage><SystemDefaultLCID>1033</SystemDefaultLCID></Machine></Identification><ReportDetails><ReportContent>Inventory
    Data</ReportContent><ReportType>Full</ReportType><Date>20140716141539.000000+000</Date><Version>1.0</Version><Format>1.1</Format></ReportDetails><InventoryAction ActionType="Predefined"><InventoryActionID>{00000000-0000-0000-0000-000000000003}</InventoryActionID><Description>Discovery</Description><InventoryAc
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80  CCM_POST /ccm_system/request
    Request was successful.
    Submitted new client identity: GUID:26717327-194f-4cd6-90ba-309998c058f2
    Preparing Policy Assignment Request.
        Setting transport.
        Setting site code = XXX.
        Setting client ID = 74f16942-dd75-437f-8c4b-2a5de4d0e5e5.
       Setting site signing Certificate.
    Setting SiteSigningCertificateContext
    Executing Policy Assignment Request.
    Sending RequestAssignments
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80  CCM_POST /ccm_system/request
    Request was successful.
    ::DecompressBuffer(65536)
    Decompression (zlib) succeeded: original size 274, uncompressed size 662.
    Request client ID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
    Response client ID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
    Retrieving Policy Assignments:
    Successfully read 0 policy assignments.
    Retrieving collection variable policy.
    Found 0 collection variables.
    Retrieving machine variable policy.
    Found 0 machine variables.
    Setting collection variables in the task sequencing environment.
    Setting machine variables in the task sequencing environment.
    Exiting TSMediaWizardControl::GetPolicy.
    WelcomePage::OnWizardNext()
    Loading Media Variables from "C:\sms\data\variables.dat"
    no password for vars file
    No assigned task sequence.
    Setting wizard error: There are no task sequences available for this computer.
    Skipping Confirmation Page.
    Skipping Task Sequence Selection Page.
    Skipping Variables Selection Page.
    Skipping Resolve Progress Page.
    Activating Finish Page.
    Loading bitmap
    Executing command line: X:\windows\system32\cmd.exe /k
    The command completed successfully.
    Successfully launched command shell.

  • SCCM 2012 Export Task Sequence fails with generic error message

    We have a complex task sequence comprising of more than 50 applications\packages, 1975 drivers, 18 driver packages etc etc. Its long, it's big and it will not export with it's content.
    We have several environments for development test and live. I am attempting to export the primary task sequence with all it's dependencies from live so that I can port it over to a new development environment.
    I can export the zip file without content and it comes to 92Mb in size. The entire task sequence software set is 50Gb+. When I attempt to export with all dependencies and content the process gets about 60% of the way through and fails with the error
    "Error: The filename, directory name, or volume label syntax is incorrect"
    Googling the error roughly defines the problem as 'the export process cannot access the defined source path for one of the dependant items'
    I wrote a PowerShell script that looks as every application, package, driver, driver package, boot image, os image and software update package in the entire SCCM software library and verifies that each and every package has a valid UNC source directory
    that can be reached using test-path.
    I also wrote another tool that parsed the entire source software library on the server looking for permissions errors (permissions on the structure set at a directory level rather than inherited), directories that were too long, inaccessible or otherwise
    blocked, nothing was found.
    It will take a very long time to go through and check each and every dependency by hand - time I do not have at present.
    I looked in the TaskSequenceProvider.log as that is supposed to contain messages from the export process and found the messages in there far too high a level to use
    =======================
    <![LOG[Setting status complete:  status code = 0x0; ]LOG]!><time="13:00:41.161-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="4168" file="exterror.cpp:128">
    <![LOG[[PID: 3500] Invoking method SMS_TaskSequence.ExportXml]LOG]!><time="13:00:42.339-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="4168" file="wmiprovider.cpp:333">
    <![LOG[[PID: 3500] Done with method SMS_TaskSequence.ExportXml]LOG]!><time="13:00:42.341-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="4168" file="wmiprovider.cpp:352">
    <![LOG[Setting status complete:  status code = 0x0; ]LOG]!><time="13:00:42.341-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="4168" file="exterror.cpp:128">
    <![LOG[[1AFF658 PID:3500] Received shutdown request from WMI]LOG]!><time="13:01:36.036-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="5592" file="wmiprovider.cpp:399">
    <![LOG[[1AFF658 PID:3500] Initializing provider for namespace root\sms\site_P01]LOG]!><time="13:02:36.550-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068"
    file="wmiprovider.cpp:90">
    <![LOG[[1AFF658  PID:3500] Initialization of provider for namespace root\sms\site_P01 succeeded]LOG]!><time="13:02:36.551-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1"
    thread="7068" file="wmiprovider.cpp:107">
    <![LOG[[PID: 3500] Invoking method SMS_TaskSequence.LoadFromXml]LOG]!><time="13:02:36.554-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:333">
    <![LOG[[PID: 3500] Done with method SMS_TaskSequence.LoadFromXml]LOG]!><time="13:02:36.558-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:352">
    <![LOG[Setting status complete:  status code = 0x0; ]LOG]!><time="13:02:36.559-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="exterror.cpp:128">
    <![LOG[[PID: 3500] Invoking method SMS_TaskSequence.ExportXml]LOG]!><time="13:03:05.428-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:333">
    <![LOG[[PID: 3500] Done with method SMS_TaskSequence.ExportXml]LOG]!><time="13:03:05.431-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:352">
    <![LOG[Setting status complete:  status code = 0x0; ]LOG]!><time="13:03:05.431-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="exterror.cpp:128">
    <![LOG[[1AFF658 PID:3500] Received shutdown request from WMI]LOG]!><time="13:03:36.369-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:399">
    ====================
    Is there any way of increasing the log verbosity? I need to see what item is causing the export to fail.
    Is there another log containing the information about the export & what it is doing?
    All out builds that use the task sequence complete successfully, we can edit the sequence fine, make changes etc. so no internal corruption we can find.
    Any ideas?

    Torsten, smsprov.log did indeed prove useful, I could see every package as it was validated. Unfortunately the log was wrapping about every 4 minutes and it takes 3+ hours for the task sequence to reach the fail point so I still cannot see the offending
    package as it wraps before I can get to the log.
    I will increase the size of the log and see if I can maintain some details to investigate.
    There was nothing of note in the event logs, certainly nothing leading me to suspect that WMI might be reaching its limits.
    I will keep looking for the cause and will post here when I find it <= positive thinking :)

  • XP to Win7 Upgrade Task Sequence failing with the error 0x800700C1 (Already applied the Hot Fix KB 2910552)

    Hi all
    I'm having the same error that is described in this article http://support.microsoft.com/kb/2910552/en-us
    So i have applied this hot-fix to the SCCM 2012 server and update the distribution points of all boot images. and also i have deployed the hot-fix client package to my XP machines. client's Task Sequence component is now updated to 5.00.7958.1104.
    Still i'm getting the same error in SMSTS.log
    Please help me on this. 
    Asitha

    Which boot image are you using? It has to match the architecture (x86 / x64) of XP if I am not mistaken.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012 OSD Task Sequence Fails "An error occurred while retrieving policy for this computer"

    We have SCCM 2012 R2. I amm trying to start OSD task sequence from bootable media.
    Hyper-v client gets DHCP ip and starts MDT bootable media, but could not find policy.
    From F8 I can ping SCCM/DP/MP server.
    What could be the cause?

    Yes, this DHCP client is in the same subnet as other working clients.
    smsts.log from client
    Request was successful. TSPxe
    21.03.2014 14:14:14 324 (0x0144)
    pNext != NULL, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,1970)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    reply has no message header marker TSPxe
    21.03.2014 14:14:14 324 (0x0144)
    DoRequest (sReply, true), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,5868)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    Failed to get client identity (80004005)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    ClientIdentity.RequestClientIdentity (), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1113)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    failed to request for client
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    Exiting TSMediaWizardControl::GetPolicy. TSPxe
    21.03.2014 14:14:14 324 (0x0144)

  • ReleaseRequest failed with error code 0x80004005 \ Task Sequence Manager could not release active TS request. code 80004005

    Hi All,
    I am trying to deploy an OS but the deployment is failing part way through. I have searched the logs and identified the error: Task Sequence Manager could not release active TS request. code 80004005
    If anyone could assist with this is would be much appreciated.
    Many thanks
    Logs below:
    <![LOG[Unlocked ActualConfig successfully]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="policyutil.cpp:7898">
    <![LOG[Unlocked policy transaction lock successfully]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="policyutil.cpp:7904">
    <![LOG[Raising event:
    instance of CCM_PolicyAgent_SettingsEvaluationComplete
    ClientID = "GUID:8388E2E2-7642-4436-88D0-FC9335F6D56E";
    DateTime = "20141218122103.273000+000";
    PolicyNamespace = "\\\\wst0339\\root\\ccm\\policy\\machine\\actualconfig";
    ProcessID = 1748;
    ThreadID = 1752;
    ]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="event.cpp:729">
    <![LOG[Successfully submitted event to the Status Agent.]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="event.cpp:747">
    <![LOG[End TS policy evaluation]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="policyutil.cpp:10580">
    <![LOG[Policy evaluation initiated]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:3387">
    <![LOG[Sending success status message]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tsmanager.cpp:659">
    <![LOG[MP server http://LONSVR0150.uk.ham.local. Ports 80,443. CRL=false.]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:4855">
    <![LOG[Setting authenticator]LOG]!><time="12:21:03.288+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:4877">
    <![LOG[Set authenticator in transport]LOG]!><time="12:21:03.288+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="libsmsmessaging.cpp:7592">
    <![LOG[Sending StatusMessage]LOG]!><time="12:21:03.304+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="libsmsmessaging.cpp:4020">
    <![LOG[Setting message signatures.]LOG]!><time="12:21:03.320+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="libsmsmessaging.cpp:1292">
    <![LOG[Setting the authenticator.]LOG]!><time="12:21:03.320+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="libsmsmessaging.cpp:1322">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: LONSVR0150.uk.ham.local:80  CCM_POST /ccm_system/request]LOG]!><time="12:21:03.320+00" date="12-18-2014" component="TSManager" context="" type="1"
    thread="1752" file="libsmsmessaging.cpp:8422">
    <![LOG[Request was succesful.]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="libsmsmessaging.cpp:8758">
    <![LOG[Finalize logging request ignored from process 1748]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tslogging.cpp:1737">
    <![LOG[Waiting for CcmExec service to be fully operational]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:4019">
    <![LOG[CcmExec service is up and fully operational]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:4024">
    <![LOG[Access handle will be read from _SMSTSActiveRequestHandle]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tsmanagerutils.cpp:99">
    <![LOG[Access handle: {9F9B91DA-055D-4B32-9817-52C369835080}]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tsmanagerutils.cpp:111">
    <![LOG[Attempting to release request using {9F9B91DA-055D-4B32-9817-52C369835080}]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752"
    file="tsmanagerutils.cpp:118">
    <![LOG[CoCreateInstance succeeded]LOG]!><time="12:21:03.382+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tsmanagerutils.cpp:133">
    <![LOG[pISoftwareExecutionRequestMgr->ReleaseRequest(ActiveRequestGUID), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanagerutils.cpp,136)]LOG]!><time="12:21:03.382+00" date="12-18-2014" component="TSManager"
    context="" type="0" thread="1752" file="tsmanagerutils.cpp:136">
    <![LOG[ReleaseRequest failed with error code 0x80004005]LOG]!><time="12:21:03.382+00" date="12-18-2014" component="TSManager" context="" type="3" thread="1752" file="tsmanagerutils.cpp:136">
    <![LOG[Task Sequence Manager could not release active TS request. code 80004005]LOG]!><time="12:21:03.382+00" date="12-18-2014" component="TSManager" context="" type="2" thread="1752"
    file="tsmanagerutils.cpp:165">
    <![LOG[Process completed with exit code 0]LOG]!><time="12:21:03.413+00" date="12-18-2014" component="TSMBootstrap" context="" type="1" thread="1728" file="commandline.cpp:1098">
    <![LOG[Exiting with return code 0x00000000]LOG]!><time="12:21:03.413+00" date="12-18-2014" component="TSMBootstrap" context="" type="1" thread="1728" file="tsmbootstrap.cpp:1032">
    <![LOG[Process completed with exit code 0]LOG]!><time="12:21:03.413+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="commandline.cpp:1098">
    <![LOG[Task sequence completed 0x00000000]LOG]!><time="12:21:03.413+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1384">
    <![LOG[Uninstalling Setup Hook]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1427">
    <![LOG[Removing setup hook from registry.]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="0" thread="788" file="vistasetuphook.cpp:143">
    <![LOG[Successfully removed C:\WINDOWS\system32\OSDGINA.DLL]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1183">
    <![LOG[Successfully removed C:\WINDOWS\system32\OSDSETUPHOOK.EXE]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1183">
    <![LOG[Successfully removed C:\WINDOWS\system32\_SMSOSDSetup]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1220">

    4005 can mean a few things,  Some common can be  The wrong BIOS time,  or a a bad Hard drive.   look at those two first. 

  • Task Sequence has failed with error code: 0x80070570

    I've created task sequence for Windows XP OS Deployment. WinPE boot image loads successfully, Partitions are formatted successfully too. But during "Applying image 1 from volume C:\" I receive following error:
    Task Sequence: My_task_sequence_name has failed with error code: 0x80070570.
    What I need to do? Any ideas? (My computer has following details: ASUS P5KSE motherboard, Core 2 Duo, SATA HDD, Atheros L1 adapter)

    No, a build and capture task sequence automates the build of the image removing any and all human intervention so that rebuilding or refreshing an image becomes a simple matter. Building images by actually manually installing Windows is anti-IT.
    File corruption can be caused by many, many things; e.g., anti-virus, physical disk errors, network transmit errors, etc.
    Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys

  • Task Sequence fails on "Apply Driver Package" when PXE-booting but not with bootable media

    I have an issue where my Task Sequence fails during 'Apply Driver Package' when PXE-booting but works ok when booting from CD or USB-stick. It fails withe error code 0x80070002 and when pressing F8 and checking the ipconfig there's a 169.254.x.x address.
    Somehow it looses it's real ip during the process.
    I'm grateful for any advice!

    Please enable verbose logging for Task sequence, then upload the smsts.log to Skydrive.
    0x80070002 error is too generic, which cannot be used to determine the cause.
    Juke Chou
    TechNet Community Support

  • OSD - Failed to run Task Sequence. An error occurred while starting the task sequence (0x8007000E).

    Failed to run Task Sequence.
    An error occurred while starting the task sequence (0x8007000E)."
    While OSD, picks up task sequence but fails in resolving task sequence dependencies. SMSPXE identifies device is not in database (unknown).
    SMSTS.log shows
    ThreadToResolveAndExecuteTaskSequence failed. Code(0x8007000E)" in SMSTS.LOG, have seen other articles suggesting failure due to lack of storage (RAM) but this task sequence has worked in past.
    By the way, if I create a stand alone media, we are able to image the workstation. What has changed in the task sequence such that the workstation is unable to download policies due to lack of storage (RAM) on workstation. Workstation has 2 GB of RAM.

    I have found a work around for the issue, even though the computer is unknown, there were software updates targeted to the ALL SYSTEMS collection which applies to All Unknown Computers and therefore to x64 Unknown Computer and x86 Unknown Computer.
    We had a SCEP ADR applying definition updates to All Systems, we applied the ADR to a different collection, removed all the SCEP updates to All Systems and successfully re-imaged the workstation. Following article was of great help in identifying the problem
    after-selecting-a-task-sequence-in-configuration-manager-2012-sp1-you-receive-threadtoresolveandexecutetasksequence-failed-code0x8007000e-in-smsts-log
    Thanks Gerry for your assistance.

  • SSIS custom execute sql task : Failed with error

    I am developing a custom SSIS task for running sql task. But it fails with error - I'm trying to set the resultsetbinding to be used by next task in workflow.
    Error: 0xC0014054 at CustomSSISTask: Failed to lock variable "User::id" for read access with error 0xC0010001 "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container
    during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created.".
    Error: 0xC002F210 at CustomSSISTask, Execute SQL Task: Executing the query "SELECT id FROM sysobjects WHERE name = 'sysrowsets..." failed with the following error: "Failed to lock variable "User::id" for read access with error 0xC0010001
    "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is
    not being created.".
    ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    Warning: 0x80019002 at CustomSSISTask: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (3) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches
    the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    Task failed: CustomSSISTask
    Here is the code sample I'm trying , 
            public override DTSExecResult Execute(Connections connections, VariableDispenser variableDispenser,
                                                  IDTSComponentEvents componentEvents, IDTSLogging log, object transaction)
                MessageBox.Show("testing:");
                try
                    // Add the SQL Task
                    Package package = new Package();
                    package.Executables.Add("STOCK:SQLTask");
                    Microsoft.SqlServer.Dts.Runtime.Variable variable = package.Variables.Add("id", false, "User", 0);
                     // Get the task host wrapper
                    TaskHost taskHost = package.Executables[0] as TaskHost;
                    // Get the task object
                    ExecuteSQLTask task = taskHost.InnerObject as ExecuteSQLTask;
                    // Set core properties
                    task.Connection = connections[0].Name;
                    task.SqlStatementSource = "SELECT id FROM sysobjects WHERE name = 'sysrowsets'";
                    //task.SqlStatementSource =
                    //    "SELECT PersonID from [AmalgaSpeedTableData].[SpeedTable].[DimPerson] where PersonIntID  = '1'";
                    task.SqlStatementSourceType = SqlStatementSourceType.DirectInput;
                    // Add result set binding, map the id column to variable
                    IDTSResultBinding resultBinding = task.ResultSetBindings.Add();
                    //IDTSResultBinding resultBinding = task.ResultSetBindings.GetBinding(0);
                    resultBinding.ResultName = "variable";
                    resultBinding.DtsVariableName = variable.QualifiedName; //"User::id";
                    task.Execute(connections, variableDispenser, componentEvents, log, transaction);
                catch (Exception ex)
                    throw new ArgumentException(ex.Message);
                return DTSExecResult.Success;
    It doesnt throw any exception but custom task fails.
    Later I will be also using parametersetbindings to pass some input parameters to this task , since I'm stuck for out param - blocked moving ahead.
    Any help would be greatly appreciated.
    Thanks
    Sang

    Hi, could you check whether the following threads help:
    http://stackoverflow.com/questions/5787621/ssis-package-failed-to-locak-variable-for-read-access-with-error-0xc0010001
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/40ee7eff-5ec1-426f-a1a8-ab85b40b51aa/error-variable-can-not-be-found-while-executing-package-from-the-net-code?forum=sqlintegrationservices
    Regards, Leo

  • SCCM 2012 CU2 OSD forest trust: ReleaseRequest failed with error code 0x87d00317

    Hello,
    Actually i have a difficult Problem with my SCCM 2012 R2 CU2 Windows 7 x64 SP1 Tasksequence:
    I get the folowing error in smsts.log:
    ::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811) TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    GetTsRegValue() is unsuccessful. 0x80070002. TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    End program:  TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Finalize logging request ignored from process 1736 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Waiting for CcmExec service to be fully operational TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    CcmExec service is up and fully operational TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Access handle will be read from _SMSTSActiveRequestHandle TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Access handle: {B699D570-B2BF-4874-8CB7-3B208B380969} TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Attempting to release request using {B699D570-B2BF-4874-8CB7-3B208B380969} TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    CoCreateInstance succeeded TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    pISoftwareExecutionRequestMgr->ReleaseRequest(ActiveRequestGUID), HRESULT=87d00317 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanagerutils.cpp,136) TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    ReleaseRequest failed with error code 0x87d00317 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Task Sequence Manager could not release active TS request. code 87D00317 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Here is the complete smsts.log: http://1drv.ms/1pwTEBf
    To explain the Problem in Detail:
    The SCCM Primary Site Server and the Clients are in different trusted (bidirectional) forests!
    Everythings working fine in this Scenario, I can install SCCM Agent on the Clients with Manual ccmsetup and with Client Push Installation. Additionally i can deploy Software Updates and so on... only OSD is crashing in the releaserequest step.
    During my Tasksequence new Clients are joined to Domain A while SCCM Primary Site Server is installed in Domain B
    If I change my TS and let the Clients also join Domain B everything works without any Problems and the Tasksequence finish without any Errors.
    My Problem must be related to the different Domains and the forest trust.
    My Setup:
    MP published to DNS in both domains
    Schema Extended in both domains
    System Management Container published and verified in both domains
    ccmsetup Parameters in TS: ccmsetup SMSMP=sccm.domain.b FSP=sccm.domain.b DNSSUFFIX=Domain.b
    Network Access account configured with Domain B account
    Domain Join account has create Computer rights on the OU in Domain A (Domain join is successful)
    DNs conditional forwarders configured in both Domains and DNS resolutin is working in both directions
    Any suggestions?
    Many thanks.
    regards,
    Christian

    Hi Christian,
    So do you actual get an error message in your TS or is it just failing to join Domain B?  (Could be both if the machines fails to join the domain).
    Can you review netsetup.log on the machines after the issue and see what error message you might be getting during the domain join process?
    Also, if it a domain join issue, can you try manually joining to domain B using the same service account?

Maybe you are looking for

  • IPhone 6 can't forward text messages (iOS 8.1.1)

    The forward arrow is mission in the bottom of my text message options, the entire bottom of screen is blank when you select the message and hit more....doesn't give you any options after you hit more.........was in my old i phone

  • How do I transfer my iPad and iPhone info from one email address to my daughter's current email address?

    I had an apple ID under my email address and had an icloud plan for an iPhone.  We gave the iPhone (with my email address) to my daughter and she has her own iPad as well.  I was able to set up her iPad with her own email address, but I cannot figure

  • Creative zen micro in the c

    is there anyway i can hook my zen micro up in the car so it plays through my speakers and radio deck? . i see they have a belkin zen thing, but is that just a holder for it for going in your cup holder? if i cant listen to my zen in the car im tossin

  • Imac freezese an now will not boot up

    I have a 24in imac late 2006 which has recently been difficult to wake up with screen pixilation etc. Now it just freezes as soon as you touch anything and I cannot even get it to boot up now. Have reset smc and pram and now just have a blank screen.

  • How do i clone bootcamp running windows 7

    I am trying to clone a windows 7 bootcamp partition running on Lion. I have not been able to find any solutions so far online. Anyone have any advice?