Reputation: 1175
I have two machines (both windows xp): a Server S and a Client C. I also have the server username (SU), server password (PS) and Server IP (SIP). Suppose I know a process ID (SPID) running on the server.
Please from the client, How can I kill that process on the server ? Running something like the following:
client > target= SPID , target name= SU, target password= PS , command= taskkill /PID SPID
Upvotes: 0
Views: 910
Reputation: 3464
Maybe you could do that via Windows Scripting Host (WSH) which supported remote execution. See Setting up Remote WSH. The article contains a link to examples. (You may need to use the WshShell object to invoke taskkill from your remote script.)
Upvotes: 1