Jump to content


Sign in to follow this  
sweety_devil

Help with USMT 4 parameters

Recommended Posts

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


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

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.

Share this post


Link to post
Share on other sites

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

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
Reply to this topic...

×   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...
Sign in to follow this  

×
×
  • Create New...