Windows 사용자 의 스토리지 추구는 끝이 없습니다. 1월(January) 에 PC를 정리하면 저장 공간이 봄이 오기 전에 다시 가득 찰 것입니다. 디스크 공간을 차지하는 항목을 찾기 위해 더 깊이 파고들면 Windows 컴퓨터 에서 WinSxS 폴더를 발견할 수 있습니다.

WinSxS 폴더는 무엇입니까?
WinSxS (" Windows Side by Side"의 약자)는 (Windows Side)Windows 가 (Windows)Windows 설치에 필요한 파일과 해당 파일의 백업 또는 버전을 저장 하는(and) 폴더 (위치: C: Windows WinSxS ) 입니다.
시스템 파일을 복구 하거나 (recover system files)Windows 기능을 추가 또는 제거 해야 할 때마다 Windows 는 작업을 수행하는 데 필요한 파일을 검색합니다. 이것이 컴포넌트 저장소라고도 불리는 이유입니다.
WinSxS 는 품질 업데이트 및 이전 버전의 Windows 구성 요소를 설치하는 데 필요한 파일도 저장합니다. 이러한 파일을 사용하면 업데이트가 번거로운 경우 마지막 상태로 되돌릴 수 있습니다.
WinSxS 는 더 많은 구성 요소 버전을 계속 저장하기 때문에 시간이 지남에 따라 크기가 계속 증가합니다.
WinSxS의 올바른 크기는 얼마입니까?
WinSxS 폴더 의 크기 는 일반적으로 파일 탐색기(File Explorer) 에서 부정확하게 계산됩니다 .
WinSxS 폴더 내의 파일 은 운영 체제의 여러 위치에 나타날 수 있습니다. 그러나 일반적으로 파일 사본은 하나만 있고 나머지 파일은 하드 링크(hard links) 입니다.
파일 탐색기(File Explorer) 는 폴더 크기를 계산할 때 이를 고려하지 않습니다. 즉, 크기가 실제보다 크게 나타날 수 있습니다.
DISM 도구 를 사용하여 WinSxS 폴더 의 실제 크기를 찾을 수 있습니다 . 실제 크기를 찾으려면 상승된 명령 프롬프트(Command Prompt) 를 시작하고 다음 명령을 실행합니다.
DISM.exe /Online /Cleanup-Image /AnalyzeComponentStore
프로세스가 완료되면 파일 탐색기에서 보고한 크기와 명령 프롬프트(Command Prompt) 창에 실제 크기가 모두 표시됩니다.

WinSxS 폴더를 정리하는 방법?
구성 요소 저장소를 청소하면 하드 드라이브의 귀중한 저장소를 확보할 수 있습니다.
그러나 WinSxS(WinSxS) 폴더 는 수동으로 삭제할 수 없습니다 . 또한 WinSxS(WinSxS) 폴더 를 정리하면 PC를 업데이트할 때까지 업데이트를 롤백할 수 없습니다.
정리 중에 삭제되는 경우 DLL 파일 의 이전 버전에 의존하는 특정 앱에 문제가 발생할 수도 있습니다 .
아래 그림과 같이 WinSxS(WinSxS) 폴더 를 정리하는 방법에는 여러 가지가 있습니다 .
DISM을 사용하여 WinSxS 정리
DISM( 배포 이미지 서비스 및 관리(Deployment Image Servicing and Management) )은 구성 요소 저장소를 정리하기 위한 기본 제공 옵션이 있는 명령줄 유틸리티입니다. DISM 을 사용한 정리 는 시스템 기능을 방해하지 않고 WinSxS 디렉터리 에서 불필요한 파일을 모두 제거합니다 .
- 상승된 명령 프롬프트(Command Prompt) 를 실행하여 시작하십시오 . Win + R 을 누르고 cmd 를 입력 한 다음 Ctrl + Shift + Enter 를 누릅니다 .
- 명령 프롬프트(Command Prompt) 에 다음 명령을 입력합니다 .
DISM.exe /Online /Cleanup-Image /AnalyzeComponentStore
- 프로세스가 완료되면 구성 요소 저장소 정리 권장(Component Store Cleanup Recommended) 옆에 예(Yes) 또는 아니요가 표시되는지 확인합니다 .

- 예라고 표시되면 다음 명령을 실행합니다.
DISM.exe /Online /Cleanup-Image /StartComponentCleanup
프로세스가 완료되면 불필요한 WinSxS(WinSxS) 파일 이 모두 정리됩니다 .
특정 파일 그룹을 정리하려는 경우 실행할 수 있는 다른 WinSxS 정리 명령도 있습니다. (WinSxS)예를 들어 이전 Windows 구성 요소 버전을 정리하려면 다음 명령을 실행합니다.
DISM.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase
Windows 7 과 같은 이전 버전의 Windows 를 실행하는 경우 다음 명령을 사용하여 서비스 팩 백업을 제거할 수 있습니다( Windows 8 , 10 및 11에는 서비스 팩이 없음).
DISM.exe /Online /Cleanup-Image /StartComponentCleanup /SPSuperseded
디스크 정리를 사용하여 WinSxS 정리
Windows 에는 (Windows)WinSxS 폴더 에 있는 파일을 포함하여 시스템 파일 및 기타 유형의 불필요한 파일을 정리할(clean up system files) 수 있는 내장 디스크 정리(Disk Cleanup) 도구도 있습니다 .
- 파일 탐색기(File Explorer) 를 시작하고 내 PC(또는 Windows 11 의 (Windows 11)컴퓨터(Computer) ) 로 이동 합니다.

- 로컬 디스크(Local Disk ) 를 선택하고 Alt + Enter 를 눌러 디스크 속성을 엽니다.
- 일반(General) 탭을 선택 하고 디스크 정리(Disk Cleanup) 옵션을 클릭합니다.

- Windows 는 백업 파일, 임시 파일 및 이전 버전의 (Windows)Windows 에서 보관된 파일을 포함하여 안전하게 정리할 수 있는 파일을 찾습니다 . 디스크 정리(Disk Cleanup) 창이 열리면 하단의 시스템 파일 정리 버튼을 클릭합니다.(Clean up system files)

- 유틸리티는 이번에는 시스템 파일에 대해 또 다른 검색을 실행합니다. 안전하게 삭제할 수 있는 파일을 찾으면 파일 유형 목록이 표시됩니다. 일반적인(Common) 이름에는 Windows 업데이트 정리(Windows Update Cleanup) , Microsoft Defender 바이러스 백신(Microsoft Defender Antivirus) 및 임시 인터넷 파일(Temporary Internet Files) 이 포함 됩니다.
전체 시스템에서 정크를 정리하려면 모든 확인란을 선택할 수 있지만 WinSxS 폴더 에서 업데이트 파일을 정리하려면 Windows 업데이트 정리 를 선택해야 합니다. (Windows Update Cleanup)선택한 후 확인 을 (OK)클릭 합니다.(Click)

물론 시간이 지남에 따라 파일은 WinSxS 폴더에 다시 누적됩니다. 따라서 WinSxS(WinSxS) 폴더를 깨끗하게 유지하려면 가끔씩 디스크 정리(Disk Cleanup) 를 사용해야 합니다. 또는 작업 스케줄러(Task Scheduler) 를 사용하여 구성 요소 정리를 예약할 수 있습니다 .
작업 스케줄러를 사용하여 WinSxS 정리
WinSxS 폴더 를 정기적으로 정리하기 위해 "설정하고 잊어버리십시오" 방식을 사용하려는 경우 작업 스케줄러(use the Task Scheduler) 를 사용할 수 있습니다 .
- Win + R 을 누르고 taskschd.msc 를 입력 한 다음 Enter 키를 누릅니다 .
- 왼쪽 사이드바를 사용하여 Task Scheduler Library\Microsoft\Windows\Servicing 으로 이동합니다 .

- 작업 목록에서 StartComponentCleanup(StartComponentCleanup ) 작업을 마우스 오른쪽 버튼으로 클릭하고 속성을 선택한 다음 속성 에서 (Properties)트리거(Triggers ) 탭으로 전환 합니다. 그런 다음 새로(New) 만들기 를 클릭합니다 .

- 빈도(일/월/주간)와 시간을 선택하여 작업 일정을 선택하세요. 완료되면 확인(OK) 을 클릭 합니다.

- 작업은 추가한 일정에 따라 자동으로 실행됩니다. 그러나 StartComponentCleanup(StartComponentCleanup) 작업을 선택 하고 오른쪽 사이드바에서 실행(Run) 을 선택 하여 작업을 즉시 실행할 수도 있습니다 .

더 많은 공간이 필요하십니까?
하드 드라이브에 공간을 확보하려는 경우 WinSxS(WinSxS) 폴더를 정리하는 것이 좋습니다. 사용하지 않는 앱을 제거(uninstalling apps) 하거나 대용량 개인 파일을 외장 하드 드라이브로 이동 하여 더 많은 공간을 확보할 수도 있습니다 .
Windows 컴퓨터에서 공간을 확보하는 더 많은 방법을 찾고 있다면 도움이 될 수 있는 디스크 공간(ways to free up disk space) 을 확보하는 여러 방법에 대한 자습서가 있습니다.
What Is the WinSxS Folder, Why Is It Huge, and How to Cleanup?
A Windows user’s pursuit of storage is never-ending. Clean up the PC in January, and your storage space will max out again before springtіme. As yоu dig deeper tо find what’s conѕuming that disk space, you’re likely to cоme across the WinSxS folder on your Windows computer.

What Is the WinSxS folder?
WinSxS (short for “Windows Side by Side”) is a folder (location: C:\Windows\WinSxS) where Windows stores files required for installing Windows and backups or versions of those files.
Whenever you need to recover system files or add or remove Windows features, this is where Windows will search for the files required to perform an action. This is why it’s also called the component store.
WinSxS also stores files needed to install quality updates and previous versions of Windows components. These files allow you to revert back to the last state in case the update becomes troublesome.
WinSxS continues to increase in size over time because it will continue storing more component versions.
What Is the Correct Size of WinSxS?
The size of the WinSxS folder is usually calculated inaccurately by the File Explorer.
Files inside the WinSxS folder may appear in several places in the operating system. However, there’s usually only one copy of a file, while the rest of the files are hard links.
File Explorer doesn’t factor this in when calculating the size of folders, meaning the size can appear larger than it really is.
You can find the true size of the WinSxS folder using the DISM tool. To find the real size, launch an elevated Command Prompt and run the following command:
DISM.exe /Online /Cleanup-Image /AnalyzeComponentStore
Once the process completes, you’ll see both the size reported by the file explorer and the actual size in the Command Prompt window:

How to Cleanup WinSxS Folder?
Cleaning the component store can free up valuable storage on your hard drive.
However, you can’t delete the WinSxS folder manually. Also, note that once you clean up the WinSxS folder, you won’t be able to roll back updates until you’ve updated your PC.
You might also face issues with certain apps that rely on a previous version of a DLL file if it gets deleted during the cleanup.
As illustrated below, there are several ways to clean up the WinSxS folder.
Cleanup WinSxS Using DISM
DISM (Deployment Image Servicing and Management) is a command-line utility with a built-in option for cleaning up the component store. A cleanup using DISM will remove all the unnecessary files from the WinSxS directory without disrupting your system’s functioning.
- Start by launching an elevated Command Prompt. Press Win + R, type cmd, and press Ctrl + Shift + Enter.
- Type the following command in the Command Prompt:
DISM.exe /Online /Cleanup-Image /AnalyzeComponentStore
- Once the process completes, check if it says Yes or No next to Component Store Cleanup Recommended.

- If it says yes, run the following command:
DISM.exe /Online /Cleanup-Image /StartComponentCleanup
When the process completes, it will have cleaned all unnecessary WinSxS files.
There are also other WinSxS cleanup commands you can run when you want to clean up a specific group of files. For instance, if you want to clean up older Windows component versions, run the following command:
DISM.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase
If you’re running an older version of Windows like Windows 7, you can use the following command to remove service pack backups (Windows 8, 10, and 11 don’t have service packs):
DISM.exe /Online /Cleanup-Image /StartComponentCleanup /SPSuperseded
Cleanup WinSxS Using Disk Cleanup
Windows also has a built-in Disk Cleanup tool that can clean up system files and other types of unnecessary files, including ones in the WinSxS folder.
- Launch the File Explorer and go to This PC (or Computer on Windows 11).

- Select the Local Disk and press Alt + Enter to open disk properties.
- Select the General tab and click the Disk Cleanup option.

- Windows will look for files you can clean up safely, including backup files, temporary files, and files retained from older versions of Windows. When you see the Disk Cleanup window open, click the Clean up system files button at the bottom.

- The utility will run another search, this time for system files. Once it finds the files that can be deleted safely, you’ll see a list with the types of files. Common names you’ll see include Windows Update Cleanup, Microsoft Defender Antivirus, and Temporary Internet Files.
You can check all boxes if you want to clean up junk from the entire system, but be sure to select Windows Update Cleanup for cleaning up the update files from the WinSxS folder. Click OK once selected.

Of course, over time, the files will accumulate in the WinSxS folder again. So you’ll need to use Disk Cleanup every once in a while to keep the WinSxS folder clean. Alternatively, you can schedule component cleanup using the Task Scheduler.
Cleanup WinSxS Using Task Scheduler
You can use the Task Scheduler if you want to take a “set it, forget it” approach to regularly clean the WinSxS folder.
- Press Win + R, type taskschd.msc, and press Enter.
- Use the left sidebar to navigate to Task Scheduler Library\Microsoft\Windows\Servicing.

- Right-click on the StartComponentCleanup task from the task list, select Properties, and switch to the Triggers tab in properties. Then, click on New.

- Select a schedule for the task by selecting the frequency (daily/monthly/weekly) and a time. Click OK when done.

- The task will run automatically as per the schedule you’ve added. However, you can also run the task right away by selecting the StartComponentCleanup task and selecting Run from the right sidebar.

Need More Space?
If you’re trying to make some space on your hard drive, cleaning up the WinSxS folder is a great start. You can also make more space by uninstalling apps you don’t use or moving large personal files to an external hard drive.
If you’re looking for more ways to make space on your Windows computer, we have a tutorial on several ways to free up disk space that might help.