Missing disk cleanup utility in Windows Server “Fix”

Posted on 03/12/2013 · Posted in Development, Microsoft

Microsoft has for some reason left Disk Cleanup utility as a Desktop Experience component in the previous Windows Server 20xx editions which has made quite a few of us sad, me included. Made a quick script to make my life quite a lot easier as the files are available but not just in the right place. This simple fix will copy the disk cleanup required files to the correct location. There’s no need to install the Desktop Experience package to the server, there are no required DLL’s included or any registry edits.

Currently supported Operating Systems:

  • Windows Server 2008 x86
  • Windows Server 2008 x64
  • Windows Server 2008 R2
  • Windows Server 2012

Note: If you are unsure of the code, just open the batch file in notepad.

Microsoft Technet Source