Solved

clearing large java cache from user profiles

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Event ID: 1008 / Source: Microsoft-Windows-Perflib 2 194
Event ID: 5719 / Source: NETLOGON 9 146
Microsoft License Verification Process?? 12 631
ost file to pst 10 164
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

856 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