Microsoft Disk Cleanup and Server 2008R2
Generally, the official method for installing the Microsoft Disk Cleanup utility requires that you install a Windows update (http://www.microsoft.com/en-us/download/details.aspx?id=42739) 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: http://support.microsoft.com/kb/2852386
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 (http://technet.microsoft.com/en-us/library/ff630161%28v=ws.10%29.aspx) after after reading the below post on Tom’s blog (http://www.toms-blog.com/installing-disk-clean-up-tool-in-windows-server-2008/). 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.
[ad#ad-post]