| Previous | Next |
| SDIAG_E_RESOURCE | WS_E_INVALID_FORMAT |
SDIAG_E_ROOTCAUSE
SDIAG_E_ROOTCAUSE — 0x803C010B
SDIAG_E_ROOTCAUSE means that the pack reported data for a root cause that it had not added or declared in the expected WTP result model.
Operational meaning
A troubleshooting pack has distinct initialization, detection, resolution, and verification phases. Keep the ordinary result report together with the debug report, and identify whether the pack script, PowerShell host, managed host, resource loader, trust check, or verifier produced the first failure.
Finding no root cause is valid; reporting against an unknown/unregistered root cause violates the pack model.
Build the incident record
- Root-cause IDs in manifest and script calls, phase, and execution branch
- Detect script output and WTP debug report ordering
- Conditional/dynamic root-cause creation and localization identifiers
- Parallel or repeated script execution that may report stale IDs
Tests that separate the causes
- Reduce the detector to one declared root cause.
- Assert root-cause registration before adding details or resolutions.
- Run repeated and multi-root-cause cases with deterministic IDs.
Repair without losing evidence
Apply the smallest change that addresses the first rejected condition: Make root-cause identifiers stable and ensure scripts add/return them before attaching evidence or resolution data.
Close the incident only when the result report contains only declared root causes, with correct detected/fixed/not-found state across every branch.
Technical references
The following documentation is most relevant when checking the code against the actual Windows contract for this condition:
Looking for a different code? Search another status or error code.