News, tips, advice, support for Windows, Office, PCs & more. Tech help. No bull. We're community supported by donations from our Plus Members, and proud of it
Home icon Home icon Home icon Email icon RSS icon
  • Tip: Windows SxS folder: How big is it?

    Posted on Alex5723 Comment on the AskWoody Lounge

    Home Forums AskWoody support Windows Tip: Windows SxS folder: How big is it?

    Viewing 3 reply threads
    • Author
      Posts
      • #2171410 Reply
        Alex5723
        AskWoody Plus

        How big is the Windows SxS folder, really?

        By Ed Bott

        One of the more esoteric features in Windows is the Component Store, a special folder that’s used to keep track of the many packages used to install and update Windows. The Component Store is what makes it possible to install and, if necessary, uninstall packages from Windows Update; to enable and disable Windows features; and to move from one Windows edition to another.

        You can find the Component Store in the WinSxS folder, which is located in C:Windows (the name refers to its original function, running programs using side-by-side assemblies). If you inspect the properties of that folder, you might be alarmed to find that it apparently contains many gigabytes of files….

        http://enews.techrepublic.com/hostedemail/email.htm?CID=59460488497&ch=6301379EF9D1794A1753AE4C975DDFF8&h=186d5190c4349d4d454f865e87500785&ei=WGwqszvON&st=26-FEB-20

        Attachments:
      • #2171421 Reply
        steeviebops
        AskWoody Lounger

        Ed has it slightly wrong here:

        “Most of the items in the WinSxS folder are hard links to files that are in use and are stored elsewhere”

        In fact, the real files are in WinSxS, which can be verified by Nir Sofer’s NTFSLinksView tool. The links are in the original locations. For example, in Windows 10 1903, C:\Windows\notepad.exe is a hard link to C:\Windows\system32\notepad.exe which is itself a hard link to C:\Windows\WinSxS\amd64_microsoft-windows-notepad_31bf3856ad364e35_10.0.18362.1_none_4177fd76ed382a53\notepad.exe.

      • #2171600 Reply
        mngerhold
        AskWoody Lounger

        In fact, the real files are in WinSxS

        AIUI, there is no hierarchy with NTFS hard links – they are all equal, and one should not think of them as pointing to each other in a chain-like manner.  When the last link is deleted, then so is the file (NTFS keeps track of the number of links).

      • #2171754 Reply
        abbodi86
        AskWoody_MVP

        Ed is revisiting 7 years old topic

        • #2171787 Reply
          joep517
          AskWoody MVP

          It may be old and not a big deal to many of us but there are still questions fairly regularly about WinSXS.

          --Joe

    Viewing 3 reply threads

    Please follow the -Lounge Rules- no personal attacks, no swearing, and politics/religion are relegated to the Rants forum.

    Reply To: Tip: Windows SxS folder: How big is it?

    You can use BBCodes to format your content.
    Your account can't use Advanced BBCodes, they will be stripped before saving.