How to use cleanmgr.exe on a Windows server 2008 R2. To do this you need to to the following.
Go to a server where you have enabled Desktop Experience ( for example Terminal Server (RDS))
Locate the following files.
cleanmgr.exe and cleanmgr.exe.mui
Cleanmgr.exe you can find in the following folder C:\Windows\system32
Cleanmgr.exe.mui you can find in the follwoing folder C:\Windows\System32\en-US
Copy these files to a server where you haven’t enabled the Desktop Experience and copy them to to the located folders.
By this action you can use Disk Cleanup on a server without Desktop Experience.