The Winsxs Folder Explained

Windows users who have run a disk space analyzer like TreeSize or WizTree in the last days may have stumbled for the first time upon the Winsxs folder in the Windows directory.
The folder usually has a size of about 5 to 8 Gigabytes on Windows Vista and Windows 7 or newer, there are however reports of bigger folders, up to 16 Gigabytes and more.
Especially Windows XP users who recently switched to Windows 7 may have asked themselves why the size of the folder increased from a few Megabytes to Gigabytes.
Internet search engines and message boards are full with questions about the folder, many users want to know if it is safe to delete the Winsxs folder, if it needs to be included in operating system backups or why it has such an enormous size compared to other Windows folders.

It is important to take a look back in time. Back in Windows 9x, the operating system had troubles with dynamic link libraries, more precisely with different versions of the same dll. There was simply no way to store multiple versions of a dll, which led to incompatibilities and other problems.
Then in Windows ME, Microsoft began to include options to store multiple dll versions using the same name in the operating system. It was not until Windows Vista that this technology was turned into what Vista and Windows 7 users are experiencing today.
If you open the folder in Windows Explorer you will notice a huge folder list, with each folder containing at least one file, but often multiple files. Folders that begin with the same name host different versions of the same dll, there are sometimes five or more folders that host different versions of the same dynamic link library.

Winsxs, stands for Windows Side by Side, referring to the concept of hosting the same files in different versions in the operating system.
The backup folder is displayed as the largest folder in the Winsxs folder, followed by the naturallanguage6 folder and Manifests.
A Technet blog post by Jeff Hugh explains the move from an INF described OS to componentization in Windows Vista.
All of the components in the operating system are found in the WinSxS folder – in fact we call this location the component store. Each component has a unique name that includes the version, language, and processor architecture that it was built for. The WinSxS folder is the only location that the component is found on the system, all other instances of the files that you see on the system are “projected†by hard linking from the component store. Let me repeat that last point – there is only one instance (or full data copy) of each version of each file in the OS, and that instance is located in the WinSxS folder. So looked at from that perspective, the WinSxS folder is really the entirety of the whole OS, referred to as a "flat" in down-level operating systems. This also accounts for why you will no longer be prompted for media when running operations such as System File Checker (SFC), or when installing additional features and roles.
Jeff's post gives an answer to the question if it is safe to delete files in the winsxs folder, in short: It is not.
The only option to reduce the file size of that folder safely is to remove software from the operating system that is not needed anymore, but even that won't drop the file size considerably.
The only way to safely reduce the size of the WinSxS folder is to reduce the set of possible actions that the system can take – the easiest way to do that is to remove the packages that installed the components in the first place. This can be done by uninstalling superseded versions of packages that are on your system. Service Pack 1 contains a binary called VSP1CLN.EXE, a tool that will make the Service Pack package permanent (not removable) on your system, and remove the RTM versions of all superseded components. This can only be done because by making the Service Pack permanent we can guarantee that we won’t ever need the RTM versions.
It is best to leave the folder alone. Windows Vista users may be able to reduce the size of the Winsxs folder by running a third party application WinsxsLite
WinsxsLite is meant as a tool to help reduce the size of winsxs in Vista.
.
WinsxsLite is split into two phases.
The first phase searches the Program Files and Windows folders for files,
that are exactly identical to files in the winsxs folder.
.
The second phase replaces all the old versions of each file in winsxs,
with hardlinks to the highest version file.
So, it will still seem like there's, say, 16 different versions of a
particular file, but in reality, there's only one data object pointed to
by 16 directory entries.
Additionally, unused localized files can be eliminated, by replacing them
with hardlinks to the corresponding files in other languages.
.
Note: Both phases are optional.
.
Note: If Vista SP1 is installed, make sure vsp1cln.exe has been run.
It is highly advised to create a system backup before running WinsxsLite, considering that the software makes irreversible changes to the Windows system partition that can only be undone by a backup.
The latest version of the program is always available at the Google Code project website. The site links to a Rapidshare download location, we have taken the liberty to upload the latest file to our servers as well. You can download the 20K tool below: WinsxsLite1.86
Please note that it is only compatible with Windows Vista, and not Windows 7.
Windows Vista users with the Service Pack installed can furthermore run the VSP1CLN command-line tool to remove files that are not longer needed after the service pack has been installed. Please note that these files are needed for uninstalling the SP in Vista.
Do you have additional tips on reducing the size of the Winsxs folder? Let us know about them in the comments.
Update: Recent information indicate that the Winsxs folder may in fact not be as large as it is reported by the system, and the main reason for that is that many of the files in the folder are hard links pointing to files elsewhere on the system.
“The Windows SxS directory represents the “installation and servicing state†of all system components. But in reality it doesn’t actually consume as much disk space as it appears when using the built-in tools (DIR and Explorer) to measure disk space used. The fact that we make it tricky for you to know how much space is actually consumed in a directory is definitely a fair point!
In practice, nearly every file in the WinSxS directory is a “hard link†to the physical files elsewhere on the system—meaning that the files are not actually in this directory. For instance in the WinSxS there might be a file called advapi32.dll that takes up >700K however what’s being reported is a hard link to the actual file that lives in the Windows\System32, and it will be counted twice (or more) when simply looking at the individual directories from Windows Explorer.â€
You may analyze and cleanup the WinSXS folder using DISM commands on Windows 8 or newer versions of the Windows operating system.
More information about that is available on the Engineering Windows 7 blog.


What mental age of reader are you targeting with the first sentence? 10?
Why not write an article on how to *avoid* upgrading from W10 to W11. Analogous to those like me who avoided upgrading from 7 to 10 for as long as possible.
If your paymaster Microsoft permits it, of course.
5. Rufus
6. Ventoy
PS. I hate reading these “SEO optimized” articles.
I used Rufus to create an installer for a 6th gen intel i5 that had MBR. It upgraded using Setup. No issues except for Win 11 always prompting me to replace my local account. Still using Win 10 Pro on all my other PCs to avoid the bullying.
bit pointless to upgrade for the sake of upgrading as you never know when you’ll get locked out because ms might suddenly not provide updates to unsupported systems.
ps…. time travelling?
written. Jan 15, 2023
Updated • Jan 13, 2023
This happens when you schedule a post in WordPress and update it before setting the publication date.
Anyone willing to downgrade to this awful OS must like inflicting themselves with harm.
I have become convinced now that anybody who has no qualms with using Windows 11/10 must fit into one of the following brackets:
1) Too young to remember a time before W10 and W11 (doesn’t know better)
2) Wants to play the latest games on their PC above anything else (or deeply needs some software which already dropped W7 support)
3) Doesn’t know too much about how computers work, worried that they’d be absolutely lost and in trouble without the “”latest security””
4) Microsoft apologist that tries to justify that the latest “features” and “changes” are actually a good thing, that improve Windows
5) Uses their computer to do a bare minimum of like 3 different things, browse web, check emails, etc, so really doesn’t fuss
Obviously that doesn’t cover everyone, there’s also the category that:
6) Actually liked W7 more than 10, and held out as long as possible before switching, begrudgingly uses 10 now
Have I missed any group off this list?
You have missed in this group just about any professional user that uses business software like CAD programs or ERP Programs which are 99% of all professional users from this list.
Linux doesn’t help anyone who is not a linux kid and apple is just a fancy facebook machine.
Microsoft has removed KB5029351 update
only from windows update though
KB5029351 is still available from the ms update catalog site
1. This update is labaled as PREVIEW if it causes issues to unintelligent people, then they shouldn’t have allowed Preview updates ot install.
2. I have installed it in a 11 years old computer, and no problems at all.
3. Making a big drama over a bluescreen for an updated labeled as preview is ridiculous.
This is probably another BS internet drama where people ran programs and scripts that modified the registry until they broke Windows, just for removing stuff that they weren’t even using just for the sake of it.
Maybe people should stop playing geeks and actually either use Windows 10 or Windows 11, but don’t try to modify things just for the sake of it.
Sometimes removing or stopping things (like defender is a perfect example) only need intelligence, not scripts or 3rd party programs that might mess with windows.
Windows 11 was a pointless release, it was just created because some of the Windows team wanted to boost sales with some sort of new and improved Windows 10. Instead, Microsoft cannot support one version well let alone two.
Windows 11 is the worst ugly shame by Microsoft ever. They should release with every new W11 version a complete free version of Starallback inside just to make this sh** OS functionally again.
motherboard maker MSI has recently released a statement regarding the “unsupported processor” blue screen error for their boards using Intel 600/700 series chipsets & to avoid the KB5029351 Win11 update:
https://www.msi.com/news/detail/MSI-On–UNSUPPORTED-PROCESSOR–Error-Message-of-Windows-11-Update-KB5029351-Preview-142215
check out the following recent articles:
Neowin – Microsoft puts little blame on its Windows update after UNSUPPORTED PROCESSOR BSOD bug:
https://www.neowin.net/news/microsoft-puts-little-blame-on-its-windows-update-after-unsupported-processor-bsod-bug/
BleepingComputer – Microsoft blames ‘unsupported processor’ blue screens on OEM vendors:
https://www.bleepingcomputer.com/news/microsoft/microsoft-blames-unsupported-processor-blue-screens-on-oem-vendors/
While there may be changes or updates to the Windows 10 Store for Business and Education in the future, it is premature to conclude that it will be discontinued based solely on rumors.
My advice, I left win 15 years ago. Now I’m a happy linux user (linuxmint) but there is Centos, Fedora, Ubuntu depending on your needs.
motherboard maker MSI has recently released new BIOS/firmware updates for their Intel 600 & 700 series motherboards to fix the “UNSUPPORTED_PROCESSOR” problem (Sept. 6):
https://www.msi.com/news/detail/Updated-BIOS-fixes-Error-Message–UNSUPPORTED-PROCESSOR–caused-BSOD-on-MSI-s-Intel-700-and-600-Series-Motherboards-142277
I try to disable the Diagnostics Tracking Service (Connected Devices Platform User Services) but it wont let me disable it, any help will be greatly appreciated.
Tank you for your help