<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Deployment Guys : USMT</title><link>http://blogs.technet.com/deploymentguys/archive/tags/USMT/default.aspx</link><description>Tags: USMT</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Keeping An Eye On USMT Progress v0.2</title><link>http://blogs.technet.com/deploymentguys/archive/2009/09/02/keeping-an-eye-on-usmt-progress-v0-2.aspx</link><pubDate>Wed, 02 Sep 2009 18:41:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3278746</guid><dc:creator>Daniel Oxley</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.technet.com/deploymentguys/comments/3278746.aspx</comments><wfw:commentRss>http://blogs.technet.com/deploymentguys/commentrss.aspx?PostID=3278746</wfw:commentRss><wfw:comment>http://blogs.technet.com/deploymentguys/rsscomments.aspx?PostID=3278746</wfw:comment><description>&lt;P&gt;Back in June I &lt;A href="http://blogs.technet.com/deploymentguys/archive/2009/06/26/keeping-an-eye-on-usmt-progress.aspx" mce_href="http://blogs.technet.com/deploymentguys/archive/2009/06/26/keeping-an-eye-on-usmt-progress.aspx"&gt;posted&lt;/A&gt; a script that I’d written that displays the progress of the USMT capture and recover phases in a neat HTML window off to one side of the screen; particularly useful if you are capturing/recovering large amounts of data because otherwise it looked like the USMT progress had hung due to the progress bar not moving along for quite some time.&lt;/P&gt;
&lt;P&gt;While the script I wrote worked fine I was not 100% happy with it, mostly because it ate up too many CPU cycles, which could sometimes slow down the actual USMT progress; an effect that you would never want to happen!&amp;nbsp; The problem was that there was no quick and easy way to parse the last few lines of a text file in VBScript without first reading in all the previous lines.&amp;nbsp; This meant that as the log file grew, my script took longer and longer to run.&amp;nbsp; So, I took it back to the drawing board, and reworked the innards of it to produce version 0.2!&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress2_F67E/shot_2.jpg" mce_href="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress2_F67E/shot_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: block; FLOAT: none; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: auto; BORDER-LEFT-WIDTH: 0px; MARGIN-RIGHT: auto" title=shot border=0 alt=shot src="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress2_F67E/shot_thumb.jpg" width=334 height=154 mce_src="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress2_F67E/shot_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This time, the script runs extremely quickly and it will barely register on the CPU, meaning that it shouldn’t slow anything else down.&amp;nbsp; It still requires the same parameters to be passed to it when adding to the task sequence, which are detailed below.&amp;nbsp; To add it to the task sequence, simply add the following &lt;STRONG&gt;Run Command Line&lt;/STRONG&gt; action before the USMT capture or restore actions (or both):&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;cmd.exe /c “start /MIN cscript.exe Z:\Scripts\CUSTOM_USMT_Tracker.vbs C:\MININT\SMSOSD\OSDLOGS\USMTCapture.prg”&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cmd.exe /c “start /MIN cscript.exe Z:\Scripts\CUSTOM_USMT_Tracker.vbs C:\MININT\SMSOSD\OSDLOGS\USMTRestore.prg”&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It also has one other very important dependency.&amp;nbsp; You must download &lt;STRONG&gt;tail.exe&lt;/STRONG&gt; from the Windows Resource Kit and place it in the Tools folder of the MDT deployment share, along with this script.&amp;nbsp; You can get the tool &lt;A href="http://www.microsoft.com/downloads/details.aspx?DisplayLang=en&amp;amp;FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd" mce_href="http://www.microsoft.com/downloads/details.aspx?DisplayLang=en&amp;amp;FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd"&gt;here&lt;/A&gt;, it doesn’t matter that it is the 2003 version, I have tested it on Windows 7 and it works fine.&amp;nbsp; If you don’t put tail.exe in the tools folder, then the script will fail.&lt;/P&gt;
&lt;P&gt;The next update might take a while to get round to doing, but I want to remove the requirements for the command-line parameter, and have the script find the progress file on it’s own.&amp;nbsp; Also, it would be good to display more information rather than just the current position in the progress, perhaps an extra line that informs what the current task is that is being run.&amp;nbsp; Also, a few cosmetic changes wouldn't go amiss, but I am a techie not a graphic designer!&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached to this post is the script file.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;This post was contributed by &lt;STRONG&gt;Daniel Oxley&lt;/STRONG&gt; a consultant with Microsoft Consulting Services Spain&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the &lt;/STRONG&gt;&lt;A href="http://www.microsoft.com/info/cpyright.mspx" mce_href="http://www.microsoft.com/info/cpyright.mspx"&gt;&lt;STRONG&gt;Terms of Use&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3278746" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/deploymentguys/attachment/3278746.ashx" length="2751" type="application/octet-stream" /><category domain="http://blogs.technet.com/deploymentguys/archive/tags/Scripts/default.aspx">Scripts</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/Utilities/default.aspx">Utilities</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/MDT/default.aspx">MDT</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/USMT/default.aspx">USMT</category></item><item><title>Keeping An Eye On USMT Progress</title><link>http://blogs.technet.com/deploymentguys/archive/2009/06/26/keeping-an-eye-on-usmt-progress.aspx</link><pubDate>Fri, 26 Jun 2009 12:31:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3258900</guid><dc:creator>Daniel Oxley</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/deploymentguys/comments/3258900.aspx</comments><wfw:commentRss>http://blogs.technet.com/deploymentguys/commentrss.aspx?PostID=3258900</wfw:commentRss><wfw:comment>http://blogs.technet.com/deploymentguys/rsscomments.aspx?PostID=3258900</wfw:comment><description>&lt;P&gt;I recently did a project where all users had around 25Gb (don’t ask!) of data that had to be migrated with the USMT during the OS deployment.&amp;nbsp; Because of the sheer volume of data, the USMT phases of the project took an extremely long time to complete, and because no on-screen feedback is given of the progress, the customer would often think that something had hung, so they often cancelled the deployment; only to find that it was indeed running correctly.&amp;nbsp; In order to stop them doing this, I wrote a very simple VBS script that showed the current progress of the USMT.&amp;nbsp; It works by simply parsing the progress file, looking for the percentage progress of the process.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress_836F/tracker_2.jpg" mce_href="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress_836F/tracker_2.jpg"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title=tracker border=0 alt=tracker src="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress_836F/tracker_thumb.jpg" width=304 height=104 mce_src="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress_836F/tracker_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;I thought I would publish it here, because when I showed it to some colleagues they asked for a copy as they thought it would be useful to use during the lab phases of MDT projects.&lt;/P&gt;
&lt;P&gt;It consists simply of a VBS file that requires the path of the USMT log file to be passed as a parameter.&amp;nbsp; The script creates a small HTML window that then displays a single line showing the progress of the USMT as a percentage.&amp;nbsp; You can either launch the script by hand or add it to the task sequence.&amp;nbsp; To add this to the task sequence, simple add the following “Run Command Line" action before the USMT capture or restore actions (or both):&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;cmd.exe /c “start /MIN cscript.exe Z:\Scripts\CUSTOM_USMT_Tracker.vbs C:\MININT\SMSOSD\OSDLOGS\USMTCapture.prg”&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cmd.exe /c “start /MIN cscript.exe Z:\Scripts\CUSTOM_USMT_Tracker.vbs C:\MININT\SMSOSD\OSDLOGS\USMTRestore.prg”&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why the two commands lines?&amp;nbsp; Well, the first one is to show the progress of the &lt;EM&gt;capture&lt;/EM&gt; phase of the USMT, and the second is to show the progress of the &lt;EM&gt;restore&lt;/EM&gt; phase.&amp;nbsp; Also, I should point out that the command is launched in this way because MDT needs to launch the command, and then move on.&amp;nbsp; If you don't have the cmd.exe /c "start" part at the beginning then MDT will launch the script and wait for it to finish (which is never) and the USMT commands will never fire.&amp;nbsp; You may also have noticed that I had to put the drive letter in the command path, this is because the variable %SCRIPTROOT% is not available with this usage.&lt;/P&gt;
&lt;P&gt;The screenshot below shows what it looks like in action.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress_836F/desktop_2.jpg" mce_href="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress_836F/desktop_2.jpg"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title=desktop border=0 alt=desktop src="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress_836F/desktop_thumb.jpg" width=644 height=484 mce_src="http://blogs.technet.com/blogfiles/deploymentguys/WindowsLiveWriter/KeepingAnEyeOnUSMTProgress_836F/desktop_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Be warned though, this script does consume quite a few CPU cycles because it is probably not the most efficient routine; it was really a proof-of-concept thing that I wrote in order to show that everything was running as expected.&amp;nbsp; When I wrote it I was running it on dual core desktop computers and it didn’t seem to noticeable affect the deployment time.&lt;/P&gt;
&lt;P&gt;Attached to this post is the script file.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;This post was contributed by &lt;STRONG&gt;Daniel Oxley&lt;/STRONG&gt; a consultant with Microsoft Consulting Services Spain&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the &lt;/STRONG&gt;&lt;A href="http://www.microsoft.com/info/cpyright.mspx" mce_href="http://www.microsoft.com/info/cpyright.mspx"&gt;&lt;STRONG&gt;Terms of Use&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3258900" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/deploymentguys/attachment/3258900.ashx" length="2151" type="application/octet-stream" /><category domain="http://blogs.technet.com/deploymentguys/archive/tags/Scripts/default.aspx">Scripts</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/Utilities/default.aspx">Utilities</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/MDT/default.aspx">MDT</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/USMT/default.aspx">USMT</category></item><item><title>Excluding USB, FireWire and other drives from USMT Capture</title><link>http://blogs.technet.com/deploymentguys/archive/2009/04/29/excluding-usb-firewire-and-other-drives-from-usmt-capture.aspx</link><pubDate>Wed, 29 Apr 2009 15:48:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3232151</guid><dc:creator>DeploymentGuys</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/deploymentguys/comments/3232151.aspx</comments><wfw:commentRss>http://blogs.technet.com/deploymentguys/commentrss.aspx?PostID=3232151</wfw:commentRss><wfw:comment>http://blogs.technet.com/deploymentguys/rsscomments.aspx?PostID=3232151</wfw:comment><description>&lt;P&gt;A common requirement during user state migration is to not capture data from certain drives.&amp;nbsp; The most commonly requested for exclusion are removable drives such as USB and FireWire drives.&amp;nbsp; There is no command line option to exclude these drives automatically with USMT v3.&amp;nbsp; I had to turn to scripting to accomplish this.&lt;/P&gt;
&lt;P&gt;I created a script, ZTI-ExcludeDrivesXmlGen.wsf (and its function library HelperFunctions.vbs), that will generate a USMT XML rules file to unconditionally exclude USB and FireWire drives (as well as additional specified drives) during the deployment.&amp;nbsp; The script should be run during the State Capture phase before Scanstate.exe is run.&amp;nbsp; The resulting XML file should be used on both the Scanstate.exe and Loadstate.exe command lines.&amp;nbsp; The script is driven by either command line switches or MDT properties:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use the /output switch or the USMTExcludeDrivesOutput property to specify the output XML file.&amp;nbsp; If not specified, the default of oUtility.LogPath &amp;amp; "\MigExcludeDrives.xml" is used. &lt;/LI&gt;
&lt;LI&gt;Use the /usb switch or the property USMTExcludeUsbDrives=True to exclude USB and FireWire drives from the migration. &lt;/LI&gt;
&lt;LI&gt;Use the /scriptdrive switch or the property USMTExcludeScriptDrive=True to exclude the drive from which this script is running from the migration. &lt;/LI&gt;
&lt;LI&gt;Use the /drives switch or the USMTExcludeDrives property to exclude specific drives from the migration.&amp;nbsp; The switch should be specified like this example: &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /drives:"D:,E:,F:" &lt;BR&gt;The property should be specified like this example: &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USMTExcludeDrives=D:,E:,F: &lt;/LI&gt;
&lt;LI&gt;Use the /flagfile switch or the USMTExcludeDriveFlagFile property to exclude specific drives from the migration using a flag file.&amp;nbsp; Using the /flagfile switch without a value or setting USMTExcludeDriveFlagFile=True will cause the script to exclude drives that have the default flag file, NO_USMT_ON_DRIVE.USMT, in the root folder of the drive.&amp;nbsp; (You SMS experts out there will get the choice of the default flag file name.&amp;nbsp; &lt;FONT face=Wingdings&gt;J&lt;/FONT&gt; )&amp;nbsp; Using the switch or property with a file name value will exclude drives that have the specified named flag file in the root folder of the drive.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Remember that the generated XML file must also&amp;nbsp;be used with Loadstate.exe.&amp;nbsp; Therefore, it must be saved to a location that from which it can be retrieved during the State Restore phase.&amp;nbsp; I have included a script, ZTI-CopyFilesToStateFolder.wsf, to copy files to a subfolder&amp;nbsp;of the state store location that can be used for this.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the &lt;/STRONG&gt;&lt;A href="http://www.microsoft.com/info/cpyright.mspx" mce_href="http://www.microsoft.com/info/cpyright.mspx"&gt;&lt;STRONG&gt;Terms of Use&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;This post was contributed by &lt;B&gt;Michael Murgolo,&lt;/B&gt; a Senior Consultant with Microsoft Services - U.S. East Region.&lt;/EM&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3232151" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/deploymentguys/attachment/3232151.ashx" length="12880" type="application/x-zip-compressed" /><category domain="http://blogs.technet.com/deploymentguys/archive/tags/MDT/default.aspx">MDT</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/USMT/default.aspx">USMT</category></item><item><title>USMT Error Codes</title><link>http://blogs.technet.com/deploymentguys/archive/2009/01/14/usmt-error-codes.aspx</link><pubDate>Wed, 14 Jan 2009 10:38:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3182220</guid><dc:creator>DeploymentGuys</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.technet.com/deploymentguys/comments/3182220.aspx</comments><wfw:commentRss>http://blogs.technet.com/deploymentguys/commentrss.aspx?PostID=3182220</wfw:commentRss><wfw:comment>http://blogs.technet.com/deploymentguys/rsscomments.aspx?PostID=3182220</wfw:comment><description>&lt;p align="justify"&gt;I was recently configuring the User State Migration Tool for a customer’s MDT server when, during the testing phase, the USMT began failing with an error code (‘return code’ or ‘rc’ when you read the MDT log files).&amp;#160; I searched the USMT documentation on TechNet looking for the explanation of what the error code meant, only to discover that I could not find any information at all.&lt;/p&gt;  &lt;p align="justify"&gt;So, after a bit of asking around internally at Microsoft, I have managed to obtain the below list of error codes.&amp;#160; I should point out though that this list of error codes is &lt;em&gt;only&lt;/em&gt; for version 3.01 of the USMT, I don’t know if there are differences for any past or future versions of the tool.&lt;/p&gt;  &lt;p align="justify"&gt;&amp;#160;&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="724" border="1"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td align="center" width="72"&gt;         &lt;p align="center"&gt;&lt;strong&gt;Error code&lt;/strong&gt;&lt;/p&gt;       &lt;/td&gt;        &lt;td align="center" width="650"&gt;         &lt;p align="center"&gt;&lt;strong&gt;Error text&lt;/strong&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;0&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_SUCCESS&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;1&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_DISPLAY_HELP&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;2&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_MEMORY_FAIL&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;3&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_INVALID_PARAMETERS&amp;#160; (Bad command line)&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;4&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_INVALID_STORE_LOCATION&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;5&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_NO_MORE_TOKEN&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;6&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_SET_SCRIPTFILES&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;7&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_GET_SCRIPTFILES&amp;#160; (Can’t find XML file(s) specified in the command-line)&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;8&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_SET_STOREPATH&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;9&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_SET_USERS&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;10&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_FINDMIGUNITS&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;11&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_DOMIGRATION&amp;#160; (A file is in use)&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;12&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_FAILED_MIGSTARTUP&amp;#160; (Error in XML file ‘Bad XML’)&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;13&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_FAILED_SETMIGRATIONTYPE&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;14&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_FAILED_LOCALONLY&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;15&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_GET_WORKINGDIR&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;16&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_SETKEY&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;17&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_READKEY&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;18&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_TOO_LONG_KEYSTRING&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;19&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_SETCOMPRESSION&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;20&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_INSUFFICIENT_RIGHTS&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;21&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_DELETE_STORE&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;22&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_SET_BENONADMIN&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;23&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_INSUFFICIENT_STRINGBUFFER&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;24&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_UNSUPPORTED_PLATFORM&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;25&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_UNABLE_TOVERIFY_PLATFORM&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;26&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_SET_EFSMODE&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;27&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_INIT_ERROR&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;28&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_SET_LAC_LAE&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;29&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_CORRUPTED_ENCRYPTED_STORE&amp;#160; (Store is encrypted and no or invalid key has been specified)&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;30&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_NO_INVALID_KEY&amp;#160; (Store is only compressed but a key has been specified)&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;31&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_CORRUPTED_NOTENCRYPTED_STORE&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;32&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_LOGFILES_INSIDESTORE&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;33&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_INVALID_PLATFORM_FOR_TARGETXP&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;34&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_STORE_VALID_ONLY_FOR_XP&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;35&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_UNABLE_TO_READ_CONFIG_FILE&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;36&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_INVALID_CONFIG_FILE_FORMAT&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;37&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_UNABLE_CREATE_LOGS&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;38&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_USE_LAC&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;39&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_FAILED_TO_EXCLUDE_FOLDERS&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;40&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_ERROR_UNABLE_CREATE_PROGRESS_LOG&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td align="center" width="72"&gt;41&lt;/td&gt;        &lt;td valign="top" width="650"&gt;USMT_STATUS_CANCELLED&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Most of the codes are pretty self-explanatory, but I have included some extra information for some of the more cryptic error messages.   &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;This post was contributed by &lt;strong&gt;Daniel Oxley&lt;/strong&gt; a consultant with Microsoft Services Spain&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3182220" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/deploymentguys/archive/tags/Utilities/default.aspx">Utilities</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category><category domain="http://blogs.technet.com/deploymentguys/archive/tags/USMT/default.aspx">USMT</category></item></channel></rss>