Here’s a quick way of getting disk cleanup on a Windows 2008 R2 server without having to install the Desktop Experience and having to restart the server.

Simply do the below

  • Navigate to C:Windowswinsxsamd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da
  • Copy cleanmgr.exe from the above location to %systemroot%System32
  • Navigate to C:Windowswinsxsamd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63
  • Copy cleanmgr.exe.mui from the above location to %systemroot%System32en-US

Then just run Cleanmgr.exe from command prompt and off you go!

About the author