USMT 4 in WINPE 3 Fails offline scanstate
I have been trying to integrate USMT4 into a WinPE 3 build I have. My goal is to run USMT on the offline c drive. I run the scanstate command with the /offline: <path to offline.xml> switch and I recieve the following errors: Scanstate.exe - Bad Image X:\windows\system32\msxml6.dll is either not designed to run on Windows or it contains an error. I click ok and recieve the same message for a different dll Scanstate.exe- Bad Image X:\windows\system32\msxml3.dll is either not designed to run on Windows or it contains an error. I assume this is because I do not have the WinPE-XML-Package installed, yet the package isn't in the latest AIK. From what I am reading this should be included in the base WinPE3 WIM. I have also tried running the command with the /offlinewindir: switch and I receive the following error: USMT Status 1033 (STORE_ARGUMENT_ERROR): An error occurred processing the command line. Settings store argument specified is invalid[gle=0x000000b7] Example of the command I am running: Note S is a network share I have mapped. scanstate S:\Offline \offlinewindir:C:\Windows /i:migapp.xml /i:miguser.xml /i:migexclude.xml /w:5 /c /v:1 /uel:10 /efs:skip /l:S:\Offline\Logfiles\Offline-scanstate.log Any suggestions?
October 25th, 2010 9:26am

Hi, Thanks for posting in Microsoft TechNet Forum. Based on the error message, i suggest you should review ScanState log or LoadState log for details about command-line errors. Make sure that the store path is accessible and that the proper permission levels are set. And this issue may be related to the WinPE you have, so please try again as the steps below: Step-by-Step: Offline Migration with USMT 4.0 Hope it helps. Regards, Alex Zhao TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.comPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2010 4:06pm

THanks for the suggestion Alex, the scanstate log references the error I mentioned above. I am just attempting to run scanstate so the loadstate logs are unecessary. ##ERROR## --> Settings store argument specified is invalid[gle=0x000000b7] I have verified that the store path is accessible and the appropriate permissions are set. Even if I change the store path to an external drive I recieve the same error message. I have followed the step by step guide mentioned above. 1) The UMST installer files are located in Program Files\USMT4 2) I have set the environment variables to the following set USMT_WORKING_DIR=C:\USMTx86 set MIG_OFFLINE_PLATFORM_ARCH=32 3) When I run the scanstate command with the offline option pointing to my offline XML file I recieve the following error and the scanstate log shows that scanstate terminated: Scanstate.exe - Bad Image X:\windows\system32\msxml6.dll is either not designed to run on Windows or it contains an error I click ok and recieve the same message for a different dll Scanstate.exe- Bad Image X:\windows\system32\msxml3.dll is either not designed to run on Windows or it contains an error. This leads me to believe the xml package is not installed? From what I am reading this package is now included in WinPe3 Questions: Do I need to be using the Offline switch or the OfflineWinDir switch in my command line? Is the WinPe-XML-package included in WinPE3, if so does it need to be "installed?" Thanks, Mike
October 26th, 2010 5:28pm

Hi Mike, For a normal Offline migration, you should use the /offline switch. If you also need to tell scanstate where the Windows Directory is (for example, if it was installed in somewhere other than C:\Windows), then you would use the /offlineWinDir switch as well. This link has the full explanation: http://technet.microsoft.com/en-us/library/dd560781(WS.10).aspx As far as the XML errors go - it does seem like the XML package is missing. You should be able to follow the steps here to check and make sure. The article does say that it should be in the base boot.wim, but if you don't see it there, then it's possible that the article is incorrect and needs to be updated. http://technet.microsoft.com/en-us/library/dd799244(WS.10).aspx David Beach - Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2010 4:03pm

Thanks David, I have double checked both those links and am still receiving those errors. I have opened a case with Microsoft Support and will update the trhead accordingly.
November 5th, 2010 3:30pm

After working with Microsoft support we found an error in creating my WinPE. We were able to verify that the XML package was included in the boot.wim base and I am now able to run the scanstate command with the OfflineWinDir switch successfully. Thanks all for the help!
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2010 2:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics