It’s necessary from time to time to clean the disc on your computer and we mostly use disk cleanup tool to do this. Many forget that it’s good to do this on Windows Servers as well.
Tool remove the unnecessary files such as files from the service packs, from the temporary folder, the Recycle Bin, unnecessary old files, etc. Since the Windows version 2008 that tool is no longer included automatically, but you have to additionally install.
Disk Cleanup Windows Server 2008/2012
Actually, this tool is not easy to find because it’s hidden in the Desktop Experience feature. Moreover, it’s not recommended installing this feature, as it installs a bunch of additional accessories that you really do not need when working with servers; desktop themes are included and even rebooting required. This we want to do less often on servers.
Another option is to copy 2 files cleanmgr.exe and cleanmgr.exe mui allowing you immediate use of tools:
cleanmgr.exe
Copy from %systemroot%winsxsamd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da
to % systemroot%system32
cleanmgr.exe mui
Copy from %systemroot%winsxsamd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63
to % systemroot%system32en-US
After doing that just start the tool cleanmgr.exe and cleaning old and unnecessary files starts.
