<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0" copyright="Copyright (c) Microsoft Corporation. All Rights Reserved." xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <assemblyIdentity name="Microsoft-Windows-CoreSystem-InitMachineConfig" version="10.0.26100.8521" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS" />
  <dependency discoverable="no" resourceType="Resources">
    <dependentAssembly dependencyType="prerequisite">
      <assemblyIdentity name="Microsoft-Windows-CoreSystem-InitMachineConfig.Resources" version="10.0.26100.8521" processorArchitecture="amd64" language="*" buildType="release" publicKeyToken="31bf3856ad364e35" />
    </dependentAssembly>
  </dependency>
  <file name="cmimcext.sys" destinationPath="$(runtime.drivers)\" sourceName="cmimcext.sys" importPath="$(build.nttree)\" sourcePath=".\">
    <securityDescriptor name="WRP_FILE_DEFAULT_SDDL" />
    <asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
      <dsig:Transforms>
        <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
      </dsig:Transforms>
      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
      <dsig:DigestValue>DDpu8TJnABAws21ZfsrksyTdsSOVyT7gn2eLLykNPYk=</dsig:DigestValue>
    </asmv2:hash>
  </file>
  <registryKeys>
    <registryKey keyName="HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\InitialMachineConfig" />
  </registryKeys>
  <asmv3:configuration xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <asmv3:configurationSchema>
      <xsd:schema xmlns="Microsoft-Windows-CoreSystem-InitMachineConfig" targetNamespace="Microsoft-Windows-CoreSystem-InitMachineConfig">
        <xsd:element default="1" name="Sequence" type="xsd:integer" wcm:handler="regkey('HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\InitialMachineConfig')" />
        <xsd:element default="0" name="ProcessImc" type="xsd:integer" wcm:handler="regkey('HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\InitialMachineConfig')" />
      </xsd:schema>
    </asmv3:configurationSchema>
  </asmv3:configuration>
  <migration ignoreConfigurationSection="Yes" scope="Upgrade" settingsVersion="2">
    <migXml xmlns="">
      <rules context="System">
        <include>
          <objectSet>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Control\InitialMachineConfig [Sequence]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Control\InitialMachineConfig [ProcessImc]</pattern>
          </objectSet>
        </include>
        <merge script="MigXmlHelper.SourcePriority()">
          <objectSet>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Control\InitialMachineConfig [Sequence]</pattern>
            <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Control\InitialMachineConfig [ProcessImc]</pattern>
          </objectSet>
        </merge>
      </rules>
    </migXml>
    <supportedComponents>
      <supportedComponent>
        <assemblyIdentity name="_" version="1.0.0.0" />
        <supportedComponentIdentity language="neutral" name="Microsoft-Windows-CoreSystem-InitMachineConfig" processorArchitecture="*" settingsVersionRange="0-2" xmlns="urn:schemas-microsoft-com:asm.v3" />
        <migXml xmlns="">
          <rules context="System">
            <merge script="MigXmlHelper.SourcePriority()">
              <objectSet>
                <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Control\InitialMachineConfig [Sequence]</pattern>
                <pattern type="Registry">HKLM\SYSTEM\CurrentControlSet\Control\InitialMachineConfig [ProcessImc]</pattern>
              </objectSet>
            </merge>
          </rules>
        </migXml>
      </supportedComponent>
    </supportedComponents>
  </migration>
  <imaging>
    <sysprepInformation>
      <sysprepProvider stage="generalize">
        <sysprepOrder order="0x3800" />
        <registryActions>
          <setValue name="Sequence" path="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\InitialMachineConfig" type="REG_DWORD" value="1" />
          <setValue name="ProcessImc" path="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\InitialMachineConfig" type="REG_DWORD" value="1" />
        </registryActions>
      </sysprepProvider>
    </sysprepInformation>
  </imaging>
  <instrumentation xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <events xmlns="http://schemas.microsoft.com/win/2004/08/events">
      <provider guid="{0b886108-1899-4d3a-9c0d-42d8fc4b9108}" messageFileName="%windir%\system32\drivers\cmimcext.sys" name="Microsoft-Windows-CoreSystem-InitMachineConfig" resourceFileName="%windir%\system32\drivers\cmimcext.sys" symbol="IMCEXT_PROVIDER_ID">
        <channels>
          <importChannel chid="chidSystem" name="System" />
        </channels>
      </provider>
      <cmi />
    </events>
  </instrumentation>
  <localization>
    <resources culture="en-US">
      <stringTable>
        <string id="ImcExt.EventMessage.GeneralError" value="An error with reference Id=%1 was encountered while processing the hive '%3'. The status was: %4.  The additional information was %5." />
        <string id="ImcExt.EventMessage.ImcCompleted" value="Initial Machine Configuration processing of hive '%2' has completed." />
        <string id="ImcExt.EventMessage.ImcHiveUnloadFailure" value="Initial Machine Configuration was unable to unload the IMC hive once processing was completed.  The status was %1." />
        <string id="ImcExt.EventMessage.ImcDisableFailure" value="Initial Machine Configuration was unable to update the system BCD to prevent future execution.  The status was %1." />
        <string id="ImcExt.EventMessage.ImcValueBlocked" value="Value blocked: %4 under the key, %2, was NOT set after failing validation." />
        <string id="ImcExt.EventMessage.ImcValueSet" value="Value set: %4 under the key, %2, was set after passing validation." />
      </stringTable>
    </resources>
  </localization>
  <trustInfo>
    <security>
      <accessControl>
        <securityDescriptorDefinitions>
          <securityDescriptorDefinition name="WRP_FILE_DEFAULT_SDDL" sddl="O:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464G:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464D:P(A;;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;;GRGX;;;BA)(A;;GRGX;;;SY)(A;;GRGX;;;BU)(A;;GRGX;;;S-1-15-2-1)(A;;GRGX;;;S-1-15-2-2)S:(AU;FASA;0x000D0116;;;WD)" operationHint="replace" description="Default SDDL for Windows Resource Protected file" />
        </securityDescriptorDefinitions>
      </accessControl>
    </security>
  </trustInfo>
</assembly>