Windows\Assembly\tmp folder is using all the disk space - Windows 2008 R2

Hi All

I have a Win 2k8 R2 server which has run out of disk space.

I investigated the problem and found that of the 160GB of disk space over 132GB of disk space was being used for C:\Windows\Assembly\tmp

I used a product called Treesize to identify what was eating all the disk space, I realized that the disk space was being eaten up by the Microsoft Small Business server client connector constantly updating the server Assembly with updates that kept failing.

I un-installed the client connector and now the disk space has stopped filing, which is a relief.

I've read in a couple of places that the tmp directory should be "self cleaning" but it's not and the server is down to its last 500MB.

I've also read that by using the  gacutil.exe it should clear the tmp cache. I tried that and ran it and it said the cache had been cleared but when I look the tmp directory is still 132GB full.

When you use Windows Explorer to view this directory it's not visible which is most annoying as you could say "open the directory, select All and hit Delete" but the tmp directory is not visible, even if you set "hide operating system files" to off.

Can any tell me how to clear this directory as the server is very sluggish now it's down to its last 1% of disk space.

Many thanks
SquezzyAsked:
Who is Participating?
 
BxozConnect With a Mentor Commented:
Hello,

You can go to the C:\Windows\Assembly\tmp with Windows Explorer just like that

1. In console, type "cd /d c:\Windows\assembly
2. Type: "attrib -r -h -s desktop.ini"
3. Type "ren desktop.ini desktop.bak"

Open in new window

0
 
SquezzyAuthor Commented:
Awesome, that's exactly what I was looking for :)

Many thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.