Site icon EfmSoft

What does HRESULT 0x87C51013 (UTC_E_INTENTIONAL_SCRIPT_FAILURE) mean?

 
Previous Next
UTC_E_FORWARDER_PRODUCER_MISMATCH UTC_E_SQM_INIT_FAILED

UTC_E_INTENTIONAL_SCRIPT_FAILURE

Separate cause from final symptom: script-defined termination signal

The code UTC_E_INTENTIONAL_SCRIPT_FAILURE (0x87C51013) belongs to scenario action execution, inside the Universal Telemetry Client/DiagTrack workflow for this HRESULT. The first diagnostic step is to separate configuration, policy and runtime state for this HRESULT. It identifies script-defined termination signal and reports that the approved script deliberately returned the failure used to stop the current escalation path; it does not by itself prove that all Windows diagnostic data collection is unavailable for this HRESULT.

Scenario actions run under service-controlled identity, timeout and cancellation rules for this HRESULT. The useful evidence is the exact action instance and its child process or script state, not a later generic service event for this HRESULT. stdout, stderr and native exit values should be retained separately from the UTC HRESULT for this HRESULT. Record the configuration package or scenario generation together with the Windows build; otherwise a repaired file can be tested against a stale in-memory graph and appear to fail for the same reason for this HRESULT.

High-value observations

UTC diagnostic fieldValue
Producing layerscenario action execution
Owning state or objectscript-defined termination signal
Decisive evidencescript hash/version, documented sentinel exit code, action branch, stdout/stderr and subsequent action suppression
Narrow comparisonrun the script with inputs that select its success branch and then its intentional-stop branch
Do not confuse withUTC_E_CHILD_PROCESS_FAILED covers an ordinary nonzero child exit that was not an intentional UTC sentinel

The AllStat message names the immediate condition as “RunScriptAction failed intentionally to force this escalation to terminate” for this HRESULT. In practice, the useful extension is to ask whether the request was rejected before any side effect, after partial setup, or during cleanup for this HRESULT. Verify the existence and ownership of the expected output—session, directory, process, result object or emitted event—rather than assuming the message describes the final system state for this HRESULT.

A focused experiment

  1. Export the relevant Microsoft-Windows-UniversalTelemetryClient/Operational events and preserve their ActivityId or request correlation alongside this result.
  2. Capture script hash/version, documented sentinel exit code, action branch, stdout/stderr and subsequent action suppression for this HRESULT. Do this before restarting the service or deleting any working directory for this HRESULT.
  3. Perform this one-variable comparison: run the script with inputs that select its success branch and then its intentional-stop branch for this HRESULT.
  4. After the comparison, record the next HRESULT and whether the requested session, action, trigger or output object was actually created for this HRESULT.

The most informative neighbor is UTC_E_CHILD_PROCESS_FAILED. The distinction is concrete: UTC_E_CHILD_PROCESS_FAILED covers an ordinary nonzero child exit that was not an intentional UTC sentinel for this HRESULT. Keeping both symbolic names in logs prevents a broad “DiagTrack error” bucket from hiding whether the failure occurred during parsing, authorization, resource acquisition, execution or teardown for this HRESULT.

Child-action accounting

Keep process creation, job assignment, timeout, cancellation, exit code and output capture as separate timestamps for this HRESULT. That sequence reveals whether the child failed itself, was terminated by UTC or never started for this HRESULT.

Recovery criteria

Handle the sentinel as scenario control flow and do not relabel it as a script-engine crash for this HRESULT. Apply that change only to the owning boundary for this HRESULT. A successful repair must make the controlled case cross this boundary while retaining the intended policy, trace providers, destination and security context for this HRESULT.

Do not treat this result as permission to bypass collection policy, script approval, path restrictions or trace arbitration for this HRESULT. A repair that only weakens those controls is not a valid regression result for this HRESULT.

Technical references


Looking for a different code? Search another status or error code.

Exit mobile version