Wednesday, January 28, 2009

Download Pick: TSKaasplat - Close and clean processes after exiting Citrix or Terminal Server Session

Warren Simondson at Ctrl-Alt-Del has come up with another brilliant utility to solve an issue that one user was having on the Thin List.

TSKaasplat is a command-line utility to run a single application from onecommand with the further ability to close other given processes on exitingthe initial application.

It can be download from

This utility was written to allow a single call to launch an applicationin its own process, and on closing that application, other processes within the same sessions, as specified in the command line, can be terminated simutaneously.

TSKaasplat with its parameters can exist as a shortcut on the desktop, can be run in a script, or published as a single application.

TSKaasplat will work as a Seamless Published application in a Citrix environment. If single applications are launched via TSKaasplat in a Seamless environment, the session will close after it has terminated the given processes as listed in the command line.If for example, notepad.exe is launched via TSKaasplat as the first parameter, and calc.exe and excel.exe are listed as processes to be terminated upon notepad.exe closing, then when the user closes notepad in the normal fashion, calc and excel will be terminated. If this command was presented
as a published application in Citrix or directly called from a TerminalServices Client, then the session will also close.

Usage: TSKaasplat [[PATH][Application] [Processname *] ...] [/?]

PATH - Path to the Application
Application - Application Executable
Processname - Process name to kill on exiting the application.
* - Kill all session processes on exiting the application and logoff.
/? - Show this help fileTSKaasplat without parameters will display this help file.

NOTE: If a PATH or Application does not exist, TSKaasplat willt erminate at that point.

The first parameter must be the initial application to run.E.G.

TSKaasplat "c:\Program Files\Office11\EXCEL.EXE" notepad.exe calc.exe

This command will launch MS Excel. When MS Excel is closedby the user, the system will then look for any processes of notepad.exe and calc.exe running in the same session and terminate them if they exist.
E.G. TSKaasplat "c:\Program Files\Office11\EXCEL.EXE" *

This command will launch MS Excel. When MS Excel is closed by the user, the system will then look for any other processesrunning in that session, terminate them and logoff the session

This utility is FREEWARE and was written by Warren Simondson ofCtrl-Alt-Del IT Consultancy, Australia.

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 the following platforms:
Windows 2008 Server
Windows 2003 Server SP1 w/ Citrix PS 4.0/ XA 5.0
Windows 2003 Server SP1 (Terminal Server Application Mode)
Windows 2000 Server SP4 w/ Citrix MF XP
Windows 2000 Server SP4 (Terminal Server Application Mode)
Windows 2000 Server SP4 w/ Citrix MF 1.8

The freeware version is offered AS IS. Ctrl-Alt-Del IT Consultancy has madeevery effort possible to ensure that TSKaasplat is free of any bugs or errors,however in no way is TSKaasplat to be considered error or bug free.

You assume all responsibility for any damages or lost data that may resultfrom any errors or bugs in TSKaasplat.

No comments: