[THIN] Download Pick of the week: New download on thethin.net WTSLAUNCH Utility

  • From: "Jim Kenzig http://thethin.net" <jimkenz@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>, <citrixse@xxxxxxxxxxxxxxx>
  • Date: Mon, 18 Nov 2002 08:15:35 -0500

This one comes compliments of and thanks to Emergent Online at
http://www.go-eol.com
It is a solution for when published apps do not disconnect their sessions
properly and ddhelp remains open.
The utility is at http://thethin.net/wtslaunch.zip More info is below from
Peter Ghostine.
Enjoy
Jim Kenzig
http://thethin.net

-----Original Message-----
From: Peter Ghostine [mailto:pghostine@xxxxxxxxxx]
Sent: Monday, November 18, 2002 12:47 AM
To: jimkenz@xxxxxxxxxxxxxx
Subject: FW: WTSLAUNCH Utility


I'm sending you this utility because I have encountered several postings on
the list pertaining to ddhelp.exe.

-----Original Message-----
From: Peter Ghostine
Sent: Monday, November 18, 2002 12:46 AM
To: EOL Engineers
Subject: WTSLAUNCH Utility


I finished writing this utility for two separate customers who have reported
the same inadequacy when closing a published app. It appears that in certain
situations, an app would spawn another process which, upon closing the
published app, continues to run in memory. This spawned process is often
invisible (no user interface), leading the user to believe that they have
already logged off. Instead, the session remains active even though there is
no visible user interface.

Upon shutting down the client PC, the session gets disconnected. Subesequent
reconnections to such disconnected session often leads the user to believe
that they have failed to log on. The fact is that they were indeed able to
log on, but only to a disconnected session with no visible windows. Under
MetaFrame XP, the problem isn't as bad since Citrix seems to go through the
trouble of verifying that the executable associated with the launched
published app is actually running inside the session that the user has
reconnected to. Otherwise, the process is automatically spawned.

Nevertheless, with both MF 1.8 and XP, this leads to an accumulation of
disconnected sessions.

Example:

User launches Loan Mortgage application which in turn calls ddhelp.exe
(DirectDraw Helper). When Loan Mortgage application is closed, ddhelp.exe
remains loaded in memory. The session never logs off because the process is
still running. Upon shutting down the PC, the session gets disconnected. A
subsequent logon attempt causes the user to reconnect to the disconnected
session with no visible UI components.

WTSLaunch.exe is a publishable application that reads an associated ini file
(wtslaunch.ini) to launch a particular application, wait for it to close,
and finally kill and undesirable remnants. Below is an example of such ini
file. A Readme.txt is provided inside the zip file.

[Properties]
AppFullPath=c:\program files\LoanApp\loanapp.exe
AppParam=
AppWorkDir=c:\program files\LoanApp
TerminateProcess=ddhelp.exe
WindowState=1
AppInstance=1

Peter

*********************************************** 
This Weeks Sponsor: Wyse Technologies
Get a free whitepaper on how to secure
your corporate data from Wyse. Click Below. 
http://thethin.net/wyse.cfm 
*********************************************** 
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts: