CCleaner is not a 100% replacement for Disk Cleanup. There are differences between Disk Cleanup and Piriform’s CCleaner disk-cleaning app.
Comparing CCleaner to Disk Cleanup in Windows 10
The net result after running Disk Cleanup should be more free disk space - perhaps a lot more space if this is the first time Disk Cleanup has been run. 2Ĭlick OK, and Disk Cleanup goes to work once again. Fortunately, the need for this rare typically, cleaning these files is a fine idea.Īnd once again, it’s just fine to select everything in the list to be cleaned up.
Once you’ve deleted these backup files, Windows update items on your machine cannot be uninstalled. Windows Update Cleanup. This can free up a lot of space, but it comes at a cost.The most interesting and common item to clean is: While this list looks similar, several items are new and some are slightly different. (Screenshot: )Ĭlick that, and (perhaps after asking for administrative confirmation), the Disk Cleanup utility will re-launch, this time to operate on system-wide cleaning opportunities. You may have noticed a button in the user interface: Clean up system files button. 1Ĭlick OK, and after a confirmation message, Disk Cleanup goes to work. My approach, however, is to select everything. This can take up a large amount of space if Disk Cleanup has never been run. For various reasons, they often aren’t deleted by the processes that created them. These are files created by applications and the system itself that, as the name implies, are temporary. In my experience, the most useful item to select is: Click on each, and a description is displayed below. There’s a list of different items that can be deleted (or “cleaned up”) to save space. The default action is for disk cleanup to clean up files associated with or accessible by your currently logged-in account. In earlier version of Windows, you’ll find Disk Cleanup on the Start menu, in All Programs, Accessories, System Tools.ĭisk Cleanup begins by calculating what can be removed to save space on the disk. In Windows 10, click the Start button and start typing “disk cleanup”. CCleaner from Piriform is an additional disk-cleaning utility worth evaluating, as it doesn’t limit itself to Windows components. In most cases, it’s OK to clean up all items offered. The most common and effective clean-up targets include user temporary files and the system’s Windows Update files. If exist %systemroot%\SysWOW64\cmd.exe DEL /S /F /Q %systemroot%\Microsoft.NET\Framework64\v9\*.Disk Cleanup in Windows 10 is best found using Windows search.
I've also uploaded the files if you wanna download them:
RD /S /Q "%LocalAppData%\Microsoft\Windows\WER\ReportQueue" 1>nul 2>nul If exist %systemroot%\SysWOW64\cmd.exe DEL /S /F /Q %systemroot%\Microsoft.NET\Framework64\v9\*.log 1>nul 2>nul If exist %systemroot%\SysWOW64\cmd.exe DEL /S /F /Q %systemroot%\Microsoft.NET\Framework64\v7\*.log 1>nul 2>nul To create the batch file, simply open a notepad, then paste the below text, then name it " System offĮcho Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"Įcho UAC.ShellExecute "%~fs0", "", "", "runas", 1 > "%temp%\getadmin.vbs"ĭEL /S /F /Q %systemroot%\inf\*.log 1>nul 2>nulĭEL /S /F /Q %systemroot%\Logs\CBS\* 1>nul 2>nulĭEL /S /F /Q %systemroot%\Logs\DPX\* 1>nul 2>nulĭEL /S /F /Q %systemroot%\Logs\DISM\* 1>nul 2>nulĭEL /S /F /Q %systemroot%\Microsoft.NET\Framework\v7\*.log 1>nul 2>nulĭEL /S /F /Q %systemroot%\Microsoft.NET\Framework\v9\*.log 1>nul 2>nul To create the batch file, simply open a notepad, then paste the below text, then name it " Temp Files Cleanup.bat"ĭEL /S /F /Q %systemroot%\temp\* 1>nul 2>nulĭEL /S /F /Q %systemroot%\SoftwareDistribution\Download\* 1>nul 2>nulįor /f %%i in ('"dir /s /b /ad "%temp%"" 2^>nul') do RD /S /Q %%i 1>nul 2>nulįor /f %%i in ('"dir /s /b /ad %windir%\temp" 2^>nul') do RD /S /Q %%i 1>nul 2>nulįor /f %%i in ('"dir /s /b /ad %windir%\SoftwareDistribution\Download" 2^>nul') do RD /S /Q %%i 1>nul 2>nulĬleans up all the above mentioned folder in addition to some extras like the system logs. Only run the file after you have rebooted if you installed Windows updates
I don't trust any utility any more to tinker with my system files or registryĬleans up the Temp folder in the C : \Windows\TempĬleans up the c : \users\yourusername\tempĬleans up the Software Distribution folder where all the Windows updates are downloaded, but after they are installed, Windows doesn't delete them and they are no longer needed. After the latest issue with CCleaner 5, and I know it has always corrupted my search index, I stopped using it and created my own batch file to clean the following folders:Ĭ : \Windows\Software Distribution\Download