| Previous | Next |
| STATUS_WAKE_SYSTEM_DEBUGGER | STATUS_NO_INHERITANCE |
STATUS_HANDLES_CLOSED
Windows automatically closed handles during the operation
This warning status reports a side effect: handles were automatically closed because of the requested operation. Handle closure releases process handle-table references and can trigger object-specific cleanup when the last relevant reference disappears. The result should be visible to code that maintains its own handle registry or resource ownership map.
Do not attempt to close the same saved numeric values later without validating ownership; stale handle values can be reused for unrelated objects. Capture the operation that produced the status and the affected process or object context. The useful fix is to make cleanup bookkeeping reflect the automatic close, not to ignore the status.
What to inspect
- Identify the operation that caused automatic handle closure.
- Invalidate application-side handle ownership records before later cleanup runs.
- Watch for stale numeric handle reuse after the close side effect.
References
- Microsoft: CloseHandle
- System Informer PHNT: Object Manager Native API
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.