/build/static/layout/Breadcrumb_cap_w.png

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

 


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: philologist 12 years ago
Red Belt
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>

 

 

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ