Skip to content

Commit cbbcd91

Browse files
authored
Create 2025-03-20-fixing-component-store-win11-24h2.md
1 parent fa66f74 commit cbbcd91

File tree

1 file changed

+121
-0
lines changed

1 file changed

+121
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
title: Fixing Component Store (WinSxS folder) in Windows 11 24H2
3+
date: 2025-03-20 21:00:00 +0800
4+
categories: [How-to, Software]
5+
tags: [win11] # TAG names should always be lowercase
6+
image:
7+
---
8+
9+
# Fixing Component Store (WinSxS folder) in Windows 11 24H2
10+
11+
## Problem
12+
13+
After the Windows 11 24H2 update, a bug prevents the cleanup tool from removing two reclaimable packages in the WinSxS folder. Even after running cleanup commands, the “Number of Reclaimable Packages” remains at 2. Microsoft has not yet provided a fix.
14+
15+
```ps1
16+
PS C:\> Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
17+
18+
Deployment Image Servicing and Management tool
19+
Version: 10.0.26100.1150
20+
21+
Image Version: 10.0.26100.3613
22+
23+
[==========================100.0%==========================]
24+
25+
Component Store (WinSxS) information:
26+
27+
Windows Explorer Reported Size of Component Store : 5.60 GB
28+
29+
Actual Size of Component Store : 5.52 GB
30+
31+
Shared with Windows : 3.81 GB
32+
Backups and Disabled Features : 1.70 GB
33+
Cache and Temporary Data : 0 bytes
34+
35+
Date of Last Cleanup : 2025-03-20 18:21:30
36+
37+
Number of Reclaimable Packages : 2
38+
Component Store Cleanup Recommended : Yes
39+
40+
The operation completed successfully.
41+
```
42+
43+
## The Fix
44+
45+
Remove the problematic package by executing (replace the package name if it differs on your system):
46+
47+
48+
```ps1
49+
dism /online /remove-package /packagename:Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.1742.1.10
50+
```
51+
52+
```ps1
53+
PS C:\> dism /online /remove-package /packagename:Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.1742.1.10
54+
55+
Deployment Image Servicing and Management tool
56+
Version: 10.0.26100.1150
57+
58+
Image Version: 10.0.26100.3613
59+
60+
Processing 1 of 1 - Removing package Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.1742.1.10
61+
[==========================100.0%==========================]
62+
The operation completed successfully.
63+
PS C:\> dism /online /cleanup-image /startcomponentcleanup
64+
65+
Deployment Image Servicing and Management tool
66+
Version: 10.0.26100.1150
67+
68+
Image Version: 10.0.26100.3613
69+
70+
[==========================100.0%==========================]
71+
The operation completed successfully.
72+
```
73+
74+
After removal, run the cleanup command to finalize the process:
75+
76+
```ps1
77+
PS C:\Users\AzimsTech> dism /online /cleanup-image /startcomponentcleanup
78+
79+
Deployment Image Servicing and Management tool
80+
Version: 10.0.26100.1150
81+
82+
Image Version: 10.0.26100.3613
83+
84+
[==========================100.0%==========================]
85+
The operation completed successfully.
86+
```
87+
88+
## Result
89+
90+
Re-run the analyze command to ensure all reclaimable packages are cleared:
91+
92+
```ps1
93+
PS C:\> Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
94+
95+
Deployment Image Servicing and Management tool
96+
Version: 10.0.26100.1150
97+
98+
Image Version: 10.0.26100.3613
99+
100+
[==========================100.0%==========================]
101+
102+
Component Store (WinSxS) information:
103+
104+
Windows Explorer Reported Size of Component Store : 4.79 GB
105+
106+
Actual Size of Component Store : 4.75 GB
107+
108+
Shared with Windows : 3.80 GB
109+
Backups and Disabled Features : 958.57 MB
110+
Cache and Temporary Data : 0 bytes
111+
112+
Date of Last Cleanup : 2025-03-20 18:26:39
113+
114+
Number of Reclaimable Packages : 0
115+
Component Store Cleanup Recommended : No
116+
117+
The operation completed successfully
118+
```
119+
120+
## Research
121+
- [@Bree - ElevenForum.com](https://www.elevenforum.com/t/how-to-identify-reclaimable-packages-reported-as-count-by-dism-online-cleanup-image-analyzecomponentstore.30344/post-575823)

0 commit comments

Comments
 (0)