TSProKil is a command-line utility to Terminate named processes that have been running for a prescribed period of time. (Default 60 minutes) This utility was written for the purpose of terminating user processes that run in a VDI or TS/ RDS session for a long period of time. Specifically, processes such as Internet Browsers, which use valuable system resources, are often left on by end users, creating system bloat. By running this tool at regular intervals, Internet Browsers that have been running for more than the prescribed time can be terminated, returning those resources back to the environment This tool could be simply run from the command line at any time, or added as a SCHEDULED TASK for regular termination of named processes, reducing the overall resource usage for the server environment. TSProKil will only function when executed by a user with ADMIN rights. Usage: TSProKil [/Process:] [/Runtime:] [/LIST] [/?] /Process: - Terminate any instance of the named process. The processname must be the complete executable name such as MyApp.exe. /Runtime: - Terminate named process based on running time in minutes (Default: 60 minutes) /LIST - List all running processes and running times. /? - show this help file TSProKil with no parameters lists the help information. E.G. TSProKil /LIST This command will list all running processes and running times. E.G. TSProKil /PROCESS:MyApp.exe This command will terminate any instance MyApp.exe that has been running for 60 minutes or more (Default). E.G. TSProKil /PROCESS:MyApp.exe /RUNTIME:180 This command will terminate any instance MyApp.exe that has been running for 180 minutes or more. The program returns a list of the running processes and those terminated. To store the output run the following command: TSProKil.EXE [options]>TSProKil.txt This utility is FREEWARE and was written by Warren Simondson of Ctrl-Alt-Del IT Consultancy, Australia. www.ctrl-alt-del.com.au Although written for Terminal Server and Citrix environments, this application will function on non-TS/Citrix workstations and servers. This application has been tested on all Windows platforms: The freeware version is offered AS IS. Ctrl-Alt-Del IT Consultancy has made every effort possible to ensure that TSProKil is free of any bugs or errors, however in no way is TSProKil to be considered error or bug free. You assume all responsibility for any damages or lost data that may result from any errors or bugs in TSProKil. IN NO EVENT WILL CTRL-ALT-DEL IT CONSULTANCY BE LIABLE TO YOU FOR ANY GENERAL, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR OTHER DAMAGES ARISING OUT OF THIS PRODUCT.