none
USMT 4: How do I NOT migrate Favorites RRS feed

  • Question

  • I am doing a Windows XP to Windows 7 upgrade using MDT and USMT. Although I am using MDT 2013, I have switched it to use USMT 4.0 in order to get Windows XP compatibility.

    A customer requirement is that IE Favorites are NOT migrated, but I don't seem to be able to exclude them from the migration.

    My MigUser.xml has all the IE sections commented out, i.e.

     <!-- 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>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_FAVORITES% [desktop.ini]</pattern>
                            <pattern type="File">%CSIDL_FAVORITES%\* [*]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    -->

        <!-- This component migrates Shared Favorites
        <component type="System" context="System">
            <displayName _locID="miguser.sharedfavs">Shared Favorites</displayName>
            <paths>
                <path type="File">%CSIDL_COMMON_FAVORITES%</path>
            </paths>
            <role role="Settings">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_COMMON_FAVORITES%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_FAVORITES%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_FAVORITES% [desktop.ini]</pattern>
                            <pattern type="File">%CSIDL_COMMON_FAVORITES%\* [*]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component> -->

    And I can't seem to find anything else in any of the config files (MigApp.xml, MigDocs.xml and my config.xml) which may be migrating them.

    My MigUser.xml is configured to migrate .lnk and .url files, as I want to migrate any such files elsewhere in the user's profile. Does this make a difference?

    What do I need to do in order to force the exclusion of IE Favorites?

    Thanks

    Tuesday, January 27, 2015 9:15 AM

All replies

  • You will need generate and use a config.xml file. Example here (usmt3 but still valid).

    Edit the file and turn the YES to a NO for the favorites sections. The same for any other stuff you don't need.

    eg.

    <component displayname="Favorites" migrate="no"

    Put the file in either the USMT folder or the scripts folder.

    Add the line USMTConfigFile=Config.xml to your customsettings.ini file.


    Blog: http://scriptimus.wordpress.com

    Wednesday, January 28, 2015 10:52 PM