SHARE
TWEET

CleanComponentStore (winsxs)

ulfben Mar 8th, 2018 (edited) 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :: Run from elevated prompt to clean Windows 10 component store (aka: the "winsxs"-folder)
  2. :: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder
  3.  
  4. :: manually run StartComponentCleanup to remove unused components immediately. NOTE: can take >20 minutes.
  5. Dism.exe /online /Cleanup-Image /StartComponentCleanup
  6.  
  7. :: remove all superseded versions of every component in the component store.
  8. Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
  9.  
  10. :: remove backup files that are used to uninstall Service Packs.
  11. Dism.exe /online /Cleanup-Image /SPSuperseded
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top