Windows Remote Process Kill
- June 3rd, 2015
- Posted in Documentation
- Write comment
Ever need to kill a process on a remote Windows computer that you can’t login to and the user is not there? Taskkill can help. I am not sure when this utility was introduced, but I would think it is on Windows 7. I did this from a Windows 8.1 machine.
You can do it by PID:
taskkill /S computernameORipaddress /u username /PID pidnumber
Or executable image name:
taskkill /S computernameORipaddress /u username /FI “IMAGENAME eq imagename”
Here is an example. This kills Outlook on a computer with an IP address of 10.10.10.10 using the Administrator account:
C:\>taskkill /S 10.10.10.10 /u Administrator /FI “IMAGENAME eq outlook.exe”
Type the password for administrator:********SUCCESS: The process with PID 2576 has been terminated.
No comments yet.