{"id":1896,"date":"2016-03-02T02:09:10","date_gmt":"2016-03-02T02:09:10","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=1896"},"modified":"2020-04-17T22:27:14","modified_gmt":"2020-04-17T22:27:14","slug":"dism-clear-folder","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/dism-clear-folder","title":{"rendered":"DISM Cleanup Folder"},"content":{"rendered":"<p>For Server 2008 r2 and High<\/p><p>Run<\/p><p><strong>DISM \/online \/Cleanup-Image \/StartComponentCleanup<\/strong><\/p><p>You may need to start trusted installer before hand<\/p><p><strong>net start TrustedInstaller<\/strong><\/p><p>Run\u00a0COMPCLN<\/p><p>Server 2008<\/p><p>Run \u00a0: COMPCLN.EXE<\/p><p>&nbsp;<\/p><p><em class=\"_7s4syPYtk5hfUIjySXcRE\">Task Scheduler (Local) &#8211;&gt; Task Scheduler Library &#8211;&gt; Microsoft &#8211;&gt; Windows &#8211;&gt; Servicing &#8211;&gt; StartComponentCleanup<\/em><\/p><p>&nbsp;<\/p><ul class=\"_33MEMislY0GAlB78wL1_CR\"><li class=\"_3gqTEjt4x9UIIpWiro7YXz\"><p class=\"_1qeIAgB0cPwnLhDF9XSiJM\"><em class=\"_7s4syPYtk5hfUIjySXcRE\">dism.exe \/Online \/Cleanup-Image \/RestoreHealth<\/em><\/p><\/li><li class=\"_3gqTEjt4x9UIIpWiro7YXz\"><p class=\"_1qeIAgB0cPwnLhDF9XSiJM\"><em class=\"_7s4syPYtk5hfUIjySXcRE\">sfc \/scannow<\/em><\/p><\/li><\/ul><p>&nbsp;<\/p><p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">In an elevated command prompt, exec these 2 commands<\/p><p class=\"_1qeIAgB0cPwnLhDF9XSiJM\"><code class=\"_34q3PgLsx9zIU5BiSOjFoM\">copy C:\\Windows\\winsxs\\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\\cleanmgr.exe %systemroot%\\System32<\/code><\/p><p class=\"_1qeIAgB0cPwnLhDF9XSiJM\"><code class=\"_34q3PgLsx9zIU5BiSOjFoM\">copy C:\\Windows\\winsxs\\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\\cleanmgr.exe.mui %systemroot%\\System32\\en-US<\/code><\/p><p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">You can then invoke disk cleanup the normal way &#8211; type\u00a0<code class=\"_34q3PgLsx9zIU5BiSOjFoM\">cleanmgr<\/code>\u00a0and hit enter.<\/p><p>&nbsp;<\/p><p>Dism.exe \/online \/Cleanup-Image \/StartComponentCleanup then: Dism.exe \/online \/Cleanup-Image \/StartComponentCleanup \/ResetBase<\/p>","protected":false},"excerpt":{"rendered":"<p>For Server 2008 r2 and HighRunDISM \/online \/Cleanup-Image \/StartComponentCleanupYou may need to start trusted installer before handnet start TrustedInstallerRun\u00a0COMPCLNServer 2008Run \u00a0: COMPCLN.EXE&nbsp;Task Scheduler (Local) &#8211;&gt; Task Scheduler [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[3193,1421,1145,1234,1420],"class_list":["post-1896","post","type-post","status-publish","format-standard","hentry","category-random","tag-cleanup","tag-compcln","tag-disk","tag-dism","tag-winsxs"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/1896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=1896"}],"version-history":[{"count":5,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/1896\/revisions"}],"predecessor-version":[{"id":4536,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/1896\/revisions\/4536"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=1896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=1896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=1896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}