Thursday, October 25, 2012

XML file for Migrating “My Network Places” using USMT 4.0

Here is the XML file which allow Migrating “My Network Places” using USMT.
Migration is from Windows XP to Windows 7.
This XML copies content from:

C:\Documents and Settings\%users%\NetHood      to
C:\Users\%users%\AppData\Roaming\Microsoft\Windows\Network Shortcuts

**************************************************************
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/test"&gt;
<component type="Documents" context="User">
  <displayName>Moving My Network Places</displayName>
  <role role="Data">
    <rules>
      <include>
        <objectSet>
          <pattern type="File">%CSIDL_NETHOOD%\* [*]</pattern>
        </objectSet>
      </include>
      <locationModify script="MigXmlHelper.RelativeMove('%CSIDL_NETHOOD%\','%CSIDL_NETHOOD%\')">
        <objectSet>
          <pattern type="File">%CSIDL_NETHOOD%\* [*]</pattern>
        </objectSet>
      </locationModify>
    </rules>
  </role>
</component>
</migration> 

****************************************************************
Variable CSIDL_NETHOOD in Windows XP is: C:\Documents and Settings\username\NetHoodA path for same variable for Windows Vista or Windows 7 is : C:\Users\Username\AppData\Roaming\Microsoft\Windows\Network Shortcuts



 

No comments:

Post a Comment