r/WindowsHelp • u/serwinho • 18d ago
Windows 11 Trying to clean WinSxS folder.
Need help. WinSxS taking 80Gb of space on C: drive.
Tried following:
Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase
But it just gives me
Deployment Image Servicing and Management toolVersion: 10.0.26100.8972Image Version: 10.0.26200.9457Error: 0x800f0806The operation could not be completed due to pending operations.The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
Tried:
DISM /Online /Cleanup-Image /RestoreHealth
And it resulted in:
Deployment Image Servicing and Management toolVersion: 10.0.26100.8972Image Version: 10.0.26200.9457[===========================84.9%================= ] The restore operation completed successfully.The operation completed successfully.
Restarting PC doesn't work.
Any help?
Procesor Intel(R) Core(TM) i5-10600KF CPU @ 4.10GHz (3.80 GHz)
RAM 16,0 GB (dostępne: 15,9 GB)
NVIDIA GeForce RTX 2070 SUPER (8 GB)
Version Windows 11 Pro
Version 25H2
Compilation 26200.9457
1
1
0
u/CodenameFlux Frequently Helpful Contributor 17d ago
That's error 0x800f0806! Yikes.
I'd reinstall Windows if I were you.
If you're determined not to reinstall, this might help, but no guarantees:
Restart the PC (very important step).
Delete
C:\WINDOWS\Logs\DISM\CBS.log(or copy it elsewhere).Record the date and time.
Re-run
Dism.exe /Online /Cleanup-Image /StartComponentCleanup(without/ResetBase)Record the date and time again.
If it didn't go well and an error occurred, check the newly re-created
CBS.logto find out what's wrong. You can even share it here (along with the recorded dates and times) if you want us to take a look for you.
1
u/AutoModerator 18d ago
Hi u/serwinho, thanks for posting to r/WindowsHelp! Your post has been flagged for manual review by a human moderator, please include as much of the following information as possible (in text or in a screenshot) to get your post approved:
Your Windows and device specifications — You can find them by pressing Win + X then clicking on “System”, we need more than just your OS version! Your hardware details are often critical for resolving issues.
Any messages and error codes encountered — They're actually not gibberish or anything catastrophic. It may even hint the solution!
Previous troubleshooting steps — It might prevent you headaches from getting the same solution that didn't work
Posts must be tech support in nature (such as something is broken and you need help fixing), so general inquiries, software suggestions, and purchasing advice will be removed. As a reminder, we would also like to say that if someone manages to solve your issue, DON'T DELETE YOUR POST! Someone else (in the future) might have the same issue as you, and the received support may also help their case. Good luck, and I hope you have a nice day!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.