What does NTSTATUS 0xC000060A (STATUS_SET_CONTEXT_DENIED) mean?

 
Previous Next
STATUS_STRICT_CFG_VIOLATION STATUS_CROSS_PARTITION_VIOLATION

STATUS_SET_CONTEXT_DENIED

Process policy blocked thread-context modification

Windows returns STATUS_SET_CONTEXT_DENIED when process security or execution policy rejects the requested state or operation. A caller attempted to alter a thread context in a process whose mitigation or trust boundary forbids that operation. This often affects debuggers, injectors, profilers, and compatibility shims.

Identify caller and target process, requested context flags, protection level and mitigation policy. Do not work around the denial by weakening unrelated ACLs.

Thread-context access can be restricted by process protection and mitigation policy even when the handle itself was opened successfully. Correlate the denied context operation with target protection state and the exact context flags requested.

References


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