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">
<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\NetHood A path for same variable for Windows Vista or Windows 7 is : C:\Users\Username\AppData\Roaming\Microsoft\Windows\Network Shortcuts
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
**************************************************************
<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>
****************************************************************