If I understand you correctly, you want to initiate a script on the client (your local desktop) that closes your published app? If so, I can't think of a simple way to do it.The logoff command needs to be initiated from the ICA session, so if you're running a published app, like Word, you don't have a mechanism for initiating the command. If it was always Word, or another Office app, you could have a macro that calls logoff.exe, but that doesn't help you if the published app doesn't provide a way to run commands external to the app itself. Possibly you could use a scripting language to control the ICA client, but off the top of my head, I couldn't tell you how to do it. I thought you might be able to do it by publishing logoff.exe, but that only logs off the logoff.exe session. _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Cannon Sent: Sunday, 25 July 2004 12:44 p.m. To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Logoff of ICA Session I am talking about the client side..If I open an ICA session to say Word on my desktop (seamless session not a desktop - Sorry that makes a big difference).I am looking for a command to logoff the session from a script...Thanks! _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Frank Monroe Sent: Saturday, July 24, 2004 4:41 PM To: 'thin@xxxxxxxxxxxxx' Subject: [THIN] Re: Logoff of ICA Session or just use logoff -----Original Message----- From: Jeff Durbin [mailto:techlists@xxxxxxxxxxxxx] Sent: Thursday, July 22, 2004 10:59 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Logoff of ICA Session logoff sessionname or logoff sessionid If the script is running on the client, use: logoff %sessionname% which uses the sessionname environment variable to supply the needed argument. JD _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Cannon Sent: Friday, 23 July 2004 11:03 a.m. To: thin@xxxxxxxxxxxxx Subject: [THIN] Logoff of ICA Session Does anyone know if there is a way to logoff a Citrix application gracefully from a command line and from the client.....I have a script for a software installation on a workstation to install the ICA Client Upgrade and to install the Tricerat Simplified Printing Driver...I check for any active sessions prior to beginning and would like to log the user off after a few dialog warnings...Anyone know of a way to do this???? I can kill wfica32.exe but would rather not......