Skip to content

Help with USMT 4 parameters

Featured Replies

Dear all,

 

I will migrate my computers from XP to Windows 7 32 bits.

1. I created a task sequence (see below) but scanstate scans my D drive. How can I avoid that ? I used the metod 1 on this site http://blogs.technet.com/b/configurationmgr/archive/2010/06/30/how-to-use-usmt-4-hardlinking-in-a-configuration-manager-2007-task-sequence.aspx

 

2. Should I install applications after or before restoring data ?

 

Thank you.

 

post-3757-0-97435400-1328777516_thumb.jpg

add a custom XML file with exclusions like this one

 



  <!-- This component migrates Common Exclusions-->
   <component type="Documents" context="System">
       <displayName _locID="miguser.userdata">Common Exclusions</displayName>
       <role role="Data">
           <rules>
  	         <unconditionalExclude>
  		         <objectSet>
  			         <script>MigXmlHelper.GenerateDrivePatterns ("\Winnt\* [*]", "Fixed")</script>
  			         <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\* [*]", "Fixed")</script>
  			         <pattern type="File">%CSIDL_WINDOWS%\* [*]</pattern>
  			         <pattern type="File">C:\MININT\*[*]</pattern>
  			     	<pattern type="File">D:\* [*]</pattern>
                   	<pattern type="File">E:\* [*]</pattern>
                   	<pattern type="File">F:\* [*]</pattern>
  			         <pattern type="File">G:\* [*]</pattern>
  			         <pattern type="File">H:\* [*]</pattern>
  			         <pattern type="File">I:\* [*]</pattern>
  			         <pattern type="File">J:\* [*]</pattern>
  			         <pattern type="File">K:\* [*]</pattern>
  			         <pattern type="File">L:\* [*]</pattern>
  			         <pattern type="File">M:\* [*]</pattern>
  			         <pattern type="File">N:\* [*]</pattern>
  			         <pattern type="File">O:\* [*]</pattern>
  			         <pattern type="File">P:\* [*]</pattern>
  			         <pattern type="File">Q:\* [*]</pattern>
  			         <pattern type="File">R:\* [*]</pattern>
  			         <pattern type="File">S:\* [*]</pattern>
  			         <pattern type="File">T:\* [*]</pattern>
  			         <pattern type="File">U:\* [*]</pattern>
  			         <pattern type="File">V:\* [*]</pattern>
  			         <pattern type="File">W:\* [*]</pattern>
  			         <pattern type="File">X:\* [*]</pattern>
  			         <pattern type="File">Y:\* [*]</pattern>
  			         <pattern type="File">Z:\* [*]</pattern>
  		         </objectSet>
  	         </unconditionalExclude>
           </rules>
       </role>
   </component>

  • Author

Could you tell me how to do that ?

Can I use this xml like that or should I modify it ?

I need to copy it on the USMT directory I suppose ?

 

Should I add a command line here:

post-3757-0-38618300-1328784160_thumb.jpg

 

I'm sorry but it is the first time I use USMT in SCCM.

Thank you.

copy it to the usmt folder(s) give it a name like MyCustomXml.xml and redistribute your USMT package to your distribution points. Once done add the file to your Capture User Files and Settings step by selecting Customize how user profiles are captured. Click on Files and add the filename you specified.

 

add.png

  • Author

Thank you it works perfectly !

 

I have a problem with the utility usmtutils.exe. I created a package with this command line: echo y| usmtutils.exe /rd %systemdrive%\UserState but it doesn't work.

I don't know why. Do we run this application just after the user restore or at the end of the task sequence ?

Thank you.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.