Hi, I’m Alain Schneiter
This is my first post in this blog! I’m verry proud to be a part of this team.
Today we had the issue with a failing Tasksequence during the OSD of a Windows 2012 Server. The SMSts.log contained following error:
!sVolumeID.empty(), HRESULT=80004005
!sTSMDataPath.empty(), HRESULT=80070002
TS::Utility::GetTSMDataPath( sDataDir ), HRESULT=80070002
Failed to set log directory. Some execution history may be lost.
The system cannot find the file specified. (Error: 80070002; Source: Windows)
Executing task sequence
!sVolumeID.empty(), HRESULT=80004005
!sTSMDataPath.empty(), HRESULT=80070002
The error occured right after the Software Update step in the Tasksequence.
Microsoft deployed a few updates with multiple restarts needed.
Those updates should not be deployed with a Tasksequence.
See the MS KB: http://support.microsoft.com/kb/2894518
Maybe you will create a Software Update Group to Isolate all this multiple restart updates:

Hope this helps.
Cheers,
Al