I'm doing something wrong, but I can't figure out what.
I've read some great write ups on the subject:
and used part of the XML in their example, but the wallpaper, themes and other display customizations are still coming over. Now I'm trying to use MigXmlHelper.DestinationPriority() but really its just my last ditch effort.
From an elevated command prompt in C:\USMT\amd64\, I'm executing:
scanstate.exe E:\USMTBackup /config:nothemeuiconfig.xml /i:MigApp.xml /i:MigDocs.xml /i:MigUser.xml /i:unconditionalexclusions.xml /i:blockwallpaperandthemev3.xml /i:getlocalpsts.xml /i:inclusions.xml /ui:domain1\user1 /ue:*\* /vsc /c /o /nocompress /localonly /v:13 /l:\\path\to\scanstate.log /progress:\\path\to\scanstate_progress.log /listfiles:\\path\to\scanstate_listfiles.log
The blockwallpaperandthemev3.xml contains:
<?xml version="1.0" encoding="UTF-8"?><migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/blockwallpaperandthemev3"><component type="Documents" context="User"><displayName>Block Wallpaper, Theme and Display Registry Settings</displayName><role role="Data"><rules><unconditionalExclude><objectSet><!-- Blocks wallpaper, themes (which include wallpaper) and other display/visual customizations (DPI, Screen Saver, Window Color & Appearance etc.) in the registry when migrating from Vista, 7 and beyond --><pattern type="Registry">HKCU\Control Panel\Appearance\* [*]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [Pattern]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [SCRNSAVE.EXE]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [TileWallpaper]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [WallPaperStyle]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop\Colors [*]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop\WindowMetrics [*]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Internet Explorer\Desktop\General [WallpaperSource]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\* [*]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\ThemeManager\* [*]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern></objectSet></unconditionalExclude><merge script="MigXmlHelper.DestinationPriority()"><objectSet><pattern type="Registry">HKCU\Control Panel\Appearance\* [*]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [Pattern]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [SCRNSAVE.EXE]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [TileWallpaper]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [WallPaperStyle]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop\Colors [*]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop\WindowMetrics [*]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Internet Explorer\Desktop\General [WallpaperSource]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\* [*]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\ThemeManager\* [*]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern></objectSet></merge></rules></role></component><!-- This component blocks wallpaper & screen saver files --><component type="Documents" context="User"><displayName>Block Wallpapers and Theme Files</displayName><role role="Data"><rules><unconditionalExclude><objectSet><content filter="MigXmlHelper.ExtractSingleFile(NULL, NULL)"><objectSet><pattern type="Registry">HKCU\Control Panel\Desktop [SCRNSAVE.EXE]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Internet Explorer\Desktop\General [WallpaperSource]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern></objectSet></content></objectSet></unconditionalExclude><merge script="MigXmlHelper.DestinationPriority()"><objectSet><content filter="MigXmlHelper.ExtractSingleFile(NULL, NULL)"><objectSet><pattern type="Registry">HKCU\Control Panel\Desktop [SCRNSAVE.EXE]</pattern><pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Internet Explorer\Desktop\General [WallpaperSource]</pattern><pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern></objectSet></content></objectSet></merge><unconditionalExclude><objectSet><pattern type="File">%CSIDL_LOCAL_APPDATA%\Microsoft\Windows\Themes\* [*]</pattern><pattern type="File">%CSIDL_APPDATA%\Microsoft\Windows\Themes\* [*]</pattern><pattern type="File">%CSIDL_WINDOWS%\Resources\Ease of Access Themes\* [*]</pattern><pattern type="File">%CSIDL_WINDOWS%\Resources\Themes\* [*]</pattern><pattern type="File">%CSIDL_WINDOWS%\Web\Wallpaper\* [*]</pattern></objectSet></unconditionalExclude><merge script="MigXmlHelper.DestinationPriority()"><objectSet><pattern type="File">%CSIDL_LOCAL_APPDATA%\Microsoft\Windows\Themes\* [*]</pattern><pattern type="File">%CSIDL_APPDATA%\Microsoft\Windows\Themes\* [*]</pattern><pattern type="File">%CSIDL_WINDOWS%\Resources\Ease of Access Themes\* [*]</pattern><pattern type="File">%CSIDL_WINDOWS%\Resources\Themes\* [*]</pattern><pattern type="File">%CSIDL_WINDOWS%\Web\Wallpaper\* [*]</pattern></objectSet></merge><unconditionalExclude><objectSet><script>MigXmlHelper.GenerateDrivePatterns ("\Users\*\AppData\Local\Microsoft\Windows\Themes\* [*]","Fixed")</script><script>MigXmlHelper.GenerateDrivePatterns ("\Users\*\AppData\Roaming\Microsoft\Windows\Themes\* [*]","Fixed")</script><script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Resources\Ease of Access Themes\* [*]","Fixed")</script><script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Resources\Themes\* [*]","Fixed")</script><script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Web\Wallpaper\* [*]","Fixed")</script></objectSet></unconditionalExclude><merge script="MigXmlHelper.DestinationPriority()"><objectSet><script>MigXmlHelper.GenerateDrivePatterns ("\Users\*\AppData\Local\Microsoft\Windows\Themes\* [*]","Fixed")</script><script>MigXmlHelper.GenerateDrivePatterns ("\Users\*\AppData\Roaming\Microsoft\Windows\Themes\* [*]","Fixed")</script><script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Resources\Ease of Access Themes\* [*]","Fixed")</script><script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Resources\Themes\* [*]","Fixed")</script><script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Web\Wallpaper\* [*]","Fixed")</script></objectSet></merge></rules></role></component></migration>
I generated a config.xml called nothemeuiconfig.xml and changed this:
<component displayname="Microsoft-Windows-themeui" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-themeui/microsoft-windows-themeui/settings"/>
To this:
<component displayname="Microsoft-Windows-themeui" migrate="no" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-themeui/microsoft-windows-themeui/settings"/>
But themes, wallpapers - everything - still come over.
Opened a case with Microsoft, sent them:
- the XML's I'm using
- the command I used to generate the config.xml
- the command I used for scanstate
- the log files generated by scanstate
- the command I used for loadstate
- the log files generated by loadstate
They claim I'm doing everything right, and the logs indicate Microsoft-Windows-shmig is the one responsible for carrying this over, not Microsoft-Windows-themeui. Their answer is to disable Microsoft-Windows-shmig, but
Ned Pyle's post says NOT to do that. Microsoft Support claims the blogs I linked them (above) cannot be relied upon as they were written for older versions of USMT.
Is this no longer possible or am I just doing it wrong?