Cleanup windows 7 winsxs folder

Windows 7 seems to keep a winsxs folder (C:\Windows\winsxs) and it tends to grow pretty big.
If you want to cleanup, open a CMD prompt as administrator and run following command:

C:\>dism /online /cleanup-image /spsuperseded

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Removing backup files created during service pack installation.
Removing package Microsoft-Windows-UltimateEdition~31bf3856ad364e35~amd64~~6.1.7600.16385
[==========================100.0%==========================]
Service Pack Cleanup operation completed.
The operation completed successfully.

 

>> I saved about 6 GB diskspace !

Advertisements

3 thoughts on “Cleanup windows 7 winsxs folder

  1. Murad

    didn’t worked!
    Using Windows 7 X64 Sp1

    C:\>dism /online /cleanup-image /spsuperseded

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385

    Image Version: 6.1.7600.16385

    Service Pack Cleanup can’t proceed: No service pack backup files were found.
    The operation completed successfully.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s