none
USMT 4

    Question

  • I need to achieve the following with USMT 4:

    1. Backup up the following complete folder:
    a. On Windows XP – C:\Documents and Settings\All Users\Application Data\Audatex
    b. On Windows 7 – C:\ProgramData\Audatex
    2. Restore data to a default location (such as C:\temp\Audatex) on the new computer

    Can anyone help me to achieve this?

    Tuesday, February 05, 2013 7:06 AM

Answers

All replies

  • Will this do the Job?

    migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/test">
      <component type="Documents" context="System">
        <displayName>Ubuntex</displayName>
        <role role="Data">
          <rules>
            <!-- Migrate all directories and files present in C:\Documents and Settings\All Users\Application Data\Audatex folder -->
            <include>
              <objectSet>
                <pattern type="File">C:\Documents and Settings\All Users\Application Data\Audatex\* [*]</pattern>
                <pattern type="File">C:\ProgramData\Audatex\* [*]</pattern>
              </objectSet>
            </include>
            <!-- This migrates all files and directories from C:\Documents and Settings\All Users\Application Data\Audatex C:\Temp\Ubuntex.-->
            <locationModify script="MigXmlHelper.RelativeMove('C:\Documents and Settings\All Users\Application Data\Audatex','C:\Temp\Ubuntex')">
              <objectSet>
                <pattern type="File">C:\Documents and Settings\All Users\Application Data\Audatex\* [*]</pattern>
                <pattern type="File">C:\ProgramData\Audatex\* [*]</pattern>
              </objectSet>
            </locationModify>
          </rules>
        </role>
      </component>
    </migration>

     

    Tuesday, February 05, 2013 8:19 AM
  • Why not just use robocopy to complete the task prior to the USMT scan / restore process?

    you will need to have a script to initiate the scan and restore process anyway!

    Not everything needs to be done using USMT, there are a lots of other ways to do it....

    Friday, February 15, 2013 10:44 PM
  • Hi,

    I agree with LtFrankDrebin, using other ways such as robocopy can also achieve the goal.

    Besides, I would like to share some sample for how to customize the USMT files for your reference:

    http://technet.microsoft.com/en-us/library/dd560801(v=ws.10).aspx

    http://technet.microsoft.com/en-us/library/cc766203(v=ws.10).aspx

    http://technet.microsoft.com/en-us/library/dd883247(v=ws.10).aspx

    Regards,


    Please 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.

    Wednesday, February 20, 2013 3:42 AM