GeekPolice Tech TutorialsLog in


How to Clean Windows WinSxS Folder to Save Space


How to Clean Windows WinSxS Folder to Save Space

How to Clean Windows WinSxS Folder to Save Space

With Windows 8.1 and Windows 10, you can use the Command Prompt to clean up the WinSxS 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. It's a space hog, however, taking up several gigabytes of space and growing with each Windows Update you perform. Use the steps below to clean up unnecessary files in that WinSxS folder and reclaim valuable hard drive space.

Use the Command Prompt to Clean Up the WinSxS Folder

1. Launch the Command Prompt with admin priviledges. You can do this by pressing Window key + X key and click "Command Prompt (Admin)."

2. Execute following command:


Dism.exe /online /Cleanup-Image /StartComponentCleanup

Using the /ResetBase switch with the /StartComponentCleanup parameter of DISM.exe on a running version of Windows 10 removes all superseded versions of every component in the component store.

From an elevated command prompt, type the following:


Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

All existing service packs and updates cannot be uninstalled after this command is completed. This will not block the uninstallation of future service packs or updates.

Did you find this tutorial helpful? Don’t forget to share your views with us.
remove_circleSimilar topics


No Comment.
Permissions in this forum:
You cannot reply to topics in this forum