            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [UseHttps]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [ListenerPort]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [ListenerPort]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [UseHttps]</pattern>
          </objectSet>
        </include>
        <merge script="MigXmlHelper.SourcePriority()">
          <objectSet>
            <!-- If there is a conflict for any file, this will give priority to source and will ignore the destination-->
            <pattern type="Registry">HKLM\System\CurrentControlSet\Services\SstpSvc\Parameters [UseHttps]</pattern>
            <pattern type="Registry">HKLM\System\CurrentControlSet\Services\SstpSvc\Parameters [ListenerPort]</pattern>
            <pattern type="Registry">HKLM\System\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [ListenerPort]</pattern>
            <pattern type="Registry">HKLM\System\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [UseHttps]</pattern>
          </objectSet>
        </merge>
      </rules>
      <rules context="System">
        <!-- Include the below settings only for in-place upgrade scenario. -->
        <detects>
          <detect>
            <condition negation="No">MigXmlHelper.IsUpgrade()</condition>
          </detect>
        </detects>
        <include>
          <objectSet>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [SHA1CertificateHash]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [SHA256CertificateHash]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [V4CertPlumbedBySstp]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [V6CertPlumbedBySstp]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [Sha256Enabled]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [Sha1Enabled]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [isHashConfiguredByAdmin] </pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [NoCertRevocationCheck]</pattern>
          </objectSet>
        </include>
        <merge script="MigXmlHelper.SourcePriority()">
          <objectSet>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [SHA1CertificateHash]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [SHA256CertificateHash]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [V4CertPlumbedBySstp]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [V6CertPlumbedBySstp]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [Sha256Enabled]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [Sha1Enabled]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [isHashConfiguredByAdmin] </pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Services\SstpSvc\Parameters [NoCertRevocationCheck]</pattern>
          </objectSet>
        </merge>
      </rules>
    </migXml>
    <supportedComponents>
      <supportedComponent>
        <supportedComponentIdentity
            buildFilter=""
            buildType="$(build.buildType)"
            language="neutral"
            name="Microsoft-Windows-RasBase-RasSstp"
            processorArchitecture="*"
            publicKeyToken="$(Build.WindowsPublicKeyToken)"
            settingsVersionRange="0"
            type=""
            versionScope="nonSxS"
            />
        <migXml xmlns="">
          <rules context="System">
            <merge script="MigXmlHelper.SourcePriority()">
              <objectSet>
                <!-- If there is a conflict for any file, this will give priority to source and will ignore the destination-->
                <pattern type="Registry">HKLM\System\CurrentControlSet\Services\SstpSvc\Parameters [UseHttps]</pattern>
                <pattern type="Registry">HKLM\System\CurrentControlSet\Services\SstpSvc\Parameters [ListenerPort]</pattern>
                <pattern type="Registry">HKLM\System\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [ListenerPort]</pattern>
                <pattern type="Registry">HKLM\System\CurrentControlSet\Services\SstpSvc\Parameters\ConfigStore [UseHttps]</pattern>
              </objectSet>
            </merge>
          </rules>
        </migXml>
      </supportedComponent>
    </supportedComponents>
  </migration>
</assembly>
