travis' brain dump

Disk Cleanup Utility on Win 2008 R2

by on Jul.06, 2016, under Tech Stuff

Ok, so the convenience of using the disk cleanup utility is sometimes nice for a quick cleanup of service pack files, etc. But it’s missing on 2008 R2. What a pain.

Two ways to get this:

  1. Install the desktop experience. Not the best route as this installs all kinds of stuff you don’t want on your server but it works.
  2. Manually copy the files from that overgrown beast that is WinSxS (finally something it’s good for) and run the utility directly. (my preference)

To install, copy the following files to the correct destination:

  • cleanmgr.exe
    • copy from: c:\windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe
    • copy to: c:\windows\system32
  • cleanmgr.exe.mui
    • copy from: c:\windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui
    • copy to: c:\windows\system32\en-us
  • Install the following update:¬†https://support.microsoft.com/en-gb/kb/2852386 (reboot may be necessary)

 


Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!