Graeme Bray

Real World Automation and Deployment

Windows Server 2008 R2 Disk Cleanup

leave a comment »

I’ve been reading a lot of posts on /R/PowerShell and /R/Sysadmin in regards to the cleanmgr.exe and cleanmgr.exe.mui copy methods to perform a disk cleanup on Server 2008 R2.


Three things I continually post, which is really driving me crazy.


This method is not supported by Microsoft.

This post specifically says that it is not supported.  Here, I’ll paste the text.  There is automation already created, by a Microsoft employee

Update May 15th, 2014

We are aware of a method of copying in the appropriate Disk Cleanup/CleanMgr files into the appropriate location to avoid installing the Desktop Experience. If this were a tested and supported option, we certainly would have included these details in this post and definitely would have used this method to automate the cleanup. However, it was determined early on that this method would not be supported. If you decide to do this, do so at your own risk.


Secondly, If you are resorting to doing this method of copying, why is it that difficult to get a 1 hour maintenance window to perform this work?  You should be patching your system, which takes an outage.  Why do you not perform this work at the same time as patching, if required?


Thirdly, if you are working on a VM, why do you not perform an expansion on the C: drive?  We’ve moved from 25 GB C:, to 35 GB C:, to 40 GB C:, then 50 GB C: drives on our 2008/2012 boxes.  We perform a weekly audit of our systems that reports C: drive size, C: drive used, and perform pro-active expansions.


I’d love to hear why people are adamant about performing non-supported methods to perform disk cleanups.


Written by Graeme

February 20, 2016 at 9:08 PM

Posted in Uncategorized

Tagged with ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: