Between our many clients and the thin community, I’ve been given a lot of challenges so far this year. Following hot on the heals of TSKaaSplat, TSKaapop, and TSKaapow, the house of Ctrl-Alt-Del IT Consultancy is proud to offer another freeware utility that should be of use to everyone.
TSRunLogoff is the latest edition to the CAD Util Pack and it allows you to run an application and then a logoff script through one command.
As always download it from here: http://www.ctrl-alt-del.com.au/CAD_TSUtils.htm
TSRunLogoff is a command-line utility to run a single application from one command with the additional function to run a logoff script upon exiting the initial application.
This utility was written to allow a single call to launch an application in its own process, and on closing that application, a logoff script is executed to perform additional clean up tasks or post application processes. TSRunLogoff with its parameters can exist as a shortcut on the desktop, can be run in a script, or published as a single application. TSRunLogoff will work as a
Seamless Published application in a Citrix environment. If single applications are launched via TSRunLogoff in a Seamless environment, the session will close after it has completed the processing of the logoff script as defined in the command line.
TSRunLogoff does not require a special logoff command in the provided script. On closing of the initial application, the provided script will run in a hidden state and the user is presented with a small status window, identifying that the logoff process is underway. On completion of the script, the session will be logged off.
TSRunLogoff [[PATH][Application] [[PATH][Scriptname].] [/?]
PATH - Path to the Application
Application - Application Executable
PATH - Path to the script
Scriptname - Script executable - can be .bat,.cmd, or any executable process.
/? - Show this help file
TSRunLogoff without parameters will display this help file.
NOTE: If a PATH or Application does not exist, TSRunLogoff will
terminate at that point. The first parameter must be the initial
application to run.
E.G. TSRunLogoff "c:\Program Files\Office11\EXCEL.EXE" myscript.cmd
This command will launch MS Excel. When MS Excel is closedby the user, the system will then run myscript.cmd until complete and finally logoff the session.
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 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 made
every effort possible to ensure that TSRunLogoff is free of any bugs or errors,
however in no way is TSRunLogoff 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 TSRunLogoff.
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
Ctrl-Alt-Del IT Consultancy Pty Ltd