Link to home
Start Free TrialLog in
Avatar of bankadmin
bankadminFlag for United States of America

asked on

Trying to delete all temporary internet files on citrix servers

All Servers are 2003 SP1, citirx presentation server 4.0..

What Im trying to do is write a script that will delete everything located in content.ie5 folder in there citrix profile when a user logs on or off Ive tried both ways. Here is the line in the logon script.
del "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\Content.IE5\*.*" /s /f /q
It works in the logon script when I sign on a desktop PC. But when I launch a citrix desktop it doesnt. It states the file can not be found. I verified that the path is correct. I have also tried the Policy in AD to do the same thing and it doesnt work in citrix either. Any ideas?




Avatar of enriquecadalso
enriquecadalso
Flag of Colombia image

You can configure the IE to clear the cache when the browser is closed. In the options, advanced tab, in Security section.

Also you can install a cleaner like http://www.ccleaner.com/ and run it at startup.
Avatar of bankadmin

ASKER

I have 3 citrix server with about 100 users. Is there a way to make that setting change across the board instead of doing on a per user basis.
ASKER CERTIFIED SOLUTION
Avatar of enriquecadalso
enriquecadalso
Flag of Colombia 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
I have applied the GPO. I will let it run until tomorrow and I will let you know how it works.

Thnaks
If you end up using a script, you may want to call %userprofile% instead of %username%.  Sometimes the profile folder used is not an exact match to the username (like with a local and a domain user of the same name, one gets extra stuff appended to the folder name).  
thanks for the advice BLipman. Im waiting until Monday so i can compare sizes on the content.ie5 folders
to see if the GP deletes the temp files. If that doesnt work I will definatly try your suggestion.
I have seen a consistant shrinking in size of the temp. internet files since making the change..

THanks