Friday 8 April 2016

Kill a process in windows

There are occasions when normal means of stopping or undeleting a service cannot be done because of the "..cannot accept control messages at this time". I have previously showed away how to forcefully stop and delete such a service with the sc.exe program. But now even that didn´t work and the program was not shown as a running process.

I did however find the .exe program using the following command:

tasklist

It lists all running processes and services together with their process id (PID). By using the following command I could make sure the process is killed in its entirety:

taskkill /pid <processid> /f

The process will be killed and you could continue what you where doing.

No comments:

Post a Comment