Microsoft-Windows-Diagnosis-PCW

EventTitleChannelSampleRule
1Provider ProviderGuid failed to register.OperationalNN
2Provider ProviderGuid failed to register counter set CounterSetGuid.OperationalYN
3Instance (CounterSetGuid, InstanceName, InstanceId) could not be created.OperationalYN
4About to call provider ProviderGuid callback with arguments (CallbackReason, …AnalyticNN
5Callback returned.AnalyticNN
6Provider ProviderGuid received an invalid notification with size Size.DebugNN
7Provider ProviderGuid received notification: RequestCode.DebugNN
8Provider ProviderGuid notification handler has replied with size Size and error …DebugNN
9Notification returning with status: "Status".DebugNN
13Query of provider ProviderGuid with id Id had data collected.AnalyticNN
16Counter CounterId of instance (CounterSetGuid, InstanceName, InstanceId) could …OperationalYN
17Provider ProviderGuid failed to unregister.OperationalNN
18Instance (CounterSetGuid, InstanceName, InstanceId) could not be closed.OperationalNN
19Instance (CounterSetGuid, InstanceName, InstanceId) could not be queried.OperationalNN
20Unable to load pcw.OperationalNN
21Kernel-mode provider failed to register counter set CounterSetName.OperationalNN
22Kernel-mode provider failed to create instance InstanceName of counter set …OperationalNN
23Kernel-mode provider failed to add instance InstanceName of counter set …OperationalNN
24PCW driver failed when executing ioctl function FunctionIndex.AnalyticNN
25PCW device missing during registration of counter set CounterSetGuid of provider …DebugNN

Event ID 1: Provider ProviderGuid failed to register.

#
Channel
Operational

Description

Provider ProviderGuid failed to register. Error: "Error".

Message #

Provider %2 failed to register. Error: "%1"

Fields #

NameDescription
Error UInt32
ProviderGuid GUID

Event ID 2: Provider ProviderGuid failed to register counter set CounterSetGuid.

#
Channel
Operational

Description

Provider ProviderGuid failed to register counter set CounterSetGuid. Error: "Error".

Message #

Provider %2 failed to register counter set %3. Error: "%1"

Fields #

NameDescription
Error UInt32
ProviderGuid GUID
CounterSetGuid GUID

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-PCW",
    "event_id": 2,
    "level": 0,
    "task": 0,
    "opcode": 0,
    "time_created": "2026-05-18T04:38:25.8277283+00:00",
    "computer": "JD-DC01-2022.ludus.domain",
    "channel": "Microsoft-Windows-Diagnosis-PCW"
  },
  "event_data": {
    "ProviderGuid": "{1568ac8e-ff96-4107-926f-4499baaf5110}",
    "Error": "5",
    "CounterSetGuid": "{9d7d6cb7-9b25-4bf4-b2c6-c502e401d12d}"
  }
}

Event ID 3: Instance (CounterSetGuid, InstanceName, InstanceId) could not be created.

#
Channel
Operational

Description

Instance (CounterSetGuid, InstanceName, InstanceId) could not be created. Error: "Error".

Message #

Instance (%2, %3, %4) could not be created. Error: "%1"

Fields #

NameDescription
Error UInt32
CounterSetGuid GUID
InstanceName UnicodeString
InstanceId UInt32

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-PCW",
    "guid": "AABF8B86-7936-4FA2-ACB0-63127F879DBF",
    "event_source_name": "",
    "event_id": 3,
    "version": 0,
    "level": 0,
    "task": 0,
    "opcode": 0,
    "keywords": 9223372036854777856,
    "time_created": "2026-03-13T20:26:07.358863+00:00",
    "event_record_id": 2245,
    "correlation": {
      "ActivityID": "010930CA-58CC-4D55-AD7E-3768B763C942"
    },
    "execution": {
      "process_id": 1840,
      "thread_id": 4820
    },
    "channel": "Microsoft-Windows-Diagnosis-PCW/Operational",
    "computer": "LAB-WIN11.ludus.domain",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "Error": 183,
    "CounterSetGuid": "90C3888A-474E-4932-9925-ED1DC6731F36",
    "InstanceName": "D66F4153-89DD-4D11-8753-19E1BF9370ED configuration file",
    "InstanceId": 0
  },
  "message": ""
}

Event ID 4: About to call provider ProviderGuid callback with arguments (CallbackReason, MachineName, MachineNameSize).

#
Channel
Analytic

Message #

About to call provider %1 callback with arguments (%2, %3, %4).

Fields #

NameDescription
ProviderGuid GUID
CallbackReason UInt32
MachineName UnicodeString
MachineNameSize UInt32

Event ID 5: Callback returned.

#
Channel
Analytic

Description

Callback returned. Return value: "Status".

Message #

Callback returned. Return value: "%1"

Fields #

NameDescription
Status UInt32NTSTATUS reference

Event ID 6: Provider ProviderGuid received an invalid notification with size Size.

#
Channel
Debug

Message #

Provider %1 received an invalid notification with size %2.

Fields #

NameDescription
ProviderGuid GUID
Size UInt32

Event ID 7: Provider ProviderGuid received notification: RequestCode.

#
Channel
Debug

Message #

Provider %1 received notification: %2.

Fields #

NameDescription
ProviderGuid GUID
RequestCode UInt32

Event ID 8: Provider ProviderGuid notification handler has replied with size Size and error code "Status".

#
Channel
Debug

Message #

Provider %1 notification handler has replied with size %3 and error code "%2".

Fields #

NameDescription
ProviderGuid GUID
Status UInt32NTSTATUS reference
Size UInt32

Event ID 9: Notification returning with status: "Status".

#
Channel
Debug

Message #

Notification returning with status: "%1"

Fields #

NameDescription
Status UInt32NTSTATUS reference

Event ID 13: Query of provider ProviderGuid with id Id had data collected.

#
Channel
Analytic

Message #

Query of provider %1 with id %2 had data collected.

Fields #

NameDescription
ProviderGuid GUID
Id UInt64

Event ID 16: Counter CounterId of instance (CounterSetGuid, InstanceName, InstanceId) could not be modified.

#
Channel
Operational
Also via
realtime ETW trace

Description

Counter CounterId of instance (CounterSetGuid, InstanceName, InstanceId) could not be modified. Error: "Error".

Message #

Counter %5 of instance (%2, %3, %4) could not be modified. Error: "%1"

Fields #

NameDescription
Error UInt32
CounterSetGuid GUID
InstanceName UnicodeString
InstanceId UInt32
CounterId UInt32

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-PCW",
    "guid": "AABF8B86-7936-4FA2-ACB0-63127F879DBF",
    "event_source_name": "",
    "event_id": 16,
    "version": 0,
    "level": 0,
    "task": 0,
    "opcode": 0,
    "keywords": 9223372036854777856,
    "time_created": "2022-04-07T08:15:12.584665+00:00",
    "event_record_id": 352,
    "correlation": {},
    "execution": {
      "process_id": 1300,
      "thread_id": 1856
    },
    "channel": "Microsoft-Windows-Diagnosis-PCW/Operational",
    "computer": "WIN-FPV0DSIC9O6.lab.local",
    "security": {
      "user_id": "S-1-5-19"
    }
  },
  "event_data": {
    "Error": 1168,
    "CounterSetGuid": "40E6824E-1B9B-4329-9A6E-E94C8FB03A3F",
    "InstanceName": "_Default",
    "InstanceId": 0,
    "CounterId": 84
  },
  "message": ""
}

References #

Event ID 17: Provider ProviderGuid failed to unregister.

#
Channel
Operational

Description

Provider ProviderGuid failed to unregister. Error: "Error".

Message #

Provider %2 failed to unregister. Error: "%1"

Fields #

NameDescription
Error UInt32
ProviderGuid GUID

Event ID 18: Instance (CounterSetGuid, InstanceName, InstanceId) could not be closed.

#
Channel
Operational

Description

Instance (CounterSetGuid, InstanceName, InstanceId) could not be closed. Error: "Error".

Message #

Instance (%2, %3, %4) could not be closed. Error: "%1"

Fields #

NameDescription
Error UInt32
CounterSetGuid GUID
InstanceName UnicodeString
InstanceId UInt32

Event ID 19: Instance (CounterSetGuid, InstanceName, InstanceId) could not be queried.

#
Channel
Operational

Description

Instance (CounterSetGuid, InstanceName, InstanceId) could not be queried. Error: "Error".

Message #

Instance (%2, %3, %4) could not be queried. Error: "%1"

Fields #

NameDescription
Error UInt32
CounterSetGuid GUID
InstanceName UnicodeString
InstanceId UInt32

Event ID 20: Unable to load pcw.

#
Channel
Operational

Description

Unable to load pcw.sys, phase Phase failed. Error: "ErrorCode".

Message #

Unable to load pcw.sys, phase %2 failed. Error: "%1"

Fields #

NameDescription
ErrorCode UInt32
Phase UInt32

Event ID 21: Kernel-mode provider failed to register counter set CounterSetName.

#
Channel
Operational

Description

Kernel-mode provider failed to register counter set CounterSetName. Error: "ErrorCode".

Message #

Kernel-mode provider failed to register counter set %3. Error: "%1"

Fields #

NameDescription
ErrorCode UInt32
CounterSetNameLength UInt16
CounterSetName UnicodeString

Event ID 22: Kernel-mode provider failed to create instance InstanceName of counter set CounterSetName.

#
Channel
Operational

Description

Kernel-mode provider failed to create instance InstanceName of counter set CounterSetName. Error: "ErrorCode".

Message #

Kernel-mode provider failed to create instance %5 of counter set %3. Error: "%1"

Fields #

NameDescription
ErrorCode UInt32
CounterSetNameLength UInt16
CounterSetName UnicodeString
InstanceNameLength UInt16
InstanceName UnicodeString

Event ID 23: Kernel-mode provider failed to add instance InstanceName of counter set CounterSetName.

#
Channel
Operational

Description

Kernel-mode provider failed to add instance InstanceName of counter set CounterSetName. Error: "ErrorCode".

Message #

Kernel-mode provider failed to add instance %5 of counter set %3. Error: "%1"

Fields #

NameDescription
ErrorCode UInt32
CounterSetNameLength UInt16
CounterSetName UnicodeString
InstanceNameLength UInt16
InstanceName UnicodeString

Event ID 24: PCW driver failed when executing ioctl function FunctionIndex.

#
Channel
Analytic

Description

PCW driver failed when executing ioctl function FunctionIndex. Error: "ErrorCode".

Message #

PCW driver failed when executing ioctl function %2. Error: "%1"

Fields #

NameDescription
ErrorCode UInt32
FunctionIndex UInt32

Event ID 25: PCW device missing during registration of counter set CounterSetGuid of provider ProviderGuid.

#
Channel
Debug

Message #

PCW device missing during registration of counter set %2 of provider %1.

Fields #

NameDescription
ProviderGuid GUID
CounterSetGuid GUID

Provenance

ETW provider GUID {AABF8B86-7936-4FA2-ACB0-63127F879DBF}

Defined in pcwum.dll, which carries the event manifest.

  • Win11-26200.6584, sample captured from a live trace, binary version 10.0.26100.1, captured 2026-06-02 — Manifest XML pack, 2.0 MB
  • WS2022-20348.4893, schema read from the registered manifest, binary version 10.0.20348.1, captured 2026-06-02 — Manifest XML pack, 1.9 MB
  • Win11-26200.6584, schema read from the registered manifest, binary version 10.0.26100.1, captured 2026-06-02 — Manifest XML pack, 2.0 MB