❔ 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
CatSandwich
CatSandwichOP2y ago
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 …
CatSandwich
CatSandwichOP2y ago
reading through this
canton7
canton72y ago
If you've got the Process object, then just call Kill()?
CatSandwich
CatSandwichOP2y ago
I don't want to kill the process - I want to close a handle held by the process
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server