| Previous | Next |
| UTC_E_EXCLUSIVITY_NOT_AVAILABLE | UTC_E_ESCALATION_DIRECTORY_ALREADY_EXISTS |
UTC_E_GETFILE_FILE_PATH_NOT_APPROVED
Read this as a lifecycle result: GetFile collection path policy
When UTC_E_GETFILE_FILE_PATH_NOT_APPROVED (0x87C5102E) is returned, the producing layer is policy and trust enforcement for this HRESULT. Treat this HRESULT as a state-machine report, not as a generic telemetry outage for this HRESULT. The rejected object or state is GetFile collection path policy, and the specific boundary is that a local path requested by GetFile is outside the approved collection roots or fails canonical path checks for this HRESULT. Later service errors should not replace this first result in the incident record for this HRESULT.
DiagTrack applies allowlists, signer checks, path restrictions and destination-specific collection policy for this HRESULT. These gates are intended security/privacy boundaries. Diagnosis should identify the exact denied capability rather than recommending broad privilege or policy changes 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.
Diagnostic record
| UTC diagnostic field | Value |
|---|---|
| Owning state or object | GetFile collection path policy |
| Producing layer | policy and trust enforcement |
| Do not confuse with | UTC_E_GETFILE_EXTERNAL_PATH_NOT_APPROVED adds stricter rules for external-ring collection |
| Decisive evidence | original and canonical path, environment expansion, reparse points, file owner, scenario signer and policy rule |
| Narrow comparison | collect a small test file from an approved root using the same action |
The AllStat message names the immediate condition as “The file path is not approved for the GetFile escalation action” 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.
Isolate one changing condition
- Export the relevant
Microsoft-Windows-UniversalTelemetryClient/Operationalevents and preserve their ActivityId or request correlation alongside this result. - Capture original and canonical path, environment expansion, reparse points, file owner, scenario signer and policy rule for this HRESULT. Do this before restarting the service or deleting any working directory for this HRESULT.
- Perform this one-variable comparison: collect a small test file from an approved root using the same action for this HRESULT.
- 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_GETFILE_EXTERNAL_PATH_NOT_APPROVED. The distinction is concrete: UTC_E_GETFILE_EXTERNAL_PATH_NOT_APPROVED adds stricter rules for external-ring collection 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.
Policy-preserving test
Build the passing case for this HRESULT with an approved path, signer, command or certificate while keeping the enforcement mechanism enabled for this HRESULT. This demonstrates compliance with the policy boundary rather than merely removing the boundary for this HRESULT.
Operational response
Move diagnostic output to an approved location or change the signed scenario policy; avoid traversal or symlink tricks 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.
Avoid broad registry resets or global service-policy changes until the single-owner comparison has been run for this HRESULT. They can hide the original configuration generation without proving the contract was corrected for this HRESULT.
- the same request now produces its documented success or nonfatal status without a second hidden retry
- the operational log shows one coherent request lifetime and no orphaned action, timer, process or trace session
- teardown followed by a second run does not reuse stale state or recreate GetFile collection path policy
- the nearby condition remains distinguishable: UTC_E_GETFILE_EXTERNAL_PATH_NOT_APPROVED adds stricter rules for external-ring collection
Technical references
- Microsoft Open Specifications: Windows error-code registry — reference for policy and trust enforcement while interpreting this result.
- Microsoft: Universal Telemetry Client configuration diagnosis
- Microsoft: CertVerifyCertificateChainPolicy
- Microsoft: Windows cryptography functions
Looking for a different code? Search another status or error code.