Share via

How do i reduce the size of the winsxs folder in Windows 7?

Anonymous
2011-05-02T12:24:33+00:00

I have installed Windows 7 about 3 months ago and now have been told i have no hard drive space. Thinking this is strange since i should have about 20Gb spare i then went through all folders and found that a folder called "Winsxs" under the Windows folder is taking up all of my hard drive space. How can i get rid of this folder? If i can't then how do i reduce the size and stop it from ballooning again?

Looking at other forum sites it looks like i need SP1 for Windows 7, which will then provide a tool to reduce the folder size. However i am unable to download and install SP1 due to not having any hard drive space.

Windows for home | Previous Windows versions | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2011-05-04T15:19:14+00:00

    However i am unable to download and install SP1 due to not having any hard drive space. 

    If you're unable to repartition your hard drive as Ron suggested you can do the following to gain free space.

    Free Up Space - Increase Hard Drive Space 

    The following procedure cleans up files associated with your user account. You can also use Disk Cleanup to clean up all the files on your computer.

    1. Click the Start button, in the search box, type Disk Cleanup, then click Disk Cleanup.
    2. In the Drives list, click the hard disk drive that you want to clean up, and then click OK.
    3. On the Disk Cleanup tab, select the file types you want to delete.

    Note: To Remove all System Restore Points Except the Most Recent - Click "Clean up System Files" and you will get another tab called More Options. Now click More Options, then click "Clean up" under "System Restore and Shadow Copies" then confirm the deletion.

    1. Click OK on the bottom of the Disk Cleanup window and in the message that appears, click Delete files.

    Reduce the amount of space allocated for System Restore. 

    1. Start-->Control Panel-->System and Security-->System
    2. Next click on the 'System protection' link located in the upper left.
    3. In the 'System Properties? window click on the 'System Protection' tab.
    4. Locate the 'Protection Settings' box and select/click on the drive letter (usually C:)
    5. Now click on the 'Configure' button to change the 'Disk Space Usage' Restore Settings.
    6. Move the slider to reduce the amount of disk space System Protection can use (min. 2GB).
    7. Click the 'Apply' and then the 'OK' button after you have adjusted the disk space.

    Uninstall Programs You Don’t Need

    1. Click Start, then click Control Panel
    2. Click Add/Remove Programs and uninstall programs you don’t want

    Reduce Pagefile Size

    1. Open control panel and choose system and security.
    2. Click on system
    3. Click on Advanced  system settings.
    4. Click on advanced tab.
    5. In the performance section click on settings.
    6. Click on Advanced  and choose  Change in the Virtual Memory section.
    7. Uncheck Automatically Manage Pagefile size
    8. Select Custom and enter new size (don't go under 512MB) in both boxes and press Set.
    9. Click OK and restart your computer

    Turn of the Hibernation setting

    If you don't use hibernation you can turn it off and free up disk space:

    1. Start --> All Programs --> Accessories
    2. Right click CMD.exe and click "run as admin"
    3. type: powercfg -H off
    4. Press Enter
    5. Exit and restart your computer

    The Winsxs folder is not a normal folder and the size shown is deceptive. It should not be touched.

    You can read more about it below.

    The Secret Of Windows Windows 7 Winsxs Folder:

    http://www.winvistaclub.com/f16.html

    What is the WINSXS directory and why is it so large?

    http://blogs.technet.com/b/askcore/archive/2008/09/17/what-is-the-winsxs-directory-in-windows-2008-and-windows-vista-and-why-is-it-so-large.aspx

    3 people found this answer helpful.
    0 comments No comments

12 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-05-03T20:11:59+00:00

    20Gbs on the partition Windows is on

    0 comments No comments
  2. Anonymous
    2011-05-03T06:00:10+00:00

    Hi Sam

    The WinSxS folder is not designed to simply fill up any existing empty space.

    The folder can grow, but this is usually in very small increments when updates are added or other software installs add components to that folder.

    The reason for the initial size of the folder is that during the installation of Windows, the entire contents of the installation disk are expanded and added to the new WinSxS folder. The folder is usually 3.5GB to 4.5GB, depending on whether you have installed the 32bit or 64bit version.

    This folder contains the servicing component, as well as other necessary components for Windows to operate properly.

    I installed Windows 7 32bit and 64bit in September of 2009 and the WinSxS is currently 5.1GB and 6.2GB respectively.

    "Looking at other forum sites it looks like i need SP1 for Windows 7, which will then provide a tool to reduce the folder size."

    After you install SP1, there will be an entry in the Disk Cleanup component named Service Pack Backup Files. When you install SP1, it will backup any files that it replaces in the WinSxS, and other folders. Using that option will remove the SP1 installation files and those backup files. This is the extent of what it removes, it does not install a tool to reduce the size of that folder any further.

    What size is the hard drive/partition where you currently have Windows 7 installed?

    Let us know.

    Regards

    0 comments No comments
  3. Anonymous
    2011-05-02T17:04:26+00:00

    I had 5Gb free space and this folder had grown to nearly 4Gb in size. I then deleted my temp files etc thinking it was that, but after a few weeks more this winsxs folder had now grown to nearly 5Gb, chewing up all space on my hard drive and when i delete anything else to create space, this folder will expand more and more to occupy that free space.

    0 comments No comments
  4. Anonymous
    2011-05-02T16:00:57+00:00

    Have a look at this very long thread.

    Winsxs does not use all the disk space that explorer shows.

    Most of the entries are Junctions that point to other places on your drive.

    Junctions use no space.

    http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/f0862648-0a96-4aa4-8847-76c216d169f3

    0 comments No comments