Where is cleanmgr for server 2008 R2

Saturday, November 24th, 2012

I had a case of a drive filling up with nothing significant to delete and of course everybody needed everything. I decided to run disk cleanup to see if I could at least compress old files.

I entered:  cleanmgr

I was rewarded with a file not found message.

It turns out the Desktop Cleanup utility is not a default install with 2008. There are two ways you can install it.

The first would be to install the Desktop Experience feature which adds other missing desktop features. The problem with this approach is the system will need a reboot to finish the install.

The second would be to simply copy a couple files to appropriate locations.

Look in the winsxs folder for the following:

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui

Simply copy:

Cleanmgr.exe to %systemroot%\System32

Cleanmgr.exe.mui to %systemroot%\System32\en-US

Now cleanmgr will function as expected.

This technote helped with the second option.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: