RE: Listing processes and killing processes through command line in Windows

From: Anthony, Shayla (shayla@exchange.cis.pitt.edu)
Date: 01/29/03

  • Next message: MacFerrin, Ken: "RE: security scenario"
    Date: Wed, 29 Jan 2003 14:37:22 -0500
    From: "Anthony, Shayla" <shayla@exchange.cis.pitt.edu>
    To: <security-basics@securityfocus.com>
    

    The Windows NT Resource Kits, both NT4 and Windows 2000 Professional, include a remote kill process commandline utility rkill.exe . To be able to kill a process or processes running on a remote server, you must have admin privileges and the rkillsrv.exe service must be installed and running. There is also a gui version of the client tool, wrkill.
    Examples of commandline syntax :

    rkill view \\servername
    to get the process list on servername

    kill \\servername pid
    to kill process pid on servername

    rkill \\servername process.exe
    to kill a process by name on servername

    Shayla