{"id":1685,"date":"2016-02-22T06:26:09","date_gmt":"2016-02-22T11:26:09","guid":{"rendered":"http:\/\/swildow.darktech.org\/wp\/?p=1685"},"modified":"2016-02-22T06:26:09","modified_gmt":"2016-02-22T11:26:09","slug":"winsxs-folder-cleanup","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=1685","title":{"rendered":"winsxs folder cleanup"},"content":{"rendered":"<p>Depends on the OS version.\u00a0 With Windows 10, it should be self-maintaining.\u00a0 For Windows 8.1, you can use DISM:<\/p>\n<p>DISM \/online \/Cleanup-Image \/StartComponentCleanup \/ResetBase<\/p>\n<p>For Windows 7, the \/ResetBase option isn\u2019t available.<\/p>\n<p>The nuances of \/ResetBase vs. no \/ResetBase are kind of important:\u00a0 With \/StartComponentCleanup, older versions of updated components are removed from the winsxs folder, but the latest version and the original version are still present.\u00a0 With \/ResetBase, you are saying to get rid of the original version as well.<\/p>\n<p>Of course once you do either of these commands, you make it much more difficult to uninstall updates.<\/p>\n<p>Other than these DISM commands, there\u2019s no supported way to clean up winsxs.<\/p>\n<div class=\"gmail_default\"><b>First :<\/b><\/div>\n<div class=\"gmail_default\">\n<div class=\"gmail_default\">Cleanmgr \/sageset:1 &amp; @pause &amp; CleanMgr \/sagerun:1<\/div>\n<div class=\"gmail_default\">Tick all ticks in the first cleaner popup and hit OK<\/div>\n<div class=\"gmail_default\">Then press a key at the &#8220;Press any key to continue&#8221; prompt<\/div>\n<div class=\"gmail_default\">The cleaner will then clean stuff you normally cannot see in CleanMgr<\/div>\n<div><\/div>\n<div><b>Then :<\/b><\/div>\n<div>\n<div><span style=\"font-family: verdana,sans-serif;\">Dism \/Online \/Cleanup-Image \/AnalyzeComponentStore<\/span><\/div>\n<div><span style=\"font-family: verdana,sans-serif;\">Dism \/Online \/Cleanup-Image \/StartComponentCleanup<\/span><\/div>\n<div><span style=\"font-family: verdana,sans-serif;\">Dism \/Online \/Cleanup-Image \/StartComponentCleanup \/ResetBase<\/span><\/div>\n<div><span style=\"font-family: verdana,sans-serif;\">Dism \/Online \/Cleanup-Image \/SPSuperseded<\/span><\/div>\n<\/div>\n<div><\/div>\n<div><b>Then optionally:<\/b><\/div>\n<div>\n<div>Dism \/Online \/Cleanup-Image \/CheckHealth<\/div>\n<div>Dism \/Online \/Cleanup-Image \/ScanHealth<\/div>\n<div><\/div>\n<div><b>And if issues are found:<\/b><\/div>\n<div>: Dism \/Online \/Cleanup-Image \/RestoreHealth<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Depends on the OS version.\u00a0 With Windows 10, it should be self-maintaining.\u00a0 For Windows 8.1, you can use DISM: DISM \/online \/Cleanup-Image \/StartComponentCleanup \/ResetBase For Windows 7, the \/ResetBase option isn\u2019t available. The nuances of \/ResetBase vs. no \/ResetBase are &#8230; <a class=\"more-link\" href=\"http:\/\/www.wildow.com\/blog\/?p=1685\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[25],"class_list":["post-1685","post","type-post","status-publish","format-standard","hentry","category-windows","tag-winsxs"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1685"}],"version-history":[{"count":1,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1685\/revisions"}],"predecessor-version":[{"id":1686,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1685\/revisions\/1686"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1685"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}