none
USMT 5.0 Network Printer Migration RRS feed

  • Question

  • We are currently using USMT 4.0 to do Windows 7 to Windows 7 workstation upgrades in offline mode and we use the custom XML below to migrate network printer settings through the registry. This works fine.

    We are attempting to use the same custom XML with USMT 5.0 to upgrade from Windows 7 to Windows 10 and it is not working. Is there any reason it would not migrate printers to Windows 10 using the same XML?

    <?xml version="1.0" encoding="UTF-8"?>
    <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/miguser/NetworkPrinters">
    
     <!-- This component migrates printer settings -->
     <!-- Migrates printers for XP to W7 -->
    
      <component context="UserAndSystem" type="System" defaultSupported="FALSE">
        <displayName _locID="migsys.Printer">Printer</displayName>
        <role role="Settings">
          <detects>
            <detect>
              <condition>MigXmlHelper.DoesOSMatch("NT","*")</condition>
            </detect>
    
            <!-- Remove this detect section if you need to use this for Vista -->
            <detect>
              <condition negation="Yes">MigXmlHelper.IsOSLaterThan("NT","6.0")</condition>
            </detect>
          </detects>
          <rules>
            <destinationCleanup>
              <objectSet>
                <pattern type="Registry">HKCU\Printers\* [*]</pattern>
                <pattern type="Registry">HKCU\software\microsoft\windows NT\currentVersion\Windows\* [*]</pattern>
              </objectSet>
            </destinationCleanup>
            <include>
              <objectSet>
                <pattern type="Registry">HKCU\Printers\* [*]</pattern>
                <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices\* [*]</pattern>
                <pattern type="Registry">HKCU\software\microsoft\windows NT\CurrentVersion\printerPorts\* [*]</pattern>
                <pattern type="Registry">HKCU\software\microsoft\windows NT\CurrentVersion\Windows\* [*]</pattern>
                <pattern type="Registry">HKLM\software\microsoft\Windows NT\CurrentVersion\Print\Printers\* [*]</pattern>
                <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\* [*]</pattern>
                <pattern type="Registry">HKLM\SYSTEM\ControlSet001\Control\Print\Environments\Windows NT x86\Drivers\* [*]</pattern>
                <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\* [*]</pattern>
                <pattern type="Registry">HKLM\SYSTEM\ControlSet001\Control\Print\Printers\* [*]</pattern>
                <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares\* [*]</pattern>
                <pattern type="Registry">HKLM\SYSTEM\ControlSet001\Services\lanmanserver\Shares\* [*]</pattern>
              </objectSet>
            </include>
          </rules>
        </role>
      </component>
    </migration>

    Wednesday, July 26, 2017 5:04 AM

All replies

  • Hello

    Have you found a solution to your question?

    do you mind sharing it?

    thanks


    • Edited by Saeidans Wednesday, April 4, 2018 12:55 AM
    Wednesday, April 4, 2018 12:54 AM