This is really helpful post.
i followed the process but it is failed in Runscanstate(do X86 Scanstate) with below mentioned error . can you please help me on this
Failed to run the action: do X86 Scanstate.
The specified disk or diskette cannot be accessed. (Error: 0000001A; Source: Windows)]LOG]!
***********************************
![LOG[Expand a string: WinPEandFullOS]LOG]!><time="12:42:40.185-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="executionenv.cxx:782">
<![LOG[Executing command line: smsswd.exe /run:M010010D cmd /c runscanstate-offlinewindir.bat %OSDStateStorePath% %systemdrive%]LOG]!><time="12:42:40.185-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="commandline.cpp:827">
<![LOG[[ smsswd.exe ]]LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="main.cpp:289">
<![LOG[PackageID = 'M010010D']LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="main.cpp:318">
<![LOG[baseVar = '', ContinueOnError='']LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="main.cpp:319">
<![LOG[ProgramName = 'cmd /c runscanstate-offlinewindir.bat c:\USMToffline c:']LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="main.cpp:320">
<![LOG[swdAction = '0001']LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="main.cpp:321">
<![LOG[ResolveSource flags: 0x00000000]LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="resolvesource.cpp:3265">
<![LOG[sMSTSPersistContent: . The content for package M010010D will be persisted]LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="resolvesource.cpp:3274">
<![LOG[The package M010010D is found locally in the cache E:\_SMSTaskSequence\Packages\M010010D]LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="resolvesource.cpp:3301">
<![LOG[Resolved source to 'E:\_SMSTaskSequence\Packages\M010010D']LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:449">
<![LOG[set command line: Run command line]LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="0" thread="1192" file="commandline.cpp:731">
<![LOG[Working dir 'c:\USMTbits\']LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:542">
<![LOG[Executing command line: Run command line]LOG]!><time="12:42:40.216-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="commandline.cpp:827">
<![LOG[]LOG]!><time="12:42:40.466-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:34">
<![LOG[c:\USMTbits>"c:\USMTbits\x86\scanstate.exe" "c:\USMToffline" /c /o /hardlink /efs:hardlink /nocompress /offlinewindir:c:\windows /v:5 /l:c:\windows\TEMP\SMSTSLog\scanstate.log /progress:c:\windows\TEMP\SMSTSLog\scanstateprogress.log /i:c:\USMTbits\x86\miguser.xml /i:c:\USMTbits\x86\migapp.xml ]LOG]!><time="12:42:40.466-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:34">
<![LOG[]LOG]!><time="12:42:40.466-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:34">
<![LOG[Process completed with exit code 26]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="commandline.cpp:1123">
<![LOG[]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:34">
<![LOG[]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:34">
<![LOG[canState return code: 26]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:34">
<![LOG[]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:34">
<![LOG[Command line returned 26]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="runcommandline.cpp:565">
<![LOG[Entering ReleaseSource() for E:\_SMSTaskSequence\Packages\M010010D]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="resolvesource.cpp:3616">
<![LOG[reference count 1 for the source E:\_SMSTaskSequence\Packages\M010010D before releasing]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="resolvesource.cpp:3623">
<![LOG[Released the resolved source E:\_SMSTaskSequence\Packages\M010010D]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="InstallSoftware" context="" type="1" thread="1192" file="resolvesource.cpp:3656">
<![LOG[Process completed with exit code 26]LOG]!><time="12:42:40.513-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="commandline.cpp:1123">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="12:42:40.529-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="instruction.cxx:3012">
<![LOG[Failed to run the action: do X86 Scanstate.
The specified disk or diskette cannot be accessed. (Error: 0000001A; Source: Windows)]LOG]!><time="12:42:40.529-240" date="06-08-2014" component="TSManager" context="" type="3" thread="1924" file="instruction.cxx:3103">
<![LOG[MP server http://primsccmsrv.newtonXXX.corp.network. Ports 80,443. CRL=false.]LOG]!><time="12:42:40.529-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="utils.cpp:5300">
<![LOG[setting authenticator]LOG]!><time="12:42:40.560-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="utils.cpp:5322">
<![LOG[set authenticator in transport]LOG]!><time="12:42:40.576-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="libsmsmessaging.cpp:7751">
<![LOG[sending StatusMessage]LOG]!><time="12:42:40.591-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="libsmsmessaging.cpp:4025">
<![LOG[setting message signatures.]LOG]!><time="12:42:40.607-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="libsmsmessaging.cpp:1297">
<![LOG[setting the authenticator.]LOG]!><time="12:42:40.607-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="libsmsmessaging.cpp:1327">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: primsccmsrv.newtonXXX.corp.network:80 CCM_POST /ccm_system/request]LOG]!><time="12:42:40.607-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="libsmsmessaging.cpp:8621">
<![LOG[Request was succesful.]LOG]!><time="12:42:40.951-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="libsmsmessaging.cpp:8956">
<![LOG[set a global environment variable _SMSTSLastActionRetCode=26]LOG]!><time="12:42:40.951-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="executionenv.cxx:668">
<![LOG[set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="12:42:40.951-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="executionenv.cxx:668">
<![LOG[Clear local default environment]LOG]!><time="12:42:40.951-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="executionenv.cxx:807">
<![LOG[Let the parent group (Run) decides whether to continue execution]LOG]!><time="12:42:40.998-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="instruction.cxx:3212">
<![LOG[Let the parent group (XCopy) decide whether to continue execution]LOG]!><time="12:42:40.998-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="instruction.cxx:2462">
<![LOG[Let the parent group (Offline Scanstate in WinPE) decide whether to continue execution]LOG]!><time="12:42:40.998-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="instruction.cxx:2462">
<![LOG[The execution of the group (Offline Scanstate in WinPE) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="12:42:40.998-240" date="06-08-2014" component="TSManager" context="" type="3" thread="1924" file="instruction.cxx:2425">
<![LOG[Failed to run the last action: do X86 Scanstate. Execution of task sequence failed.
The specified disk or diskette cannot be accessed. (Error: 0000001A; Source: Windows)]LOG]!><time="12:42:40.998-240" date="06-08-2014" component="TSManager" context="" type="3" thread="1924" file="engine.cxx:214">
<![LOG[MP server http://primsccmsrv.newtonXXX.corp.network. Ports 80,443. CRL=false.]LOG]!><time="12:42:41.013-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="utils.cpp:5300">
<![LOG[setting authenticator]LOG]!><time="12:42:41.044-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="utils.cpp:5322">
<![LOG[set authenticator in transport]LOG]!><time="12:42:41.044-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="libsmsmessaging.cpp:7751">
<![LOG[sending StatusMessage]LOG]!><time="12:42:41.076-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="libsmsmessaging.cpp:4025">
<![LOG[setting message signatures.]LOG]!><time="12:42:41.091-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="libsmsmessaging.cpp:1297">
<![LOG[setting the authenticator.]LOG]!><time="12:42:41.091-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="libsmsmessaging.cpp:1327">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: primsccmsrv.newtonXXX.corp.network:80 CCM_POST /ccm_system/request]LOG]!><time="12:42:41.091-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="libsmsmessaging.cpp:8621">
<![LOG[Request was succesful.]LOG]!><time="12:42:41.326-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="libsmsmessaging.cpp:8956">
<![LOG[Executing command line: X:\WINDOWS\system32\cmd.exe /k]LOG]!><time="12:45:40.098-240" date="06-08-2014" component="TSBootShell" context="" type="1" thread="836" file="bootshell.cpp:857">
<![LOG[The command completed successfully.]LOG]!><time="12:45:40.098-240" date="06-08-2014" component="TSBootShell" context="" type="1" thread="836" file="bootshell.cpp:939">
<![LOG[successfully launched command shell.]LOG]!><time="12:45:40.098-240" date="06-08-2014" component="TSBootShell" context="" type="1" thread="836" file="bootshell.cpp:430">
<![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,866)]LOG]!><time="12:57:41.799-240" date="06-08-2014" component="TSManager" context="" type="0" thread="1924" file="tsmanager.cpp:866">
<![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="12:57:41.799-240" date="06-08-2014" component="TSManager" context="" type="3" thread="1924" file="tsmanager.cpp:866">
<![LOG[****************************************************************************]LOG]!><time="12:57:41.799-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="tsmanager.cpp:889">
<![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="12:57:41.799-240" date="06-08-2014" component="TSManager" context="" type="3" thread="1924" file="tsmanager.cpp:890">
<![LOG[Cleaning Up.]LOG]!><time="12:57:41.799-240" date="06-08-2014" component="TSManager" context="" type="1" thread="1924" file="tsmanager.cpp:637">
***********************
*****************************************************************************
scanstate log:-
2014-06-08 12:42:40, Info [0x000000] Command line: c:\USMTbits\x86\scanstate.exe c:\USMToffline /c /o /hardlink /efs:hardlink /nocompress /offlinewindir:c:\windows /v:5 /l:c:\windows\TEMP\SMSTSLog\scanstate.log /progress:c:\windows\TEMP\SMSTSLog\scanstateprogress.log /i:c:\USMTbits\x86\miguser.xml /i:c:\USMTbits\x86\migapp.xml
2014-06-08 12:42:40, Status [0x000000] Activity: 'MIGACTIVITY_COMMAND_LINE_PROCESSING'
2014-06-08 12:42:40, Error [0x000000] Invalid Windows folder for offline gather to start - c:\windows[gle=0x00000003]
2014-06-08 12:42:40, Error [0x000000] Invalid Windows folder for offline gather to start - c:\windows[gle=0x00000003]
2014-06-08 12:42:40, Info [0x000000] Failed.[gle=0x00000006]
2014-06-08 12:42:40, Info [0x000000] Unable to find a valid Windows directory to proceed with requested offline operation;
Check if offline input file is present and has valid entries[gle=0x00000006]
2014-06-08 12:42:40, Info [0x000000] USMT Completed at 2014/06/08:12:42:40.357[gle=0x00000006]
2014-06-08 12:42:40, Info [0x000000] Entering MigShutdown method
2014-06-08 12:42:40, Info [0x000000] Leaving MigShutdown method