Solved

clearing large java cache from user profiles

Posted on 2008-10-27
5
1,467 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
  • 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now