Failed to locate the local data path. The files needed to resume the task sequence are missing. This could be because the task sequence finished while in Windows PE

Boopathi S 3,806 Reputation points
2022-11-28T20:15:22.037+00:00

Hello,

OSD is in progress and it was installing Office 365 package and it is completed. But it ended with below message.

Waiting for job status notification...
Waiting for job status notification...
LOGGING: Finalize process ID set to 5360
Successfully initialized Logging for Task Sequence Manager.
Commandline: C:\windows\CCM\TSManager.exe /service
/service parameter found at index: 29
/noclient parameter found at index: 18446744073709551615
Successfully registered Task Sequencing COM Interface.
Running service module (tsmanager.exe) version 5.0.9078.1005 from location 'C:\windows\CCM\TSManager.exe'
In start service
Started ServiceMain
!sVolumeID.empty(), HRESULT=80004005 (X:\bt\1022896\repo\src\Framework\TSCore\resolvesource.cpp,477)
!sTSMDataPath.empty(), HRESULT=80070002 (X:\bt\1022896\repo\src\Framework\TSCore\resolvesource.cpp,1437)
Failed to restore logs from cache. Execution history may be lost.
Task Sequence Manager executing as service main thread
Client push lock file found.
Initializing Task Sequence Environment
Creating Task Sequencing Environment
Environment scope successfully created: Global{51A016B6-F0DE-4752-B97C-54E6F386A912}
Environment scope successfully created: Global{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}
!sVolumeID.empty(), HRESULT=80004005 (X:\bt\1022896\repo\src\Framework\TSCore\resolvesource.cpp,477)
!sTSMDataPath.empty(), HRESULT=80070002 (X:\bt\1022896\repo\src\Framework\TSCore\resolvesource.cpp,1437)
TS::Utility::GetTSMDataPath(sTSMDataPath), HRESULT=80070002 (X:\bt\1022896\repo\src\client\TaskSequence\TSManager\tsmanager.cpp,1493)
Failed to locate the local data path. The files needed to resume the task sequence are missing. This could be because the task sequence finished while in Windows PE. Please check the largest available partition for SMSTSLog\smsts.log file for more information.
The system cannot find the file specified. (Error: 80070002; Source: Windows)
Task Sequence Manager could not initialize Task Sequence Environment. code 80070002
hr = InitializeEnvironment(), HRESULT=80070002 (X:\bt\1022896\repo\src\client\TaskSequence\TSManager\tsmanager.cpp,1270)
Task sequence execution failed with error code 80070002
Cleaning Up.
Removing Authenticator
shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (X:\bt\1022896\repo\src\Framework\CcmUtilLib\CcmUtilLib.cpp,2153)
shKey.DeleteValue(sValueName.c_str()), HRESULT=80070002 (X:\bt\1022896\repo\src\Framework\CcmUtilLib\CcmToken.cpp,1138)
EncryptStringAndSetToRegistry((( HKEY ) (ULONG_PTR)((LONG)0x80000002) ), c_szCCMRegKey_Root, sRegValueName, sToken), HRESULT=80070002 (X:\bt\1022896\repo\src\Framework\CcmUtilLib\CcmToken.cpp,1067)
shKey.DeleteValue(sValueName.c_str()), HRESULT=80070002 (X:\bt\1022896\repo\src\Framework\CcmUtilLib\CcmToken.cpp,1138)
EncryptStringAndSetToRegistry((( HKEY ) (ULONG_PTR)((LONG)0x80000002) ), c_szCCMRegKey_Root, sRegValueName, sToken), HRESULT=80070002 (X:\bt\1022896\repo\src\Framework\CcmUtilLib\CcmToken.cpp,1067)
!sVolumeID.empty(), HRESULT=80004005 (X:\bt\1022896\repo\src\Framework\TSCore\resolvesource.cpp,477)

Kindly help how to reinitate the task sequence again and how to check what caused the issue

Microsoft Security | Intune | Configuration Manager | Deployment
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Simon Ren-MSFT 40,346 Reputation points Microsoft External Staff
    2022-11-29T08:18:59.397+00:00

    Hi,

    1,Maybe the TS is unable to continue because it can't locate the local TS cache. This is probably due to missing mass storage driver. Press F8 when PE boots, at the command prompt see if C: is in fact your C: drive, otherwise try D: or E:. If none of these drives are your original C: then the Mass storage drivers are missing from Windows PE and you will need to add them in.

    2,Is that the end of the smsts.log? What does your task sequence look like? If possible, please share your task sequence screenshot.

    Thanks for your time. Have a nice day!

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.