Saturday 14 March 2015

How to Remotely View and Kill Processes

I am used to killing local processes via the command line using the taskkill command. There's a few ways to use it but my favored is to use the name of the process because often there are multiple instances and if you run this command repeatedly within a few seconds, you will kill them all:

taskkill /f /im nameoftheprocess.exe

If you want to do that remotely then you need the /s switch

e.g.

taskkill /s remoteservername /f /im msiexec.exe

In the above example, I'm killing the Windows installer process on a remote server.

You can read more here:

How to kill process on remote computer? - Windows Command Line

No comments:

Post a Comment

Popular Posts