Disk Cleanup You can use Disk Cleanup to reduce the number of unnecessary files on your drives, which can help your PC run faster.
Reduce the Size of the Component Store in an Offline Windows Image.
It's a space hog, however, taking up several gigabytes of space and growing with each Windows Update you perform.
This topic is about the different ways to reduce the size of the WinSxS folder on a running version of Windows.
If, task Scheduler is not open, start the, task Scheduler.The option to cleanup updates helps reduce the size of the component store.Exe /online /Cleanup-Image /StartComponentCleanup, the cleanup might take some time, depending on your system and how much you're deleting, but that extra space will be worth.If recommended, clean up the folder using this command in the Command Prompt: Dism.Use the Command Prompt to Clean Up the SxS Folder.Windows uses a system folder called WinSxS to store files that are needed for your Windows installation, as well as backups or updates to those files.Use the /SPSuperseded parameter To reduce the amount of space used by a Service Pack, use the /SPSuperseded parameter of Dism.Note that if you don't see the Windows Update Cleanup option in Disk Cleanup, that means there aren't any files that can be safely deleted.Warning, deleting files from the WinSxS folder or deleting the entire WinSxS folder may severely damage your system so that your PC might not boot and make it impossible to update.Exe on a running version of Windows 10 gives you similar results to running the, startComponentCleanup task in Task Scheduler, except previous versions of updated components will be immediately deleted (without a 30 day grace period) and you will not have a 1-hour timeout limitation.
Run Disk Cleanup to delete system files Manage the Component Store Determine the Actual Size of the WinSxS Folder Reduce the Size of the Component Store in an Offline Windows Image Uninstall-WindowsFeature How to Reduce the Size of the Winsxs directory and Free Up Disk.
Previous versions of some components are kept on the system for a period of time, allowing you to rollback if necessary.
However, with Windows 7 and above you can use the built-in Disk Cleanup tool to delete older versions of Windows updates you no longer need.One commonly asked question is, "Can I delete the WinSxS folder to regain some disk space?" The short answer.I then ran Tree Size on the OS partition and found that the winsxs folder was.2GB.To learn about finding the size of your WinSxS folder, see.After a period of time, these older components are automatically removed from the installation.Exe, the /Cleanup-Image parameter of, dism.