Can winsxs be moved and if so how?

article

Windows Side-by-Side (WinSxS) is a folder in the Windows operating system that stores files and components used to support applications. It is an important part of Windows and is used to store components such as system libraries, language-specific resources, and COM components. While WinSxS is an important part of the Windows operating system, it can be a source of disk space bloat. As such, IT administrators may be interested in moving WinSxS to another drive to free up disk space.

In this article, we will discuss what WinSxS is, why it may need to be moved, and how to move it.

What is WinSxS?

WinSxS is a folder in the Windows operating system that stores files and components used to support applications. It contains components such as system libraries, language-specific resources, and COM components. WinSxS is used to ensure that applications can access the correct version of a file or component.

Why Would You Need to Move WinSxS?

WinSxS can take up a significant amount of disk space. This is due to the fact that Windows stores multiple versions of the same files and components in WinSxS. As such, it can be beneficial to move WinSxS to another drive in order to free up disk space.

How to Move WinSxS

Moving WinSxS is a relatively straightforward process. The first step is to make sure that your computer is backed up. This is important as moving WinSxS can make the computer unstable.

Next, you need to download the Windows Component Store Cleanup tool from Microsoft’s website. This tool can be used to clean up the WinSxS folder and remove obsolete components.

Once the tool is downloaded, you need to launch it. The tool will scan the WinSxS folder and display a list of components that can be safely removed. Select the components that you want to remove and click the “Clean up” button.

After the tool has finished cleaning up the WinSxS folder, you need to create a new folder on the destination drive. This is where WinSxS will be moved to.

Finally, you need to use the “xcopy” command to move the WinSxS folder to the new location. To do this, open the command prompt and type “xcopy c:\\windows\\winsxs\\* d:\\winsxs\\ /s /e /h”. This will copy all of the files and components from the WinSxS folder to the new location.

Once the files have been moved, you need to modify the registry to point to the new location. To do this, open the Registry Editor (regedit) and navigate to “HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\SideBySide”. Double click on the “SxsFolder” value and change the value data to the path of the new WinSxS folder.

Conclusion

WinSxS is an important part of the Windows operating system and is used to store components such as system libraries, language-specific resources, and COM components. However, WinSxS can take up a significant amount of disk space, so it may be beneficial to move it to another drive in order to free up disk space. Moving WinSxS is relatively straightforward and can be done using the Windows Component Store Cleanup tool and the xcopy command. Once the WinSxS folder has been moved, you need to modify the registry to point to the new location.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo