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

 

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

3

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>

 

 

Answered 06/12/2012 by: philologist
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share