Wednesday, July 20, 2011

Getting windows service name and Killing a windows service

taskkill /PID <PID> /F <Force if required>

#To know the PID for a windows service:

sc queryex <Service Name>

No comments:

Post a Comment