Server 2012 – install Disk Cleanup feature

Server 2012 and 2012 do not have Disk Cleanup feature installed as default.

We can see how the Disk Cleanup is missing here:
01-LocalDiskProperties

Lets install the feature using PowerShell, as it is much faster than the GUI based method:
Add-WindowsFeature Desktop-Experience
02-powershell-install

Restart the server, when prompted for it, as shown above. Do it using PowerShell:
Note: There will be no prompt if you are sure. The server will reboot immediately after executing the command shown below.
Restart-Computer

Disk Cleanup now shows up in Disk Properties.
03-LocalDiskProperties

Disk Cleanup starting up.
04-diskcleanup

We can now use Disk Cleanup to remove those old Windows Update files, and other pesky items.
05-diskcleanup

Posted in Server 2012

Leave a Reply