Microsoft Disk Cleanup and Server 2008R2


Generally, the official method for installing the Microsoft Disk Cleanup utility requires that you install a Windows update ( and the enable “Desktop Experience”. This requires a reboot. This method does enable the cleanup tool application (start -> all programs -> accessories -> system tools -> Disk Cleanup) and enables the Disk Cleanup button on the General tab of a disk properties in explorer. You can find the official method here:

I only needed the utility…quickly, since I’m constantly having to clean my Windows 2008R2 server’s hard drives due to the C:\Windows\winsxs directory taking over my hard drive, which the Disk Cleanup utility will purge for you.

I just found this technet article ( after after reading the below post on Tom’s blog ( Both of these articles showed how to extract the diskmgr,exe and diskmgr.exe.mui from one of the following directories and putting them in the following:


  • Cleanmgr.exe should go in %systemroot%\System32.
  • Cleanmgr.exe.mui should go in %systemroot%\System32\en-US.
Operating System Architecture File Location
Windows Server 2008 R2 64-bit C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe
Windows Server 2008 R2 64-bit C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui
Windows Server 2008 64-bit C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_b9f50b71510436f2\cleanmgr.exe.mui
Windows Server 2008 64-bit C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe.mui
Windows Server 2008 32-bit C:\Windows\winsxs\x86_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_5dd66fed98a6c5bc\cleanmgr.exe.mui
Windows Server 2008 32-bit C:\Windows\winsxs\x86_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_6d4436615d8bd133\cleanmgr.exe

After doing the above, you can now launch Disk Cleanup by running Cleanmgr.exe in the run box. This is awesome. I hope it helps others, too. Thanks Tom and technet.



Add a Comment

Your email address will not be published. Required fields are marked *