Microsoft-Windows-Diagnosis-Scripted

EventTitleChannelSampleRule
1The scripted diagnostic engine executed a diagnostic package located at …AdminYN
101The scripted diagnostic engine started initializing a diagnostic package located …OperationalYY
102The scripted diagnostic engine completed initializing a diagnostic package …OperationalYN
103The scripted diagnostic engine started diagnosing the diagnostic package …OperationalYN
104The scripted diagnostic engine completed diagnosing the diagnostic package …OperationalYN
105The scripted diagnostic engine started running the resolution ResolutionId in …OperationalYN
106The scripted diagnostic engine completed running the resolution ResolutionId in …OperationalYN
107The scripted diagnostic engine started verifying the diagnostic package …OperationalYN
108The scripted diagnostic engine completed verifying the diagnostic package …OperationalYN
201The scripted diagnostic engine has encountered an error Status.OperationalNN
301The scripted diagnostic engine has encountered an error in function …DebugNN
401Rootcause RootCauseId was detected in package PackageId.OperationalYN
402Rootcause RootCauseId was resolved in package PackageId.OperationalYN
1000The scripted diagnostic engine has entered a performance tracing section.AnalyticNN
1002The scripted diagnostic engine has exited a performance tracing section.AnalyticNN
1004The scripted diagnostic engine has entered a performance tracing section.AnalyticNN
1006The scripted diagnostic engine has exited a performance tracing section.AnalyticNN
1008The scripted diagnostic engine has entered a performance tracing section.AnalyticNN
1010The scripted diagnostic engine has exited a performance tracing section.AnalyticNN
1012The scripted diagnostic engine has entered a performance tracing section.AnalyticNN
1014The scripted diagnostic engine has exited a performance tracing section.AnalyticNN
1016The scripted diagnostic engine has entered a performance tracing section.AnalyticNN
1018The scripted diagnostic engine has exited a performance tracing section.AnalyticNN
1020The scripted diagnostic engine has entered a performance tracing section.AnalyticNN
1022The scripted diagnostic engine has exited a performance tracing section.AnalyticNN

Event ID 1: The scripted diagnostic engine executed a diagnostic package located at PackagePath with ID PackageId.

#
Channel
Admin
Level
Informational

Message #

The scripted diagnostic engine executed a diagnostic package located at %1 with ID %2.

Fields #

NameDescription
PackagePath UnicodeString
PackageId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "guid": "{E1DD7E52-621D-44E3-A1AD-0370C2B25946}",
    "event_source_name": "",
    "event_id": 1,
    "version": 0,
    "level": 4,
    "task": 0,
    "opcode": 0,
    "keywords": -9223372019674906624,
    "time_created": "2026-06-13T05:39:32.6573395+00:00",
    "event_record_id": 4,
    "correlation": {},
    "execution": {
      "process_id": 5480,
      "thread_id": 5084
    },
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Admin",
    "computer": "telemetry-DC-a.cell-a.ludus.domain",
    "security": {
      "user_id": "S-1-5-21-1006758700-2167138679-1475694448-1105"
    }
  },
  "event_data": {
    "PackagePath": "C:\\Windows\\diagnostics\\scheduled\\Maintenance",
    "PackageId": "MaintenanceDiagnostic"
  },
  "message": "The scripted diagnostic engine executed a diagnostic package located at C:\\Windows\\diagnostics\\scheduled\\Maintenance with ID MaintenanceDiagnostic."
}

Event ID 101: The scripted diagnostic engine started initializing a diagnostic package located at PackagePath.

#
Channel
Operational
Level
Informational

Message #

The scripted diagnostic engine started initializing a diagnostic package located at %1.

Fields #

NameDescriptionRules
PackagePath UnicodeString1 detection rule

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "guid": "{E1DD7E52-621D-44E3-A1AD-0370C2B25946}",
    "event_source_name": "",
    "event_id": 101,
    "version": 0,
    "level": 4,
    "task": 0,
    "opcode": 0,
    "keywords": 4611686052787126272,
    "time_created": "2026-06-13T05:39:32.0639362+00:00",
    "event_record_id": 13,
    "correlation": {},
    "execution": {
      "process_id": 5480,
      "thread_id": 5084
    },
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational",
    "computer": "telemetry-DC-a.cell-a.ludus.domain",
    "security": {
      "user_id": "S-1-5-21-1006758700-2167138679-1475694448-1105"
    }
  },
  "event_data": {
    "PackagePath": "C:\\Windows\\diagnostics\\scheduled\\Maintenance"
  },
  "message": "The scripted diagnostic engine started initializing a diagnostic package located at C:\\Windows\\diagnostics\\scheduled\\Maintenance."
}

Detection Rules #

Full rule details for this event, including ATT&CK technique mappings and native queries →

Sigma # view in coverage

Event ID 102: The scripted diagnostic engine completed initializing a diagnostic package located at PackagePath.

#
Channel
Operational
Level
Informational

Message #

The scripted diagnostic engine completed initializing a diagnostic package located at %1.

Fields #

NameDescription
PackagePath UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "guid": "{E1DD7E52-621D-44E3-A1AD-0370C2B25946}",
    "event_source_name": "",
    "event_id": 102,
    "version": 0,
    "level": 4,
    "task": 0,
    "opcode": 0,
    "keywords": 4611686052787126272,
    "time_created": "2026-06-13T05:39:32.6573381+00:00",
    "event_record_id": 14,
    "correlation": {},
    "execution": {
      "process_id": 5480,
      "thread_id": 5084
    },
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational",
    "computer": "telemetry-DC-a.cell-a.ludus.domain",
    "security": {
      "user_id": "S-1-5-21-1006758700-2167138679-1475694448-1105"
    }
  },
  "event_data": {
    "PackagePath": "C:\\Windows\\diagnostics\\scheduled\\Maintenance"
  },
  "message": "The scripted diagnostic engine completed initializing a diagnostic package located at C:\\Windows\\diagnostics\\scheduled\\Maintenance."
}

Event ID 103: The scripted diagnostic engine started diagnosing the diagnostic package PackageId.

#
Channel
Operational
Level
Informational

Message #

The scripted diagnostic engine started diagnosing the diagnostic package %1.

Fields #

NameDescription
PackageId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "guid": "{E1DD7E52-621D-44E3-A1AD-0370C2B25946}",
    "event_source_name": "",
    "event_id": 103,
    "version": 0,
    "level": 4,
    "task": 0,
    "opcode": 0,
    "keywords": 4611686052787126272,
    "time_created": "2026-06-13T05:39:32.6595348+00:00",
    "event_record_id": 15,
    "correlation": {},
    "execution": {
      "process_id": 5480,
      "thread_id": 5084
    },
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational",
    "computer": "telemetry-DC-a.cell-a.ludus.domain",
    "security": {
      "user_id": "S-1-5-21-1006758700-2167138679-1475694448-1105"
    }
  },
  "event_data": {
    "PackageId": "MaintenanceDiagnostic"
  },
  "message": "The scripted diagnostic engine started diagnosing the diagnostic package MaintenanceDiagnostic."
}

Event ID 104: The scripted diagnostic engine completed diagnosing the diagnostic package PackageId.

#
Channel
Operational
Level
Informational

Message #

The scripted diagnostic engine completed diagnosing the diagnostic package %1.

Fields #

NameDescription
PackageId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "guid": "{E1DD7E52-621D-44E3-A1AD-0370C2B25946}",
    "event_source_name": "",
    "event_id": 104,
    "version": 0,
    "level": 4,
    "task": 0,
    "opcode": 0,
    "keywords": 4611686052787126272,
    "time_created": "2026-06-13T05:39:36.5124770+00:00",
    "event_record_id": 16,
    "correlation": {},
    "execution": {
      "process_id": 5480,
      "thread_id": 5084
    },
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational",
    "computer": "telemetry-DC-a.cell-a.ludus.domain",
    "security": {
      "user_id": "S-1-5-21-1006758700-2167138679-1475694448-1105"
    }
  },
  "event_data": {
    "PackageId": "MaintenanceDiagnostic"
  },
  "message": "The scripted diagnostic engine completed diagnosing the diagnostic package MaintenanceDiagnostic."
}

Event ID 105: The scripted diagnostic engine started running the resolution ResolutionId in the diagnostic package PackageId.

#
Channel
Operational

Message #

The scripted diagnostic engine started running the resolution %2 in the diagnostic package %1.

Fields #

NameDescription
PackageId UnicodeString
ResolutionId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "event_id": 105,
    "level": "Information",
    "task": null,
    "opcode": "Info",
    "time_created": "2026-04-20T21:20:41.8700085+00:00",
    "computer": "JD-DC01-2022.ludus.domain",
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational"
  },
  "event_data": {
    "ResolutionId": "RC_DiagnosticHistory/DefaultInstanceId/RS_AdminDiagnosticHistory",
    "PackageId": "MaintenanceDiagnostic"
  }
}

Event ID 106: The scripted diagnostic engine completed running the resolution ResolutionId in the diagnostic package PackageId.

#
Channel
Operational

Message #

The scripted diagnostic engine completed running the resolution %2 in the diagnostic package %1.

Fields #

NameDescription
PackageId UnicodeString
ResolutionId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "event_id": 106,
    "level": "Information",
    "task": null,
    "opcode": "Info",
    "time_created": "2026-04-20T21:20:42.0121583+00:00",
    "computer": "JD-DC01-2022.ludus.domain",
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational"
  },
  "event_data": {
    "ResolutionId": "RC_DiagnosticHistory/DefaultInstanceId/RS_AdminDiagnosticHistory",
    "PackageId": "MaintenanceDiagnostic"
  }
}

Event ID 107: The scripted diagnostic engine started verifying the diagnostic package PackageId.

#
Channel
Operational

Message #

The scripted diagnostic engine started verifying the diagnostic package %1.

Fields #

NameDescription
PackageId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "event_id": 107,
    "level": "Information",
    "task": null,
    "opcode": "Info",
    "time_created": "2026-04-20T21:20:42.0123013+00:00",
    "computer": "JD-DC01-2022.ludus.domain",
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational"
  },
  "event_data": {
    "PackageId": "MaintenanceDiagnostic"
  }
}

Event ID 108: The scripted diagnostic engine completed verifying the diagnostic package PackageId.

#
Channel
Operational

Message #

The scripted diagnostic engine completed verifying the diagnostic package %1.

Fields #

NameDescription
PackageId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "event_id": 108,
    "level": "Information",
    "task": null,
    "opcode": "Info",
    "time_created": "2026-04-20T21:20:42.0905970+00:00",
    "computer": "JD-DC01-2022.ludus.domain",
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational"
  },
  "event_data": {
    "PackageId": "MaintenanceDiagnostic"
  }
}

Event ID 201: The scripted diagnostic engine has encountered an error Status.

#
Channel
Operational

Message #

The scripted diagnostic engine has encountered an error %1.

Fields #

NameDescription
Status UInt32NTSTATUS reference

Event ID 301: The scripted diagnostic engine has encountered an error in function FunctionName, line LineNumber: ErrorCode.

#
Channel
Debug

Message #

The scripted diagnostic engine has encountered an error in function %1, line %2: %3.

Fields #

NameDescription
FunctionName UnicodeString
LineNumber Int32
ErrorCode UInt32

Event ID 401: Rootcause RootCauseId was detected in package PackageId.

#
Channel
Operational

Message #

Rootcause %2 was detected in package %1.

Fields #

NameDescription
PackageId UnicodeString
RootCauseId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "event_id": 401,
    "level": "Information",
    "task": null,
    "opcode": "Info",
    "time_created": "2026-04-20T21:20:41.5895729+00:00",
    "computer": "JD-DC01-2022.ludus.domain",
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational"
  },
  "event_data": {
    "PackageId": "MaintenanceDiagnostic",
    "RootCauseId": "RC_DiagnosticHistory/DefaultInstanceId"
  }
}

Event ID 402: Rootcause RootCauseId was resolved in package PackageId.

#
Channel
Operational

Message #

Rootcause %2 was resolved in package %1.

Fields #

NameDescription
PackageId UnicodeString
RootCauseId UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Diagnosis-Scripted",
    "event_id": 402,
    "level": "Information",
    "task": null,
    "opcode": "Info",
    "time_created": "2026-04-20T21:20:42.0908422+00:00",
    "computer": "JD-DC01-2022.ludus.domain",
    "channel": "Microsoft-Windows-Diagnosis-Scripted/Operational"
  },
  "event_data": {
    "PackageId": "MaintenanceDiagnostic",
    "RootCauseId": "RC_DiagnosticHistory/DefaultInstanceId"
  }
}

Event ID 1000: The scripted diagnostic engine has entered a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_HOST
Opcode
Start

Event ID 1002: The scripted diagnostic engine has exited a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_HOST
Opcode
Stop

Event ID 1004: The scripted diagnostic engine has entered a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_SERIALIZE
Opcode
Start

Event ID 1006: The scripted diagnostic engine has exited a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_SERIALIZE
Opcode
Stop

Event ID 1008: The scripted diagnostic engine has entered a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_INITIALIZE
Opcode
Start

Event ID 1010: The scripted diagnostic engine has exited a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_INITIALIZE
Opcode
Stop

Event ID 1012: The scripted diagnostic engine has entered a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_VALIDATE
Opcode
Start

Event ID 1014: The scripted diagnostic engine has exited a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_VALIDATE
Opcode
Stop

Event ID 1016: The scripted diagnostic engine has entered a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_SCRIPT
Opcode
Start

Event ID 1018: The scripted diagnostic engine has exited a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_SCRIPT
Opcode
Stop

Event ID 1020: The scripted diagnostic engine has entered a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_TRUST
Opcode
Start

Event ID 1022: The scripted diagnostic engine has exited a performance tracing section.

#
Channel
Analytic
Task
SCRIPTED_DIAGNOSTICS_TASK_TRUST
Opcode
Stop

Provenance

ETW provider GUID e1dd7e52-621d-44e3-a1ad-0370c2b25946

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

  • 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