Usage handle.exe (Process Explorer) to close handles

Михаил Федякин 0 Reputation points
2023-02-27T07:54:30.1866667+00:00

Hello,

I use handle.exe to close handle:

handle.exe myfile

I get:

myprogram.exe pid: 1111 type: file 123 \Device\Mup\myfile

next, I type

handle.exe -p 1111 -c 123 -y

and I get an answer

Error closing handle: Incorrect descriptor

In Process Explorer I get a similar result.

My OS is Windows 7 and I have admin rights.

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,260 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.