❔ How to close a process's handle?
Hey folks, I'm trying to automate something that I've been doing manually through Process Explorer - closing a process's handle. I have a picture attached showing what I do manually.
I can get access to a
Process
object for this process, but I'm not sure where to go from here (if this is even the right direction). Does anyone know what I could try here?5 Replies
Pavel Yosifovich
Pavel Yosifovich
How can I close a handle in another process?
Many of you are probably familiar with Process Explorer’s ability to close a handle in any process. How can this be accomplished programmatically? The standard CloseHandle function can close …
reading through this
If you've got the Process object, then just call
Kill()
?I don't want to kill the process - I want to close a handle held by the process
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.