Enjoy Sharing

How to get USMT to migrate Downloads folder

Here’s a discovery. You would realise that USMT does not migrate the My Downloads folder by default and it seem that there isn’t a variable like the other “My Desktop” folders that I can specify so that it works for all profiles that are in the computer. Well, here’s how. You would need to modify the MigUser.xml file to include the below. Double check your .xml file after you edit it. It may contain an invalid character. Good luck!

 

<!– This component migrates My Downloads files  –>
    <component type=”Documents” context=”User”>
        <displayName _locID=”miguser.mydownloads”>My Downloads</displayName>
        <paths>
            <path type=”File”>%FOLDERID_DOWNLOADS%</path>
        </paths>
        <role role=”Data”>
            <detects>          
                <detect>
                    <condition>MigXmlHelper.DoesObjectExist(“File”,”%FOLDERID_DOWNLOADS%”)</condition>
                </detect>
            </detects>
            <rules>
                <include filter=’MigXmlHelper.IgnoreIrrelevantLinks()’>
                    <objectSet>
                        <pattern type=”File”>%FOLDERID_DOWNLOADS%\* [*]</pattern>
                    </objectSet>
                </include>
                <merge script=”MigXmlHelper.DestinationPriority()”>
                    <objectSet>
                        <pattern type=”File”>%FOLDERID_DOWNLOADS% [desktop.ini]</pattern>
                    </objectSet>
                </merge>
            </rules>
        </role>
    </component>

 

 

 

Enjoy!!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s