Disk Cleanup Advanced Shortcut vs DISM Command

Discussion in 'Windows 10' started by Super Spartan, Jan 9, 2018.

  1. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,709
    990
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,055
    60
    Yes. Disk Cleanup does not perform /ResetBase. And neither of those cleans all those WU backups:

    Code:
    del "%WINDIR%\Installer\$PatchCache$" /s /f /q
    del "%WINDIR%\SoftwareDistribution" /s /f /q
    del "%WINDIR%\WinSxS\Backup" /s /f /q
     
  3. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,709
    990
    60
    Thanks man, so is it a good idea to run the DISM command I posted above followed by the commands you posted from time to time?

    Edit, when I ran those commands as a batch file, I could see a large list of files scrolling really fast but I saw an access denied message for deleting them.

    I did run the command as admin. What shall I do?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...