Original post : Disk Cleanup - Guide for Windows XP, Vista, 7, 8, 8.1, 10.
cleanmgr
C:\
c:\windows\cleanmgr.exe /d
c:\
sfc /scannow
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows\