0x80070236 - ERROR_THREAD_NOT_IN_PROCESS
An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.
Symptoms
- An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.
- System error 566 (ERROR_THREAD_NOT_IN_PROCESS)
Troubleshooting steps
- Note the exact error 566 (ERROR_THREAD_NOT_IN_PROCESS) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_THREAD_NOT_IN_PROCESS (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com