ProcessContainer: `captureDenials` fails with `E_NOTIMPL` on 25H2/26H2 build .9974, but `nativeCaptureAvailable` reports true
Relevant area(s)
Windows
Brief description of your issue
On Windows builds 26200.9974 (25H2) and 26300.9974 (26H2), StartLearningModeTraceWithOptions returns E_NOTIMPL (0x80004001). The Learning Mode API set and the processmodel.dll exports are still present, so nativeCaptureAvailable reports true. Requests with captureDenials pass the support check and then fail at trace start with backend_unavailable.
- Since this host update,
native-denial-capturefails in nightly validation on 25H2/26H2 x64 and arm64. - Builds .9725 passed the day before. 24H2 (26100.9711) and prerelease hosts still pass.
- No MXC learning-mode or ProcessContainer code changed between the passing and failing runs.
- Failing run: https://github.com/microsoft/mxc/actions/runs/42984359932
Steps to reproduce
- Use a 25H2 or 26H2 host on build 26200.9974 or 26300.9974.
- Run
wxc-exec --probe. It reportsnativeCaptureAvailable: true. - Run a
processcontainerrequest withprocessContainer.captureDenials.outputPathset, or runtests/scripts/run_processcontainer_policy_tests.ps1.
Expected behavior
Either capture works and writes the denial document, or nativeCaptureAvailable is false and the request is rejected before execution with the "requires native Learning Mode capture support" message.
Actual behavior
{"error":{"code":"backend_unavailable","message":"captureDenials: failed to start learning-mode capture:
StartLearningModeTraceWithOptions failed (HRESULT = 0x80004001)"}}
The probe says capture is available, but the start call fails.
[AgentAssisted] This now fails the required windows / arm64 PR check. GitHub's arm64 runner image windows-11-vs2026-arm64 20261112.217.1 runs build 26200.9974. On it, runtime_proxy_captures_denials_and_launches_child (src/mxc-sdk/src/backends/process_container/common/base_container_helpers/tests.rs) passes its is_native_capture_available() check and then fails with captureDenials: failed to start learning-mode capture: StartLearningModeTraceWithOptions failed (HRESULT = 0x80004001). Jobs on the previous image, 20261101.203.1 (build 26200.9725), pass.
- Failing on 20261112.217.1: 43497079339, 43492644393, 43485716607
- Passing on 20261101.203.1: 43493671238, 43488148650
Both images are in service, so until this is fixed a PR's windows / arm64 job passes only when it lands on the previous image.
Addressed by #1769, merged on November 14. Trace startup now checks NETWORK source support and selects legacy access-only StartLearningModeTrace when unsupported or unverified. The merged PR description now includes Fixes #1741; closing this issue as completed.