Using Disk Cleanup in Windows Server 2008 R2

If you ever have a need to run Disk Cleanup to free up space in Windows Server 2008 R2 then don’t be surprised when you can’t find it! It is actually installed as part of the Desktop Experience feature. So what if you don’t want to add this feature to your server but do want to be able to access and use Disk Cleanup? Simple – the necessary files are present on the file system, and so you just need to copy them to the correct locations.

Follow these steps:

1. Move cleanmgr.exe from

%systemroot%\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da

to

%systemroot%\System32

2. Move cleanmgr.exe.mui from

%systemroot%\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63

to

%systemroot%\System32\en-US

Now you should be able to fire up Disk Cleanup from the command prompt by typing cleanmgr.exe. Or if you prefer via the search bar in the start menu by typing cleanmgr.

This entry was posted in Tips and Tricks and tagged . Bookmark the permalink.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>