Disk space filling up on Web Front End servers

I have several web front end servers in a SharePoint 2013 farm and disk space on the C: drive seems to get eaten quite quickly.  By using TreeSize I was able to locate a temporary folder used by IE that contained in excess of 130,000 JavaScript and icon files totalling nearly 15GB:

C:\Windows\SysWOW64\Config\SystemProfile\AppData\Local\Microsoft\Windows\INetCache\IE

After some investigation I determined that these files were getting created each time my warm up script ran.  I’m using SPBestWarmup by Jeff Jones which contains a section for clearing up these files.  However, the locations in the script were different.  To fix this I simply changed the locations to remove temporary files from:

$env:systemroot\system32\config\systemprofile\appdata\local\Microsoft\windows\temporary internet files\content.ie5\*.*
$env:systemroot\syswow64\config\systemprofile\appdata\local\Microsoft\windows\temporary internet files\content.ie5\*.*

to:

$env:systemroot\System32\Config\SystemProfile\AppData\Local\Microsoft\Windows\INetCache\IE\*.*
$env:systemroot\SysWOW64\Config\SystemProfile\AppData\Local\Microsoft\Windows\INetCache\IE\*.*

The next time the script ran the folder was emptied.

[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]