I use a Replace Scenario in MDT 2012. I have two TS. The first one is capturing data from XP to network location, the second one is installing Win 7 and restoring data. I do like default USMT behavior. It migrates all data from both partitions (XP OS) to one partition in Win 7 computer. I just need to have old data from XP D partition in specific folder in C partition Win 7. Now all folders from D partition restores in root of C partition.
Here it is my cs.ini file
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
SkipCapture=NO
SkipAdminPassword=NO
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
and I have custom.xml file:
<?xml version="1.0" encoding="utf-8"?>
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/Custom">
<component type="Documents" context="User">
<displayName>Disk D to folder on C partition</displayName>
<role role="Data">
<rules>
<!-- Migrate all directories and files present in D:\ -->
<include>
<objectSet>
<pattern type="File">D:\* [*]</pattern>
</objectSet>
</include>
<!-- This migrates all files and directories from D:\ to folder on C drive.-->
<locationModify script="MigXmlHelper.RelativeMove('D:\*','C:\Old_Disk_D')">
<objectSet>
<pattern type="File">D:\* [*]</pattern>
</objectSet>
</locationModify>
</rules>
</role>
</component>
</migration>
How do I need to change my cs.ini file to have all data from XP machine partition C in partition C Win 7 and folder Old_Disk_D which have all data from partition D XP machine