Link to home
Start Free TrialLog in
Avatar of snyperj
snyperjFlag for United States of America

asked on

Basic XenApp question

We have recently started connecting to servers at a remote office using Citrix XenApp version 11.  Some users use the program neighborhood desktop icon, some use the web client.

We have some Microsoft Access databases that create a folder for the current user when they run.  We use an executable that creates the folder named as the user (i.e. 'JSMITH") on the network folder that is created for every Citrix user which is 'W:\" in our scenario.

The executable (which is fired by the user when they want to open one of the access applications) always looks to see if the folder already exists, and if not, creates it, then opens the database that it drops inside of it...(the users 'front end' if you will...)

This usernamed- folder can really be thought of as something like a 'session' folder.  When the user logs out of Citrix, it is no longer really needed.  

Since it can be created each time, automatically, I am wondering if it makes sense to delete it at the end of the users session?  Some users may go weeks or months without using these databases....

So my questions is this:   is it possible to use a script to delete the users folder when they log off Citrix?  Is there a log off script like there is a login script for Windows?  As you can surely tell, I am not a network guy, so I am a novice in this area....   but I can write a vb script to delete the current users folder- just don't know how it would be triggered to run...

Thanks for any insight..
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

I can't speak for Citrix, but Windows has the abiliity to launch scripts at logoff.
ASKER CERTIFIED SOLUTION
Avatar of jdc1944
jdc1944
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hopefully your Citrix servers are in their own OU with their own Group Policies.  Just add a logoff script to delete the files and folder if they exist.
Avatar of snyperj

ASKER

ok, and when you say 'logoff script', that can be any kind of script?  In other words, if I provide our IT Dept with a simple .vbs script that deletes the user folder, they would be able to use that somehow, or does it need to be in some specific format?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of snyperj

ASKER

Thanks