{"id":362,"date":"2024-12-04T19:51:57","date_gmt":"2024-12-04T18:51:57","guid":{"rendered":"https:\/\/blog.forestraven.net\/?p=362"},"modified":"2025-02-05T08:17:22","modified_gmt":"2025-02-05T07:17:22","slug":"windows-image-repair-and-maintenance","status":"publish","type":"post","link":"https:\/\/blog.forestraven.net\/index.php\/windows-image-repair-and-maintenance\/","title":{"rendered":"Windows System Repair and Maintenance"},"content":{"rendered":"\n<p>Here is a list of things to do in order to repair and clean up a Windows 10\/11 installation.<\/p>\n\n\n\n<p>All commands must be run in an Administrator Terminal. Right-click on the Windows symbol and select <em>Terminal (Admin)<\/em> or <em>Powershell (Admin)<\/em>.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Repair<\/h2>\n\n\n\n<p>DISM can be used to check and repair the Windows Component Store: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dism.exe \/Online \/Cleanup-Image \/CheckHealth&nbsp;\ndism.exe \/Online \/Cleanup-Image \/ScanHealth&nbsp;\ndism.exe \/Online \/Cleanup-Image \/RestoreHealth&nbsp;\n\nSFC is used to check and repair Windows system files:\n\nsfc \/SCANNOW<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Cleanup<\/h2>\n\n\n\n<p>Remove old updates using DISM.<br>You won&#8217;t be able to uninstall any previously applied updates after this.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dism.exe \/online \/Cleanup-Image \/StartComponentCleanup \/ResetBase<\/code><\/pre>\n\n\n\n<p>Then clean unused files on the disk:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cleanmgr \/lowdisk<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Antivirus<\/h2>\n\n\n\n<p>Windows has a built in antivirus called Defender that is active by default and does not need to be replaced.<\/p>\n\n\n\n<p>If you are uncertain wether you might have caught something, download the <a href=\"https:\/\/learn.microsoft.com\/en-us\/defender-endpoint\/safety-scanner-download\" data-type=\"link\" data-id=\"https:\/\/learn.microsoft.com\/en-us\/defender-endpoint\/safety-scanner-download\">Microsoft Safety Scanner<\/a> and let it run a full scan (overnight)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Links<\/h2>\n\n\n\n<p>Further reading:<\/p>\n\n\n\n<p><a href=\"https:\/\/woshub.com\/dism-cleanup-image-restorehealth\">https:\/\/woshub.com\/dism-cleanup-image-restorehealth<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-hardware\/manufacture\/desktop\/clean-up-the-winsxs-folder\">https:\/\/learn.microsoft.com\/en-us\/windows-hardware\/manufacture\/desktop\/clean-up-the-winsxs-folder<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a list of things to do in order to repair and clean up a Windows 10\/11 installation. All commands must be run in an Administrator Terminal. Right-click on the Windows symbol and select Terminal (Admin) or Powershell (Admin).<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-362","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/posts\/362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/comments?post=362"}],"version-history":[{"count":9,"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/posts\/362\/revisions"}],"predecessor-version":[{"id":375,"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/posts\/362\/revisions\/375"}],"wp:attachment":[{"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/media?parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/categories?post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.forestraven.net\/index.php\/wp-json\/wp\/v2\/tags?post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}