Download Disk Cleanup Manager for Windows Server 2012 R2 64 bit.*) Desktop Experience junk load contains a ton of unnecessary stuff like:
Download Disk Cleanup Manager for Windows Server 2008 R2 64 bit.
Just drop content of archive C:\ and that's it. Then you can run CleanMgr.exe and get the job done.
This assumes that you're using c:\Windows path as most are. If path is different, just drop cleanmgr.exe in system32 and the cleanmgr.exe.mui in en-US in system32 paths accordingly. Because system32 is in path, then you can just run cleanmgr.exe to clean up the system without first changing to system32 directory.
Again Microsoft has made everything really unnecessarily hard and complex. There are only bad ways of dealing without proper download link.
1) Follow complex instructions with super annoying long filenames, path and commands, which most likely won't work with Windows Server 2012 R2 64 bit version.
2) Install Desktop Experience package which contains load of junk. Isn't purpose of disk cleanup to get rid of that junk, not install more? Desktop Experience installs stuff like Ink and Handwriting Services, Media Foundation, which naturally are totally useless on average server. *
3) My solution? Provide as simple download link for needed software and install it in a seconds. Why isn't this provided by Microsoft? Note: This software is provided by Microsoft this isn't something I've crated software. This just alternate method of getting it installed much easier and without the bloat that comes with the official MS way.
MS Description for this application:
"You can use Disk Cleanup to reduce the number of unnecessary files on your drives, which can help your PC run faster. It can delete temporary files and system files, empty the Recycle Bin, and remove a variety of other items that you might no longer need. The option to cleanup updates helps reduce the size of the component store."
Wikipedia Description for this application:
"Disk Cleanup (cleanmgr.exe) is a computer maintenance utility included in Microsoft Windows designed to free up disk space on a computer's hard drive. The utility first searches and analyzes the hard drive for files that are no longer of any use, and then removes the unnecessary files. There are a number of different file categories that Disk Cleanup targets when performing the initial disk analysis"
KW: WinSxS, Disk Cleanup, Remove Junk, Purge, Compact, reduce disk space usage, winsxs consumes a lot of disk space, FAQ, Instructions, step by step, commands, without installing desktop experience, disk cleanup utility, enable, install, run, access, 2008r2, 2012r2.