c# stop/terminate/taskkill windows service

in cmd


sc queryex servicename

From the results of this query, jot down the PID.


taskkill /f /pid [PID]

No comments:

Post a Comment

Note: only a member of this blog may post a comment.