You want to use an <unconditionalExclude> so that your exclusions override the 
default inclusion of all top-level folders that happens automatically when 
using migdocs.xml.  See 
http://technet.microsoft.com/en-us/library/dd560762(v=WS.10).aspx#BKMK_UnconditionalExclude.

Thanks,
-Michael

From: [email protected] [mailto:[email protected]] On 
Behalf Of Kish n Kepi
Sent: Sunday, June 22, 2014 9:47 PM
To: [email protected]
Subject: [MDT-OSD] Newbie Needs Help with USMT

Hello,

I hope this is the right forum. If not, my apologies.

I'm trying to use USMT to migrate primarily data from user profiles to a new 
computer.

My main concern is excluding the c:\DB2 and C:\IBM folders where IBMs DB2 and 
WebSphere are installed, as they do not transfer well, and leave 'stuff' all 
over that makes even a fresh reinstall difficult.

I created a custom.xml with the requisite:
                        <exclude>
             <objectSet>
                   <pattern type="File"> C:\IBM\* [*]</pattern>
                   <pattern type="File"> C:\DB2\* [*]</pattern>
             </objectSet>
         </exclude>

but the C:\DB2 folder is getting transferred, even though I include the 
/i:custom.xml on both the scanstate and loadstate.

What am I missing?

Kish

Reply via email to