View and Kill Processes on Remote Computers
You will have to take the help of tasklist.exe and taskkill.exe. Both tasklist.exe and taskkill.exe (executables) can be found in %SYSTEMROOT%\System32 (typically C:\WINDOWS\System32) directory.Syntax for tasklist commandtasklist.exe /S SYSTEM /U USERNAME /P PASSWORDTo execute, click on Start > Run… and in the Run window type cmd to open a command prompt. Then type the tasklist command as shown above, substituting SYSTEM for the remote computer you want to view processes, USERNAME and PASSWORD with an account/password on the remote Computer.(NOTE: if you are in a Domain environment and have Administrator rights to the remote Computer, you will may not need to specify a Username and Password) Now if there was a process that needed to be killed, you can use the taskill command. As with tasklist, you will also need the Username and Password on the remote Computer.Syntax for taskkill commandtaskkill.exe /S SYSTEM /U USERNAME /P PASSWORD /IM PROCESSWhere SYSTEM, USERNAME, PASSWORD is the same as above for the tasklist command, and IM is the process image name you want to kill.You can also kill a process using the PID (Process ID) of the process.taskkill.exe /S SYSTEM /U USERNAME /P PASSWORD /PID PROCESS_IDIf the process does not terminate, you can also use /F to forcefully terminate the process.taskkill.exe /S SYSTEM /U USERNAME /P PASSWORD /IM PROCESS /Ftaskkill.exe /S SYSTEM /U USERNAME /P PASSWORD /PID PROCESS_ID /F |