USMT exclude WindowsApps RRS feed

  • Question

  • Hello

    Migration WIndows 8.1 to Windows 10.

    Need to grab PROGRAM_FILES folder, except for some folders.

    <migration urlid="">
    <component type="Documents" context="System">
      <role role="Data">
                     <pattern type="File">%CSIDL_PROGRAM_FILES%\* [*]</pattern>
                     <pattern type="File">%CSIDL_PROGRAM_FILES%\Common Files\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\DVD Maker\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Internet Explorer\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Microsoft Policy Platform\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\MSBuild\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Reference Assemblies\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Windows Defender\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Windows Journal\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Windows Mail\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Windows Media Player\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Windows NT\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Windows Photo Viewer\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Windows Portable Devices\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\WindowsApps\* [*]</pattern>
    				 <pattern type="File">%CSIDL_PROGRAM_FILES%\Uninstall Information\* [*]</pattern>

    but USMT still migrates WindowsApps.

    that need to change?

    Thursday, July 11, 2019 11:01 AM

All replies

  • Hi,

    Have you tried to change %CSIDL_PROGRAM_FILES% to the absolute path?


    Please remember to mark the replies as answers if they help.

    If you have feedback for TechNet Subscriber Support, contact

    Friday, July 12, 2019 6:56 AM
  • More than once I noticed my inattention. we had to combine the XML part. And the problem is gone.

    Thank you

    Friday, July 12, 2019 9:10 AM