locked
Winsxs folder size is around 8.7GB RRS feed

  • Question

  • Hi to all,

    In Windows Server2008 Standard edition the winsxs folder size is above 8GB.

    Is there any solution?

    Winsxs folder occupy most of the space on C:\ drive in all windows server 2008 Servers.

     

    Thursday, February 10, 2011 4:35 AM

Answers

  • Hi IT-Jigs,

     

    Based on the research, all the necessary files for specific additions, roles, applications will be contained in the %windir%\Winsxs directory. The %windir%\winsxs folder (also referred to as the component store) is used to store all the installation source files that is needed for Windows Server 2008 to service itself and its optional components, which takes the place of the traditional flat from media.

     

    All the shared and private assemblies, manifests, backed up system files, etc, are critical to the operation system of Windows Server 2008 and all of the installed programs. If any of these shared assemblies are removed and you install a program that requires that assembly, the program will simply refuse to run. 
     

    Here is a blog which describe it in detailed.

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

    If you want to decrease the space that the Winsxs folder takes, you may consider the way which is described in the following Blog.

    What's winsxs\manifestcache\(something)_blobs.bin?
    http://blogs.msdn.com/jonwis/archive/2009/01/13/what-s-winsxs-manifestcache-lt-something-gt-blobs-bin.aspx

    You may refer to the following steps to remove the file under the %windir%\winsxs\ManifestCache\ to release some disk space that the WinSXS folder takes.

     

    Run the following commands from an elevated command prompt:

     

    Net stop trustedinstaller

     

    NOTE: Wait for it to stop and ensure it stops successfully. If you are unable to stop the service, you may need to restart your machine.

     

    Takeown /f %windir%\winsxs\ManifestCache\*

    Icacls %windir%\winsxs\ManifestCache\* /GRANT administrators:F

    Del /q %windir%\winsxs\ManifestCache\*

     

    The thing to remember is this is really your OS.  Most of the files in the various Windows folders are really just hard links to the same files you are seeing when looking at winsxs.  The files really don't  take up space in the winsxs and one of the other folders, it only lives once on the drive.  But if you look at the folders individually the numbers appear larger than the total disk space consumed

    Hope it helps.


    TechNet Software Assurance Managed Newsgroup MCTS: Windows Vista | Exchange Server 2007 MCITP: Enterprise Support Technician | Server & Enterprise Admin | System Architect
    • Proposed as answer by Scorprio_Milo Thursday, February 10, 2011 5:10 AM
    • Marked as answer by Tim Quan Monday, February 14, 2011 3:09 AM
    Thursday, February 10, 2011 5:07 AM