none
Where is Cleanmgr.exe (aka Disk Cleanup tool); missing in Windows Server 2008?

    Question

  • I'm running RC0 of Windows Server 2008 and did not see Cleanmgr.exe in the System32 folder.  Does anyone know if this is being permanently removed?  Or is there an API that can be used to load this program?  We have help content that advises users to run the CleanMgr.exe tool and automatically tries to launch it.  But sadly, it is not there.

     

    Any suggestions appreciated.

    Thursday, October 04, 2007 3:44 PM

Answers

  • Hello Daniel,

     

    In windows server 2008 alot of windows features are not installed by default like (WM Player, Desktop Theme , Disk Cleanup or even a photo management software), I met this problem until I got the solution. simply, you just need to install a feature called " Desktop Experience". to install desktop experience, open Server Manager and choose Add feature, then select Desktop Experience to be installed.

     

    Friday, October 05, 2007 9:38 AM

All replies

  • Hello Daniel,

     

    In windows server 2008 alot of windows features are not installed by default like (WM Player, Desktop Theme , Disk Cleanup or even a photo management software), I met this problem until I got the solution. simply, you just need to install a feature called " Desktop Experience". to install desktop experience, open Server Manager and choose Add feature, then select Desktop Experience to be installed.

     

    Friday, October 05, 2007 9:38 AM
  • The Windows 2008 R2 install recommends you to run Disk Cleanup when you do not have enough diskfree for install. It would be nice if the 2008 R2 install added this hint.
    • Proposed as answer by filoupe Friday, September 07, 2012 6:43 AM
    Friday, October 09, 2009 9:28 AM
  • When I tried to run disk clean up utility after an upgrade from 2003 to 2008 Server it prompted me to run windows set up because it may heve been deleted! This definitely needs a re-think. Why on earth is this included as part of the desktop experience? Surely this is essential maintenance?? Anyway thanks for the info... Very Helpful...
    Friday, February 19, 2010 3:26 PM
  • Hello Daniel,

     

    In windows server 2008 alot of windows features are not installed by default like (WM Player, Desktop Theme , Disk Cleanup or even a photo management software), I met this problem until I got the solution. simply, you just need to install a feature called " Desktop Experience". to install desktop experience, open Server Manager and choose Add feature, then select Desktop Experience to be installed.

     

    hi Will I need to reboot the server after adding clean up feature?

     

    thans

    Tuesday, June 01, 2010 9:16 AM
  • hi Will I need to reboot the server after adding clean up feature?

     

    thans

    Yes, unfortunately to complete the installation the server requires a reboot which can be a little inconvenient.
    Tuesday, June 01, 2010 10:37 AM
  • Thanks. It solved my problem.
    Friday, June 11, 2010 11:50 AM
  • leave it to ms, that if you are out of space you have to install extra applications just to "help" fix the issue.

    so know matter what you have to clean it yourself to have the OS clean its temp files, folders, internet files and system dumps etc. Good note tho, its doesn't compress older files by default like older ms versions. what a performance killer.

    honestly this application is so small it should be there by default like defragment is.

    why does MS do stupid things like this... its just bites them in the @$$ afterwards to space a MB at the cost of 100's with media player, defender etc. sure i can manually do this myself but its so small 208KB.

     

     

    Tuesday, August 03, 2010 4:22 PM
  • Hi MadsK,

    My server is almost running out of disk space (100MB disk space left). And if I have to install the Desktop Experience, would you think it can fit in the required disk space for this installation? What is the disk space required to install this Desktop Experience? Or, is there a way that I can used directly the Disk Clean Up Tool without installing this Desktop Experience? Your reply is highly and very much appreciated. Thank you for your time. normanchiutan@yahoo.com.

    Thursday, August 19, 2010 4:32 AM
  • Hi,

    FYI you dont need to install the addtional features, the files are on your system drive and just need copying over.

    http://technet.microsoft.com/en-us/library/ff630161(WS.10).aspx

    Hope this helps!

    • Proposed as answer by Basty_ss Friday, August 20, 2010 1:38 PM
    Friday, August 20, 2010 1:36 PM
  • Thank u.....
    Thursday, September 23, 2010 10:01 PM
  • This is a bogus, and horrible move by Microsoft... Disk Cleanup is a system tool... as such it should be installed by default, and not hidden someplace DUMB like the "Desktop Experience"... Requiring a reboot for this too means I question ever more how M$ expects people to be able to run their servers in a production environment... "Oh sure, let me just reboot my primary fileserver in the middle of the day, it'll only affect roughly 300 users...."

    /wtf

    Tuesday, November 30, 2010 3:05 PM
  • Great now I have "Ink and Handwriting Services" when all I wanted to do was free up some space.  /wtf
    Saturday, December 11, 2010 8:34 AM
  • @ J_WILDE and EVH

    Re my post above, you do not need to install the additional features or reboot, just copy a couple of files:

    http://technet.microsoft.com/en-us/library/ff630161(WS.10).aspx

    Monday, December 13, 2010 2:38 PM
  • This reference contains an error: http://technet.microsoft.com/en-us/library/ff630161(WS.10).aspx

    Windows Server 2008

    64-bit

    C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe.mui

    Should Be:

    Windows Server 2008

    64-bit

    C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe

    Monday, July 04, 2011 6:44 AM
  • And same story in R2! Funny, that by default disk cleanup is not precent, while my system drive is full - I cannot even install any new features in this situation :D

    I managed to empty some logs and then install it, but still...

    • Proposed as answer by Ravi-Swan Sunday, November 24, 2013 6:55 AM
    Sunday, October 14, 2012 12:55 PM
  • Yannara,

    No need to install any features!

    http://technet.microsoft.com/en-us/library/ff630161(WS.10).aspx

    Monday, October 15, 2012 1:31 PM
  • Yannara,

    No need to install any features!

    <xmlns:texthelpns rwthpgen="1">http:</xmlns:texthelpns><xmlns:texthelpns rwthpgen="1">//technet.microsoft.com/en-us/library/ff630161(WS.10).aspx</xmlns:texthelpns>


    Wouldn't it be wonderful if you could apply this to Windows 2012r2..... but you can't!

    Chris

    Saturday, January 03, 2015 5:27 PM
  • Hi Chris,

    The C:\Windows\WinSxS files are compressed so a simple file copy won't work for Server 2012 R2 unfortunately. If you install the Desktop feature on another server you can copy the files to another 2012 R2 server though and it works fine.

    C:\Windows\System32\cleanmgr.exe

    C:\Windows\System32\en-US\cleanmgr.exe.mui

    C:\Windows\SysWOW64\cleanmgr.exe

    C:\Windows\SysWOW64\en-US\cleanmgr.exe.mui

    Cheers

    Ian

    Tuesday, January 06, 2015 12:48 PM
  • Operating System

    Architecture

    File Location

    Windows Server 2008 R2

    64-bit

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

    Windows Server 2008 R2

    64-bit

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

    Windows Server 2008

    64-bit

    C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_b9f50b71510436f2\cleanmgr.exe.mui

    Windows Server 2008

    64-bit

    C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe.mui

    Windows Server 2008

    32-bit

    C:\Windows\winsxs\x86_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_5dd66fed98a6c5bc\cleanmgr.exe.mui

    Windows Server 2008

    32-bit

    C:\Windows\winsxs\x86_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_6d4436615d8bd133\cleanmgr.exe

    Once you’ve located the files move them to the following locations:

    1. Cleanmgr.exe should go in %systemroot%\System32.
    2. Cleanmgr.exe.mui should go in %systemroot%\System32\en-US.

    You can now launch the Disk cleanup tool by running Cleanmgr.exe from the command prompt.

    Disk Cleanup can now be run by entering Cleanmgr.exe into a command prompt, or by clicking Start and typing Cleanmgr into the Search bar.

    • Proposed as answer by Saimon_SP Tuesday, August 11, 2015 6:55 PM
    Tuesday, August 11, 2015 6:55 PM