Jump to content


  • 0
sweety_devil

Help with USMT 4 parameters

Question

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

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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>

Share this post


Link to post
Share on other sites

  • 0

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

Share this post


Link to post
Share on other sites

  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.