none
USMT Windows 7 to 10 creating profile folders with .0000 appendix. Duplicating user profile folders on Windows 10 machines after restore. RRS feed

  • Question

  • Hi Forum,

    I have encountered a scenario where profiles on Windows 7 machines were migrated using admt a few years back and now when using loadstate to new Windows 7 machines these profiles are appearing duplicated on the target device. 

    For example profile folders are like this :

    JohnDoe

    JohnDoe.0000

    The issue is not occurring with Profiles that were not migrated a few years back on the Windows 7 Devices.

    The loadstate logs do not appear to show any errors relating to this issue with the folders being duplicated or recreated due to any permissions issues. 

    The profiles have one sid and are not showing duplicated on Windows 7 machines if I restore to another Windows 7 device. 

    How do I prevent this from happening and force USMT tocreate only one profile on the Windows 10 device?

    Can I get some examples of USMT loadstatargs options in mdt that might resolve this error?

    Is there something I need to modify in my UserData.xml files to force it to only migrate the one profile and not create the duplicate profile.0000?

    The scantate logs shows just one user profile but this profile is duplicating once restored toa Windows 10 machine. This is my scanstate and loadstate options :

    ScanStateArgs=/v:5 /c /localonly
    LoadStateArgs=/v:5 /c /lac /lae

    I am using the standard MigUser.xml file which is in comment below for review.



    • Edited by Lyonzeee Thursday, February 20, 2020 8:16 PM
    Thursday, February 20, 2020 8:11 PM

All replies

  • <?xml version="1.0" encoding="UTF-8"?>
    <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/miguser">
    
        <_locDefinition>
         <_locDefault _loc="locNone"/>
         <_locTag _loc="locData">displayName</_locTag>
        </_locDefinition>
    
        <!-- This component migrates My Video files -->
        <component type="Documents" context="User">
            <displayName _locID="miguser.myvideo">My Video</displayName>
            <paths>
                <path type="File">%CSIDL_MYVIDEO%</path>
            </paths>
            <role role="Data">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_MYVIDEO%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_MYVIDEO%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_MYVIDEO% [desktop.ini]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates Shared Video files -->
        <component type="Documents" context="System">
            <displayName _locID="miguser.sharedvideo">Shared Video</displayName>
            <paths>
                <path type="File">%CSIDL_COMMON_VIDEO%</path>
            </paths>
            <role role="Data">
                <detects>
                     <detect>
                         <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_COMMON_VIDEO%")</condition>
                     </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_VIDEO%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_VIDEO% [desktop.ini]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates My Music files -->
        <component type="Documents" context="User">
            <displayName _locID="miguser.mymusic">My Music</displayName>
            <paths>
                <path type="File">%CSIDL_MYMUSIC%</path>
            </paths>
            <role role="Data">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_MYMUSIC%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_MYMUSIC%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_MYMUSIC%\ [desktop.ini]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates Shared Music files -->
        <component type="Documents" context="System">
            <displayName _locID="miguser.sharedmusic">Shared Music</displayName>
            <paths>
                <path type="File">%CSIDL_COMMON_MUSIC%</path>
            </paths>
            <role role="Data">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_COMMON_MUSIC%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_MUSIC%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_MUSIC%\ [desktop.ini]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates Desktop files -->
        <component type="Documents" context="User">
            <displayName _locID="miguser.desktop">Desktop</displayName>
            <paths>
                <path type="File">%CSIDL_DESKTOP%</path>
            </paths>
            <role role="Settings">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_DESKTOP%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_DESKTOP%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_DESKTOP% [desktop.ini]</pattern>
                            <pattern type="File">%CSIDL_DESKTOP%\* [*]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates Shared Desktop files -->
        <component type="Documents" context="System">
            <displayName _locID="miguser.shareddesktop">Shared Desktop</displayName>
            <paths>
                <path type="File">%CSIDL_COMMON_DESKTOPDIRECTORY%</path>
            </paths>
            <role role="Settings">
                <detects>
                     <detect>
                         <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_COMMON_DESKTOPDIRECTORY%")</condition>
                     </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_DESKTOPDIRECTORY%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_DESKTOPDIRECTORY% [desktop.ini]</pattern>
                            <pattern type="File">%CSIDL_COMMON_DESKTOPDIRECTORY%\* [*]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates Start Menu files -->
        <component type="System" context="User">
            <displayName _locID="miguser.startmenu">Start Menu</displayName>
            <paths>
                <path type="File">%CSIDL_STARTMENU%</path>
            </paths>
            <role role="Settings">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_STARTMENU%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_STARTMENU%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_STARTMENU% [desktop.ini]</pattern>
                            <pattern type="File">%CSIDL_STARTMENU%\* [*]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates Shared Start Menu files -->
        <component type ="System" context="System">
            <displayName _locID="miguser.sharedstartmenu">Shared Start Menu</displayName>
            <paths>
                <path type="File">%CSIDL_COMMON_STARTMENU%</path>
            </paths>
            <role role="Settings">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_COMMON_STARTMENU%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_STARTMENU%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_STARTMENU% [desktop.ini]</pattern>
                            <pattern type="File">%CSIDL_COMMON_STARTMENU%\* [*]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates My Documents files -->
        <component type="Documents" context="User">
            <displayName _locID="miguser.mydocs">My Documents</displayName>
            <paths>
                <path type="File">%CSIDL_PERSONAL%</path>
            </paths>
            <role role="Data">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_PERSONAL%")</condition>
                    </detect>
                </detects>
                <rules>
                    <exclude>
                        <objectSet>
                            <pattern type="File">%CSIDL_MYMUSIC%\* [*]</pattern>
                            <pattern type="File">%CSIDL_MYPICTURES%\* [*]</pattern>
                            <pattern type="File">%CSIDL_MYVIDEO%\* [*]</pattern>
                        </objectSet>
                    </exclude>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_PERSONAL%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_PERSONAL% [desktop.ini]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates Shared My Documents files -->
        <component type="Documents" context="System">
            <displayName _locID="miguser.shareddocs">Shared Documents</displayName>
            <paths>
                <path type="File">%CSIDL_COMMON_DOCUMENTS%</path>
            </paths>
            <role role="Data">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_COMMON_DOCUMENTS%")</condition>
                    </detect>
                    <detect>
                        <condition negation="Yes">MigXmlHelper.IsSameObject("File","%CSIDL_PERSONAL%", "%CSIDL_COMMON_DOCUMENTS%")</condition>
                    </detect>
                </detects>
                <rules>
                    <exclude>
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_PICTURES%\* [*]</pattern>
                            <pattern type="File">%CSIDL_COMMON_MUSIC%\* [*]</pattern>
                            <pattern type="File">%CSIDL_COMMON_VIDEO%\* [*]</pattern>
                        </objectSet>
                    </exclude>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_DOCUMENTS%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_DOCUMENTS% [desktop.ini]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates My Pictures files -->
        <component type="Documents" context="User">
            <displayName _locID="miguser.mypics">My Pictures</displayName>
            <paths>
                <path type="File">%CSIDL_MYPICTURES%</path>
            </paths>
            <role role="Data">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_MYPICTURES%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_MYPICTURES%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_MYPICTURES% [desktop.ini]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates Shared Pictures files -->
        <component type="Documents" context="System">
            <displayName _locID="miguser.sharedpics">Shared Pictures</displayName>
            <paths>
                <path type="File">%CSIDL_COMMON_PICTURES%</path>
            </paths>
            <role role="Data">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_COMMON_PICTURES%")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_PICTURES%\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_COMMON_PICTURES% [desktop.ini]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- 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>
    
        <!-- This component migrates Quick Launch files -->
        <component type="System" context="User">
            <displayName _locID="miguser.quicklaunch">Quick Launch</displayName>
            <paths>
                <path type="File">%CSIDL_APPDATA%\Microsoft\Internet Explorer\Quick Launch</path>
            </paths>
            <role role="Settings">
                <detects>
                    <detect>
                        <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_APPDATA%\Microsoft\Internet Explorer\Quick Launch")</condition>
                    </detect>
                </detects>
                <rules>
                    <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
                        <objectSet>
                            <pattern type="File">%CSIDL_APPDATA%\Microsoft\Internet Explorer\Quick Launch\* [*]</pattern>
                        </objectSet>
                    </include>
                    <merge script="MigXmlHelper.DestinationPriority()">
                        <objectSet>
                            <pattern type="File">%CSIDL_APPDATA%\Microsoft\Internet Explorer\Quick Launch [desktop.ini]</pattern>
                            <pattern type="File">%CSIDL_APPDATA%\Microsoft\Internet Explorer\Quick Launch\* [*]</pattern>
                        </objectSet>
                    </merge>
                </rules>
            </role>
        </component>
    
        <!-- This component migrates user files with known extension-->
        <component type="Documents" context="System">
            <displayName _locID="miguser.userdata">User Data</displayName>
            <role role="Data">
                <rules>
                    <include>
                        <objectSet>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qdf]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qsd]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qel]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qph]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.doc*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dot*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rtf]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mcw]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wps]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.scd]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wri]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wpd]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.xl*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.csv]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.iqy]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dqy]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.oqy]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rqy]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wk*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wq1]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.slk]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dif]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppt*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pps*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pot*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.sh3]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ch3]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pre]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppa]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.txt]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pst]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.one*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vl*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vsd]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mpp]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.or6]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.accdb]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mdb]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pub]", "Fixed")</script>
                        </objectSet>
                    </include>
    <!-- Uncomment the following if you want all the files collected from the above rules to move to <systemDrive>:\data -->
    <!--            
                    <locationModify script="MigXmlHelper.Move('%SYSTEMDRIVE%\Data')">
                        <objectSet>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qdf]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qsd]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qel]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qph]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.doc*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dot*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rtf]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mcw]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wps]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.scd]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wri]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wpd]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.xl*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.csv]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.iqy]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dqy]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.oqy]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rqy]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wk*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wq1]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.slk]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dif]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppt*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pps*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pot*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.sh3]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ch3]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pre]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppa]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.txt]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pst]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.one*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vl*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vsd]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mpp]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.or6]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.accdb]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mdb]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pub]", "Fixed")</script>
                        </objectSet>
                    </locationModify>
    -->
                    <exclude>
                        <objectSet>
                            <pattern type="File">%PROFILESFOLDER%\* [*]</pattern>
                            <pattern type="File">%CSIDL_WINDOWS%\* [*]</pattern>
                            <pattern type="File">%CSIDL_PROGRAM_FILES%\* [*]</pattern>
                            <!--We are trying to remove system files from other windows installation on the same machine-->
                            <!--This is the best guess we can come up with, in case of these folder name localized, we might not be
                             to do whatever we have intended here-->
                            <script>MigXmlHelper.GenerateDrivePatterns ("\Program Files\* [*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("\Winnt\* [*]", "Fixed")</script>
                            <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\* [*]", "Fixed")</script>
                        </objectSet>
                    </exclude>
                </rules>
            </role>
        </component>
    
    </migration>

    Thursday, February 20, 2020 8:15 PM