Either launch it from c:\windows\system32\usrlogon.cmd or add it to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AppSetup. Both of those locations cause programs / scripts to run even if the user is launching published apps. _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Eilers, Lee Sent: Thursday, May 19, 2005 7:26 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Scripting I was afraid of that. I was hoping for a single point of execution, on the server, rather than on a per app basis. _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Henry Sieff Sent: Thursday, May 19, 2005 8:04 AM To: thin@xxxxxxxxxxxxx; thin@xxxxxxxxxxxxx Subject: [THIN] Re: Scripting Sure - create a .bat or .cmd which executes the application and runs your script and publish the .bat or .cmd. _____ From: thin-bounce@xxxxxxxxxxxxx on behalf of Eilers, Lee Sent: Thu 5/19/2005 6:50 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Scripting Is it possible to run a VBScript when using published applications? I want a script to run every time a published application is launched to record user, time, MF app launched from etc to a log file. I have wrote the script and used it to fire off every time someone logs into a desktop, but it does not fire off on published applications. Ideas? ******************************************************** This Weeks Sponsor: ThinPrint GmbH Now available: The new version .print Engine 6.2 with SSL encryption and certificate management. http://www.thinprint.com ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm