I'm trying to use your XML file to exclude those empty start menu items that get migrated over. I have placed the XML into the root of my USMT 4 package on SCCM 2007 R3 and updated the DP. I then edited the task sequence step "Set USMT Additional Capture Options" and I have the following:
Task Sequence Variable: OSDMigrateAdditionalCaptureOptions
Value: /nocompress /hardlink /i:"%SYSTEMDRIVE%\_SMSTaskSequence\Packages\MyPackageNum\custom_excludes.xml"
This is the first customization I have attempted to make to the default USMT settings. I then ran the task sequence but the new XML file didn't seem to make any difference. I still see empty program folders from the previous OS. If I open the scanstate.log, I see this:
2012-03-02 16:36:37, Info [0x000000] Command line: C:\_SMSTaskSequence\Packages\SCG00053\x86\scanstate.exe C:\UserState /o /localonly /c /efs:copyraw /all /v:5 /l:C:\WINDOWS\system32\CCM\Logs\SMSTSLog\scanstate.log /progress:C:\WINDOWS\system32\CCM\Logs\SMSTSLog\scanstateprogress.log /i:C:\_SMSTaskSequence\Packages\SCG00053\x86\miguser.xml /i:C:\_SMSTaskSequence\Packages\SCG00053\x86\migapp.xml /nocompress /hardlink /i:C:\_SMSTaskSequence\Packages\SCG00053\custom_excludes.xml
So it appears that its referencing the right XML file. The scanstate log is HUGE, but I don't much in there as far as errors. Any ideas why the exclusions are not taking effect?