Wednesday, June 1, 2016

Kill Windows service based on the PID



Find the Service Name:


Find the PID

c:\>sc queryex "JbossSS"


Kill the service with the PID:
open cmd and run as admin.. then run taskkill with the PID

c:\>taskkill /F /PID <<4024>>

---------------------------------------------------------------
Reference:
http://www.dba-oracle.com/t_windows_kill_service_sc_queryx_taskkill.htm

1 comment:

Nina Athena said...

Thank you for sharing your thoughts and knowledge on this topic. This is really helpful and informative, as this gave me more insight to create more ideas and solutions for my plan. I would love to see more updates from you.

Web Developer Melbourne