Files
windows-builder/setup-media-template/support/logging/microsoft-windows-cmisetup-instrumentation.man
2026-06-02 03:37:09 -07:00

91 lines
7.0 KiB
Groff

<?xml version="1.0" encoding="UTF-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v3" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity buildType="release" language="neutral" name="Microsoft-Windows-CmiSetup-Instrumentation" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" version="10.0.10011.16384" versionScope="nonSxS"></assemblyIdentity>
<registryKeys>
<!-- CmiSetup Provider -->
<registryKey keyName="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\Microsoft-Windows-Setup\{75EBC33E-0CC6-49da-8CD9-8903A5222AA0}">
<registryValue name="Enabled" value="1" valueType="REG_DWORD"></registryValue>
<registryValue name="EnableLevel" value="4" valueType="REG_DWORD"></registryValue>
</registryKey>
<registryKey keyName="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SetupPlatform\{75EBC33E-0CC6-49da-8CD9-8903A5222AA0}">
<registryValue name="Enabled" value="1" valueType="REG_DWORD"></registryValue>
<registryValue name="EnableLevel" value="4" valueType="REG_DWORD"></registryValue>
</registryKey>
</registryKeys>
<instrumentation xmlns:ms="http://manifests.microsoft.com/win/2004/08/windows/events" 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" xmlns:auto-ns1="urn:schemas-microsoft-com:asm.v3">
<!--
* Microsoft Windows CmiSetup Provider *
Author: jasontho (Jason Thorsness)
-->
<provider guid="{75EBC33E-0CC6-49da-8CD9-8903A5222AA0}" message="$(string.CmiSetup.ProviderMessage)" messageFileName="%SystemRoot%\system32\oobe\CmiSetup.dll" name="Microsoft-Windows-CmiSetup" resourceFileName="%SystemRoot%\system32\oobe\CmiSetup.dll" symbol="Microsoft_Windows_CmiSetup">
<channels>
<channel chid="chaCmiSetupAnalytic" name="Microsoft-Windows-CmiSetup/Analytic" type="Analytic"></channel>
<!-- This is the official Setup channel as seen in the Event Viewer.
This channel can only be used in the First Boot phase. -->
<importChannel chid="chaSetup" name="Setup"></importChannel>
</channels>
<keywords>
<!-- Events with the Performance keyword come in opcode=win:start/win:stop pairs
with the same task name. An individual thread will complete once instance of
a task with a particular type before starting a new one. -->
<keyword mask="0x00000001" message="$(string.Performance.KeywordMessage)" name="keyPerformance"></keyword>
<!-- EVENTS_INCLUDE_MICROSOFT_TELEMETRY -->
<keyword mask="0x0000800000000000" name="ms:CriticalData"></keyword>
<keyword mask="0x0000400000000000" name="ms:Measures"></keyword>
<keyword mask="0x0000200000000000" name="ms:Telemetry"></keyword>
<keyword mask="0x0000100000000000" name="ms:ReservedKeyword44"></keyword>
</keywords>
<templates>
<template tid="tidErrorCodeResult">
<data inType="win:UInt32" name="ErrorCode"></data>
</template>
</templates>
<tasks>
<task eventGUID="{C719CE52-9545-4c08-ACA8-0F3C42B6B9DE}" message="$(string.CmiConfigInstall.TaskMessage)" name="tskCmiConfigInstall" value="1000"></task>
<task eventGUID="{6FA8AEBF-3323-4231-BFFD-DC0B54D6A73F}" message="$(string.CmiConfigInstallWork.TaskMessage)" name="tskCmiConfigInstallWork" value="2000"></task>
<task eventGUID="{CD5F25F1-1717-4c21-8818-8DB698303259}" message="$(string.CbsDoOnlineInstall.TaskMessage)" name="tskCbsDoOnlineInstall" value="3000"></task>
</tasks>
<events>
<!-- Official CmiSetup Channel (Will show up in the Event Viewer) Events -->
<!-- CmiSetup Analytic Events -->
<!-- CmiConfigInstall -->
<event channel="chaCmiSetupAnalytic" keywords="keyPerformance ms:CriticalData" level="win:Informational" message="$(string.CmiConfigInstall.StartMessage)" opcode="win:Start" symbol="CmiConfigInstallStart" task="tskCmiConfigInstall" value="1001"></event>
<event channel="chaCmiSetupAnalytic" keywords="keyPerformance ms:CriticalData" level="win:Informational" message="$(string.CmiConfigInstall.StopMessage)" opcode="win:Stop" symbol="CmiConfigInstallStop" task="tskCmiConfigInstall" template="tidErrorCodeResult" value="1002"></event>
<!-- CmiConfigInstallWork -->
<event channel="chaCmiSetupAnalytic" keywords="keyPerformance ms:Measures" level="win:Informational" message="$(string.CmiConfigInstallWork.StartMessage)" opcode="win:Start" symbol="CmiConfigInstallWorkStart" task="tskCmiConfigInstallWork" value="2001"></event>
<event channel="chaCmiSetupAnalytic" keywords="keyPerformance ms:Measures" level="win:Informational" message="$(string.CmiConfigInstallWork.StopMessage)" opcode="win:Stop" symbol="CmiConfigInstallWorkStop" task="tskCmiConfigInstallWork" template="tidErrorCodeResult" value="2002"></event>
<!-- CbsDoOnlineInstall -->
<event channel="chaCmiSetupAnalytic" keywords="keyPerformance ms:Measures" level="win:Informational" message="$(string.CbsDoOnlineInstall.StartMessage)" opcode="win:Start" symbol="CbsDoOnlineInstallStart" task="tskCbsDoOnlineInstall" value="3001"></event>
<event channel="chaCmiSetupAnalytic" keywords="keyPerformance ms:Measures" level="win:Informational" message="$(string.CbsDoOnlineInstall.StopMessage)" opcode="win:Stop" symbol="CbsDoOnlineInstallStop" task="tskCbsDoOnlineInstall" template="tidErrorCodeResult" value="3002"></event>
</events>
</provider>
</events>
</instrumentation>
<localization>
<resources culture="en-US">
<stringTable>
<!-- Keywords -->
<string id="Performance.KeywordMessage" value="Performance"></string>
<!-- Providers -->
<string id="CmiSetup.ProviderMessage" value="Microsoft-Windows-CmiSetup"></string>
<!-- CmiConfigInstall -->
<string id="CmiConfigInstall.TaskMessage" value="CMI Configuration"></string>
<string id="CmiConfigInstall.StartMessage" value="CMI Configuration Started"></string>
<string id="CmiConfigInstall.StopMessage" value="CMI Configuration completed with status %1."></string>
<!-- CmiConfigInstallWork -->
<string id="CmiConfigInstallWork.TaskMessage" value="CMI Execute Changes"></string>
<string id="CmiConfigInstallWork.StartMessage" value="Executing CMI changes."></string>
<string id="CmiConfigInstallWork.StopMessage" value="CMI changes completed with status %1."></string>
<!-- CbsDoOnlineInstall -->
<string id="CbsDoOnlineInstall.TaskMessage" value="CBS Online Install"></string>
<string id="CbsDoOnlineInstall.StartMessage" value="Performing CBS Online Install."></string>
<string id="CbsDoOnlineInstall.StopMessage" value="CBS Online Install completed with status %1."></string>
</stringTable>
</resources>
</localization>
<cbb:debuggingInfo xmlns:cbb="urn:schemas-microsoft-com:asm.internal.v1">
<cbb:sourceManifest sourcePath="%sdxmaproot%\base\cmi\setup\microsoft-windows-cmisetup-instrumentation.man"></cbb:sourceManifest>
</cbb:debuggingInfo>
</assembly>