Scenario

You want to block USMT migration of Wallpaper and Themes from a Windows Vista or Windows 7 source computer. XP is not relevant as USMT already blocks wallpaper migration in that OS.

Sample 1 (using CONFIG.XML)

<component displayname="Microsoft-Windows-themeui" migrate="no"

Sample 2 (using custom XML)

<?xml version="1.0" encoding="UTF-8"?>
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/blockwallpaperandthemes">
<component type="Documents" context="User">
<displayName>BlockWallpaperandThemes</displayName>
<role role="Data">
  <rules>
   <unconditionalExclude>
    <objectSet>
     <!-- Blocks wallpaper and themes (which include wallpaper) from migrating from Vista/7 -->
     <pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern>
     <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern>
    </objectSet>
   </unconditionalExclude>
  </rules>
</role>
</component>
</migration>

Further Notes

  • Ordinarily, modification of CONFIG.XML is discouraged. In this case, though, its manifest is atomic to wallpaper and themes alone. 

  • For more information on CONFIG.XML, examine:

    http://technet.microsoft.com/en-us/library/dd560760(v=WS.10).aspx

  • USMT custom samples are always provided AS-IS and are not supported by Microsoft except through "best effort."