Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running windows server 2003 and just uninstalled Exchange 2007 as we've moved to Gmail.

After a restart, I get warnings my system drive space is low, I hit it with WinDirStat and find that my NativeAssemblies folder is a whopping 7.9 GB, with a single file (mscorlib) taking up >7gb itself (This is almost 40% of my entire drive!).

How do I remove, shrink, or otherwise clean up this unexpectedly ballooned file? I can't find anybody that has had a similar issue.

I tried to clean up using NGen.exe, but I obviously don't have a good understanding of these files: I cannot uninstall NGen.exe for a massive list of dependencies, as well as the error "Error: The specified assembly is not installed"

I do not want to straight delete it, as my research indicates IIS uses some NativeAssemblies, and they are dependend on Mscorlib.

My winSxS folder is <150 mb (Some searches indicated this may be relevant data)

share|improve this question
It's Server 2003. You should reformat the server and put a modern OS on it, instead of wasting time messing around with an obsolete OS. – HopelessN00b Apr 3 '14 at 20:00
There is that... – mfinni Apr 3 '14 at 20:10
I agree. Unfortunately, my boss doesn't like writing checks for anything new until the old breaks quite permanently. And really, this is a .net issue, so the OS version shouldn't affect the actual issue much, I'd assume. – CTB Apr 3 '14 at 20:13
@CTB Is it possible to reformat the server and put a.... <shudder> fresh copy of Server 2003 on it? That would seem like the easiest solution, unless there's a bunch of other stuff installed on it. – HopelessN00b Apr 3 '14 at 20:21
Aye, that's genuinely possible. I was hoping I'd find a less time consuming solution though. It's a secondary DC/DNS server. I guess I come from a world where 10 years isn't really very old for a unit. – CTB Apr 3 '14 at 20:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.