What does NTSTATUS 0xC0000511 (STATUS_ENCLAVE_NOT_TERMINATED) mean?

 
Previous Next
STATUS_ALREADY_INITIALIZED STATUS_ENCLAVE_IS_TERMINATING

STATUS_ENCLAVE_NOT_TERMINATED

The enclave has not completed termination

STATUS_ENCLAVE_NOT_TERMINATED identifies a specific Windows status in the secure enclave lifecycle path. An operation requiring a fully terminated enclave ran while teardown was incomplete. Reusing or freeing backing resources at this point risks racing enclave cleanup.

Track terminate requests, outstanding threads and references, and wait for the documented lifecycle transition before reinitialization or release.

What to preserve before changing the system

  • The exact API, caller, target object, original NTSTATUS value, and any nested error or activity ID.
  • For STATUS_ENCLAVE_NOT_TERMINATED, the relevant process token, package/job/enclave identity, lifecycle state, and policy or mitigation settings.
  • For STATUS_ENCLAVE_NOT_TERMINATED, operational event logs and a timeline showing the first transition into the failing state.

References for STATUS_ENCLAVE_NOT_TERMINATED


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