×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

USMT XML help with custom.xml to exclude and miguser.xml

USMT XML help with custom.xml to exclude and miguser.xml

USMT XML help with custom.xml to exclude and miguser.xml

(OP)
Hello all, I'm new to this site, but so far liking all the info it provides. I've been in the IT world for the past 20-25 years but much more hardware and software versus any programming and scripting. I am an IT Desktop Support at my company and trying to modify a USB backup drive I use for my end-users data backup and restore after replacing their computer. Hoping someone can help me with the coding portions.

So, here's what it does. I have two version on the same USB drive. One is for the currently logged on user, and it backs up only that user's files and folders, and then can restore to the domain user profile after they log in for the first time. The other option is I log in as domain admin, and use powershell as admin to run a batch file that backs up ALL users active within the last 60 days. Both of these options back up Downloads/Documents/Videos/Pictures/Desktop/Favorites, and even gets some outlook signatures and their PST and OST files.

Now, what I want to modify is to remove the code that backs up the "documents" folders because those are synced to a network drive, and I also want it to NOT backup the .OST files. In the near future, I will also want to modify it again to not backup downloads and desktop, because those will be redirected folders soon. No reason to spend the extra time to backup folders that will be handled by the servers. Currently in it's form, the average end user that has about 20GB of data to backup, takes a good 30 minutes to an hour to pull off onto my USB drive, mostly because of large OST's, and then the documents folder which isn't needed. So, I'll post what code I have now in the custom.xml, and the miguser.xml, and if anyone can reply with the right code to add or remove I'd greatly appreciate it.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Custom.xml currently shows:
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/a...">
<component type="Documents" context="System">
<displayName>Test</displayName>
<role role="Data">
<rules>
<unconditionalExclude>
<objectSet>
<pattern type="File">c:\*[*]</pattern>
</objectSet>
</unconditionalExclude>
</rules>
</role>
</component>
<component type="Documents" defaultSupported="TRUE" hidden="FALSE" context="UserAndSystem">
<displayName _locID="migsys.outlooksignatures">Outlook Signatures</displayName>
<role role="Data">
<rules context="User">
<include>
<objectSet>
<pattern type="File">%CSIDL_APPDATA%\Microsoft\Signatures\* [*] </pattern>
</objectSet>
</include>
</rules>
</role>
</component>
</migration>

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Miguser.xml shows:
<?xml version="1.0" encoding="UTF-8"?>
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/m...">

<_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>

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

So, on the miguser.xml, if I take out the two sections talking about my documents, will that indeed make it not backup the documents folders? On the custom.xml, what needs to be added to make it exclude any and all *.OST files? Thank you again.

-Brandon

RE: USMT XML help with custom.xml to exclude and miguser.xml

Glad to hear you are liking the sitre! That being said, this isn't really a Powershell question. It is about USMT configuration. Not quite sure which forum that woukd be best asked in, but definitely not Powershell (USMT, as far as I know, runs in a command shell, not Powershell)

RE: USMT XML help with custom.xml to exclude and miguser.xml

(OP)
Thanks, I couldn't find which forum it would fall under either, and figured this was best chance because I use Powershell to run the scripts.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close