Taskkill application or service

Admin command prompt

taskkill /IM <executable name>
E.G taskkill /IM mspaint.exe

Forcibly kill task by including /F

To find a services PID you run

sc queryex

Find the service name by locating it in service, right clicking and selecting properties.

To use the PID to kill the task you use the following command

taskkill /PID <PID> /F

Leave a Reply