none
USMT

    Question

  • Hi,

    We are in the process of migrating our entire pc estate to windows 7 and need to move users data from their machines. what we want to do is get the users to copy their data into a single folder called transfer and then use the USMT tools to move this folder to the store, upgrade to windows 7 and then put back the folder. Also we just want to move the users favorites from the profile only. we do not want to copy the whole profile as we have had problems as we used to be a novell site and the profiles still contain some elements of novell in them. I have tried successfully to move the data using the standard xml files that come with USMT but not sure on how to create a custom xml file to do what we need or what xml files to help with it.

    Can anyone help or point me in the right direction?

    Thanks

    darren

    Thursday, March 15, 2012 12:00 PM

Answers

  • To migrate the Favorites, you can use this component from the MigUser.xml

     <!-- This component migrates Favorites -->
        <component type="System" context="User">
            <displayName _locID="miguser.favs">Favorites</displayName>
            <paths>
                <path type="File">%CSIDL_FAVORITES%</path>
            </paths>
            <role role="Settings">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_FAVORITES%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_FAVORITES%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <locationModify script="MigXmlHelper.RelativeMove('%CSIDL_FAVORITES%\', 'C:\Temp\Favorites')">
                        <objectSet>
                            <pattern type="File">%CSIDL_FAVORITES%\* [*]</pattern>
                        </objectSet>	
    		</locationModify>
                </rules>
            </role>
        </component>

    And to migrate a specific folder, you can use this component (example) from: http://technet.microsoft.com/en-us/library/cc766056(v=ws.10).aspx

    <component type="Documents" context="System">
      <displayName>Component to migrate all Engineering Drafts Documents including subfolders</displayName>
      <role role="Data">
        <rules>
          <include>
            <objectSet>
              <pattern type="File">C:\EngineeringDrafts\* [*]</pattern>
            </objectSet>
          </include>
        </rules>
      </role>
    </component>
    


    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

    Thursday, March 15, 2012 1:01 PM

All replies

  • To migrate the Favorites, you can use this component from the MigUser.xml

     <!-- This component migrates Favorites -->
        <component type="System" context="User">
            <displayName _locID="miguser.favs">Favorites</displayName>
            <paths>
                <path type="File">%CSIDL_FAVORITES%</path>
            </paths>
            <role role="Settings">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_FAVORITES%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_FAVORITES%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <locationModify script="MigXmlHelper.RelativeMove('%CSIDL_FAVORITES%\', 'C:\Temp\Favorites')">
                        <objectSet>
                            <pattern type="File">%CSIDL_FAVORITES%\* [*]</pattern>
                        </objectSet>	
    		</locationModify>
                </rules>
            </role>
        </component>

    And to migrate a specific folder, you can use this component (example) from: http://technet.microsoft.com/en-us/library/cc766056(v=ws.10).aspx

    <component type="Documents" context="System">
      <displayName>Component to migrate all Engineering Drafts Documents including subfolders</displayName>
      <role role="Data">
        <rules>
          <include>
            <objectSet>
              <pattern type="File">C:\EngineeringDrafts\* [*]</pattern>
            </objectSet>
          </include>
        </rules>
      </role>
    </component>
    


    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

    Thursday, March 15, 2012 1:01 PM
  • Thanks Peter,

    Just a further question about this would i need to include the migdocs, miguser and migapp xml files or just run it with the two custom xml files above. I know it probably is a daft question but my deadline has been changed dramatically and i need it to work.

    Thanks

    Darren

    Thursday, March 15, 2012 3:26 PM
  • Nope, you can just use your own (custom) xml(s).

    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

    Thursday, March 15, 2012 8:02 PM
  • and it's best practise to create your own custom xml files and keep the default ones untouched.


    Step by Step ConfigMgr 2007 Guides | Step by Step ConfigMgr 2012 Guides | I'm on Twitter > ncbrady

    Thursday, March 15, 2012 8:40 PM