Solved

clearing large java cache from user profiles

Posted on 2008-10-27
5
1,599 Views
Last Modified: 2010-08-22
We are running two Windows 2003 R2 sp2 servers as Terminal Servers for a call center.   We are not using Terminal Server Profiles, but rather the regular profile settings in the Users Active Directory attributes.  There are around 200 profiles.   The company has a pretty easy Internet Use policy while people are between calls (picture people sitting around something like a firehouse waiting for the fire alarm to go off).   As a result in each users profile in Application Data\Sun\Java\Deployment\cache\  there are subfolders that are building up in size.   It is clearly a result of large amounts of web browsing.
All of this leads to ever increasing log on times.

Changing the settings in the Java Control panel just seems to effect the user logged on so doing anything as administrator doesn't help.   Does any one have a strategy for clearing this cache on logoff?  Or, perhaps limiting the size of these subfolders?
0
Comment
Question by:Dgreenbaum
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 22818604
Well you could write a simple batch file to delete this directory and all subfolder in it by using the rmdir cmd.

rmdir {directory} /S /Q

I would take a read of the rmdir help file with /? because the /S command deletes the starting directory as well. So you may need to make the batch file a few lines.
0
 
LVL 23

Expert Comment

by:Malli Boppe
ID: 22819357
I would say create a script to delete the cache files every night.
0
 

Author Comment

by:Dgreenbaum
ID: 22823160
Thanks, I'll look into these suggestions.
0
 

Author Comment

by:Dgreenbaum
ID: 22846152
I'll look into writing a script that can go into a profiles folder and delete a subfolder in the Application Data folder in each of the users profile folders.   Any ideas on this type of scripting?
0
 
LVL 23

Accepted Solution

by:
Malli Boppe earned 500 total points
ID: 22846217
You might want to look at this tool.If want any more help let me know I cn provide you teh script.
http://technet.microsoft.com/en-us/library/cc753551.aspx 
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Know what services you can and cannot, should and should not combine on your server.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question