The point is, "he wants the user to be logged out when the process stops", not "he wants the process to stop when the user logs out". ________________________________ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Greg Reese Sent: Thursday, May 08, 2008 3:36 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: So here is what I want to do... there is a reg key provided by Citrix to auto terminate processes that stay running and stick sessions. On Thu, May 8, 2008 at 3:26 PM, Mike Hancock <MHancock@xxxxxxx> wrote: I did try launchit from tmurgent and it still hangs since there is two apps running. Launchit.exe just makes sure that all processes are cleaned up after the logout process starts. I need something one step before that. Some days, I just hate computers. Sigh..... Mike From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Kenzig Sent: Thursday, May 08, 2008 1:45 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: So here is what I want to do... No look over on Tim Mangans site http://www.tmurgent.com <http://www.tmurgent.com/> for Launchit http://www.tmurgent.com/download/LaunchIt.zip On Thu, May 8, 2008 at 2:15 PM, TSguy92 Lan <tsguy92@xxxxxxxxx> wrote: I seem to recall reading a while back about a freeware utility that when it was used to launch applications it would watch for any processes that were opened, and close out extraneous processes when the main app was closed. . forgetting the name though, something like "launchme" or "launchthis". Can't seem to find it now, anyone else remember this utility . . or am I just loosing it..? Lan On Wed, May 7, 2008 at 11:47 AM, Mike Hancock <MHancock@xxxxxxx> wrote: Could something like this work: do While ThereAreWindows() wscript.sleep 1 wend loop logoutuser() something like that. the sleep allows the script to be put on hold and not consume resources. -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Hancock Sent: Wednesday, May 07, 2008 11:19 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: So here is what I want to do... We sorta tried this tactic with another problem before and the overhead on the "monitoring" of the exe is quite large since you are launching a "monitor" per user. 30 or 40 "monitors" brings a terminal server to its knees quickly. Mike -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Wood Sent: Wednesday, May 07, 2008 11:06 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: So here is what I want to do... On startup, launch a .vbs/shell script - script launches IE and monitors for the .exe running. When the .exe is terminated (i.e. it was running, but isn't running anymore), vbs script runs logoff.exe which logs the user off. -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Hancock Sent: 07 May 2008 16:35 To: thin@xxxxxxxxxxxxx Subject: [THIN] So here is what I want to do... I have an application that likes Citrix as long as it is running in a full desktop. If I publish it as a seamless app then it gets buggy (lock ups, strange GUI errors, etc...) and is not "supported" by the vendor. I want to publish a full desktop, automatically launch the app, and then gracefully logout of the desktop when the app is closed without the end user having to manually logout. I have everything worked out except the last step. To add a twist, the app is launched with Internet Explorer and then opens the rich client portion of the .exe. So, not only do I need a way to monitor when the app is closed, I have to close out the IE instance that is left open by the application launch. The app is GE's Centricity 2006 (CPS06). I am running Citrix 4.5 on all 2003 servers with a web front end only. (This is offered as an ASP to remote users.) Any thoughts? Mike Hancock ************************************************ For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: //www.freelists.org/list/thin ************************************************ ************************************************ For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: //www.freelists.org/list/thin ************************************************ ************************************************ For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: //www.freelists.org/list/thin ************************************************ ************************************************ For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: //www.freelists.org/list/thin ************************************************ -- Jim Kenzig Microsoft MVP - Terminal Services Citrix Technology Professional Blog: http://www.techblink.com This message and any attachments may be a confidential attorney-client communication or otherwise be privileged and confidential. If you are not the intended recipient, any review, distribution or copying of this transmittal is prohibited. If you have received this transmittal in error, please reply by e-mail and delete this message and all attachments