Friday, September 14, 2012 6:19 AM
is there a way of stopping a service remotely? I am connected to serverA via rdp but I am unable to connect to server via rdp as there is a service listening on port 3389.
So from serverA I would like to know if it is possible to FIRTS of all find what service / PID is using port 3389 THEN kill the service FROM serverA
Friday, September 14, 2012 7:22 AM
You could do that in many ways, you could remotly connect to the server via computer management.
Or you could use psexec: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
Friday, September 14, 2012 8:15 AMor better, how can I use taskkill to kill a PID on a remote server? The server is 2008, I know the PID I need to kill but im not sure about the taskkill syntax and im not sure if this will work on a 2008 server?
Friday, September 14, 2012 8:30 AMI have now done this thank you
- Marked As Answer by hyperNoddy Friday, September 14, 2012 8:30 AM
Friday, September 14, 2012 9:36 AMtaskkill /PID xxxx /T
and it will work on server 2008
- Edited by Henrik_DahlMicrosoft Community Contributor Friday, September 14, 2012 9:37 AM