• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 967
  • Last Modified:

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?




0
bankadmin
Asked:
bankadmin
  • 4
  • 2
1 Solution
 
enriquecadalsoCommented:
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.
0
 
bankadminAuthor Commented:
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.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
bankadminAuthor Commented:
I have applied the GPO. I will let it run until tomorrow and I will let you know how it works.

Thnaks
0
 
BLipmanCommented:
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).  
0
 
bankadminAuthor Commented:
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.
0
 
bankadminAuthor Commented:
I have seen a consistant shrinking in size of the temp. internet files since making the change..

THanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now