Vignesh_E
Vignesh_E

Reputation: 167

How to kill process and process with PID could not be terminated. Access is denied

I use windows 10 so I try to kill the port this command

netstat -ano | findstr :8006

taskkill /PID 3984 /F

but I didn't kill the process. But it comes

ERROR: The process with PID 3984 could not be terminated.
Reason: Access is denied.

Upvotes: 8

Views: 18521

Answers (3)

Mahmoud Gado
Mahmoud Gado

Reputation: 1

Run your cmd as an administrator. worked with me..

Upvotes: 0

Tabish Khan
Tabish Khan

Reputation: 39

Run your cmd as an administrator. It will work.

Upvotes: 3

ankit
ankit

Reputation: 11

You can go to Internet Information Services(IIS) Manager. Click on Sites and stop the website running on the required port.

Upvotes: 1

Related Questions