I'm currently working on a project to get rid of XP with Windows 7 ZTI using local hard link USMT. Everything is going well for the most part but I have two issues that keep coming up on a few machines.
These are my stats so far:
580 successful with no issue
27 devices USMT loadstate errors (data is intact in C:\UserState however loadstate failed and did not complete the restore or deletion of that folder as it should:
4-5 failure during OS apply .wim step (system is no longer bootable however data is intact in C:\UserState)
***************************************
A very few machines fail during the Apply OS step. On one machine since I was in front of it I saw this device had some bad sectors on the drive. I manually ran chkdsk to fix the errors and then reimaged it fine.
Since we are doing ZTI remotely we aren't in front of the device to confirm for the other 4-5 this was the same issue on them. I have built in a second attempt to apply the OS with it running chkdsk during the task sequence if it failed on the first attempt. So far this isn't working to get around the problem on some machines.
This is the command line I'm using from WinPE if Apply OS fails the first attempt:
cmd.exe /c "x:\windows\system32\chkdsk c: /F /R"
If it fails in WinPE I don't have the smsts.log details since we are remote at that time.
Does anyone have any further suggestions on this issue?
***********************************************
Second problem that I see a few every night for example if I deploy to 70 devices I will likely see about 2 with this problem. USMT loadstate failure after OS is applied. The data is intact but not restored all the way. I then have to get a tech to visit the device, confirm data restoration and then cleanup the C:\UserState folder.
These are some of the common errors from LoadState.log:
2014-02-28 00:47:25, Error [0x080000] There was an error while calling CreateProfile. Error: 0x800700B7
2014-02-28 00:47:25, Info [0x0803e5] Not unmapping HKCU; it is not mapped
2014-02-28 00:47:25, Error [0x000000] Error 0 creating profile for user MyDomain\JamesT (source user MyDomain\JamesT)
2014-02-28 00:47:25, Info [0x000000] Failed.[gle=0x00000006]
2014-02-28 00:47:25, Info [0x000000] A Windows Win32 API error occurred
Windows error 0 description: The operation completed successfully.[gle=0x00000006]
2014-02-28 00:47:25, Info [0x000000] Entering MigCloseCurrentStore method
2014-02-28 00:47:25, Info [0x0801dc] Closing catalog file
2014-02-28 00:47:25, Info [0x0801dd] Deleting catalog file at C:\Windows\Temp\tmpD142.tmp\Temp\tmpD79A.tmp
2014-02-28 00:47:25, Error [0x0802f5] CMediaManager::Close: m_pSelectedTransport->Close(1) failed with Exception Win32Exception: Device was open with readonly access.: Access is denied. [0x00000005] void __thiscall Mig::CMediaManager::CloseTransport(int)
void __thiscall Mig::CUNCTransport::Close(int).[gle=0x00000006]
2014-02-28 00:47:25, Error [0x000000] MigCloseCurrentStore caught exception: Win32Exception: Device was open with readonly access.: Access is denied. [0x00000005] void __thiscall Mig::CMediaManager::CloseTransport(int)