My Profile Photo

An IT Engineer with a love for all things IT including (but not limited to), Microsoft Azure, Automation and Service Management!

Enabling Disk Cleanup in Windows Server 2008 R2

In Server 2008 and Server 2008 R2, Disk Cleanup is Disabled by default. This is how you can enable disk cleanup in Windows Server 2008 R2 – 64bit.

You can enable the Desktop Experience role (which requires a restart to complete) but the easiest way is to copy the files from the WinSXS directory to the relevant directories – as mentioned below

OS File Location
Windows Server 2008 R2 C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe
Windows Server 2008 R2 C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui
  1. Copy Cleanmgr.exe to %systemroot%\System32
  2. Copy Cleanmgr.exe.mui to %systemroot%\System32\en-US
  3. Run Cleanmgr.exe from an elevated Command Prompt

comments powered by Disqus