How to enable the Disk Clean Up tool on Windows Server 2008 (R2) without installing Desktop Experience

The Disk Clean Up tool is disabled by default in Windows Server 2008 (R2). Officially, to enable the tool we have to install the Desktop Experience which will also install a whole bunch of other tools and requires us to restart the server. There is another way to do that which is way more convenient:

1. Copy Cleanmgr.exe to %systemroot%\System32.

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

Find out the location of Cleanmgr.exe and Cleanmgr.exe.mui from the table below based on your OS version:


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

Now you can just run the Cleanmgr.exe command to open the Disk Clean Up tool without restarting the server.

Comments