How do I add xcopy c:\data\*.* to User State Migration?
Kind of in a time crunch. We're deploying using User State Migration, and would like to add a couple simple copies to be included in each User State pulled. As you may see, we're a Lotus Notes shop. The files would then need to be copied back to c:\data, c:\lotus\notes\data to that user's new machine. In other words, we need to edit the user state migration to include the following to their user state: thanks in advance..
xcopy c:\data\*.*
copy C:\lotus\notes\data\names.nsf
copy c:\lotus\notes\data\desktop.*
etc...
Answers (1)
If you really need to configure things quickly, try http://www.wintools.com.au/download_builder.php
I would trust that more than my very quick effort, but that said, from the reference http://technet.microsoft.com/en-us/library/dd560786(v=ws.10) the XML for what you want should be:
<component type="Documents" context="System">
<displayName>Migrate data files from C</displayName>
<role role="Data">
<rules>
<include>
<objectSet>
<pattern type="File"> C:\data\* [*]</pattern>
</objectSet>
</include>
</rules>
</role>
</component>
<component type="Documents" context="System">
<displayName>Migrate names</displayName>
<role role="Data">
<rules>
<include>
<objectSet>
<pattern type="File"> C:\lotus\notes\data\names.nsf</pattern>
</objectSet>
</include>
</rules>
</role>
</component>
<component type="Documents" context="System">
<displayName>Migrate desktop data files from lotus notes</displayName>
<role role="Data">
<rules>
<include>
<objectSet>
<pattern type="File"> C:\lotus\notes\data\* [desktop.*]</pattern>
</objectSet>
</include>
</rules>
</role>
</component>