We had a problem with one of our systems and support made a registry change on the server. The problem was that then all of the client machines had to have their browser caches cleared as well as the java cache. This is all well and good, except we have ~2000 computers that this would need to be done on. so I found these couple of commands that seem to do the trick on windows and OS X respectively.
for Windows, i created a .bat file and made it a logon script for the OU containing the users that would access the affected system. The script contained two lines:
#Clear Java Cache javaws -Xclearcache -Xnosplash #Clear IE Cache RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
For OS X, we had the following three lines that we sent to the computers through Apple Remote Desktop once the users were logged in:
#Clear Java Cache javaws -Xclearcache -Xnosplash #Clear Safari Cache killall Safari open -a Safari
I couldn’t find anything for Firefox, so if anyone has commands that clear the cache from Firefox, please share.