Publish a wrapper script that starts your app, then closes it. That way, Windows is terminating your wrapper script. _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Joe Shonk Sent: Monday, March 07, 2005 1:22 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Logoff scripts... Hello, Does anyone know how to change the logoff process? It seems that W2k3 terminates the applications then runs the logoff script. I need to run a logoff script first in order to shutdown an application in the proper order. If I let W2k3 terminate the application, it shutdown incorrectly. Any ideas? Joe