{"id":450358,"date":"2022-05-20T23:00:00","date_gmt":"2022-05-20T20:00:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands\/"},"modified":"2022-05-20T23:00:00","modified_gmt":"2022-05-20T20:00:00","slug":"how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands\/","title":{"rendered":"#How to Repair Corrupted Windows System Files with the SFC and DISM Commands"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a3a0e8351201\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a3a0e8351201\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands\/#%E2%80%9CHow_to_Repair_Corrupted_Windows_System_Files_with_the_SFC_and_DISM_Commands%E2%80%9D\" >&#8220;How to Repair Corrupted Windows System Files with the SFC and DISM Commands&#8221;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands\/#When_You_Should_Run_These_Commands\" >When You Should Run These Commands<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands\/#Run_the_SFC_Command_to_Repair_System_Files\" >Run the SFC Command to Repair System Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands\/#Run_the_DISM_Command_to_Fix_SFC_Problems\" >Run the DISM Command to Fix SFC Problems<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands\/#Try_a_System_Restore_or_System_Reset_Next\" >Try a System Restore or System Reset Next<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9CHow_to_Repair_Corrupted_Windows_System_Files_with_the_SFC_and_DISM_Commands%E2%80%9D\"><\/span>&#8220;How to Repair Corrupted Windows System Files with the SFC and DISM Commands&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage alignnone size-full wp-image-804440\" data-pagespeed-lazy-srcset=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/shutterstock_1348486784.png?width=398&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 400w, https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/shutterstock_1348486784.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 1200w\" sizes=\"auto, 400w, 1200w\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/shutterstock_1348486784.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Lede Blue Screen of Death\" width=\"1200\" height=\"675\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>The System File Checker tool built into Windows can scan your Windows system files for corruption or any other changes. If a file has been modified, it will automatically replace that file with the correct version. Here\u2019s how to use it.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"When_You_Should_Run_These_Commands\"><\/span>When You Should Run These Commands<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If Windows is experiencing blue-screen or other crashes, <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lications are failing, or\u00a0some Windows features just aren\u2019t working properly, there are two system tools that might be able to help.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>Everything You Need To Know About the Blue Screen of Death<\/em><\/strong><\/p>\n<p>The System File Checker (SFC) tool built into Windows will scan your Windows system files for corruption or any other changes. If a file has been modified, it will automatically replace that file with the correct\u00a0version.\u00a0If the SFC command doesn\u2019t work, you can also try the Deployment Image Servicing and Management (DISM) command on Windows 8, 10, or 11 to repair the underlying Windows system image. On Windows 7 and earlier, Microsoft offers a downloadable \u201cSystem Update Readiness Tool\u201d instead. Let\u2019s take a look at how to use them.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Scan for (and Fix) Corrupt System Files in Windows<\/em><\/strong><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Run_the_SFC_Command_to_Repair_System_Files\"><\/span>Run the SFC Command to Repair System Files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Run the SFC command when\u00a0troubleshooting a buggy Windows system. SFC works by scanning for and replacing system files that are corrupt, missing, or changed. Even if the SFC command doesn\u2019t repair any files, running it will at least confirm that no system files are corrupted and then you can continue to troubleshoot your system with other methods. You can use the SFC command as long as the computer itself will start. If Windows will start normally, you can run it from an administrative command prompt. If Windows won\u2019t start normally, you can try starting it in Safe Mode or in the recovery environment by booting from your installation <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/social-mediaa\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Social Media\" target=\"_blank\" rel=\"noopener\">media<\/a> or recovery disc.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Use Safe Mode to Fix Your Windows PC (and When You Should)<\/em><\/strong><\/p>\n<p>However you get to the Command Prompt \u2014 normally, Safe Mode, or recovery environment \u2014 you\u2019ll use the command the same way. Just remember that if you start Windows normally, you will need to open the Command Prompt or PowerShell with administrative privileges. To do this,\u00a0right-click the Start button and select \u201cCommand Prompt (Admin)\u201d.<\/p>\n<blockquote class=\"admonishment_note\"><p><strong>Note:<\/strong> On Windows 11, you might need to select \u201cWindows Terminal (Admin)\u201d instead of \u201cCommand\u00a0 Prompt\u00a0(Admin)\u201d or \u201cPowerShell (Admin)\u201d.<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-805242\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/2022-05-13_12h46_20.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"270\" height=\"405\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>At the Command Prompt, type the following command and press Enter to run a full system scan and have SFC attempt repairs:<\/p>\n<pre>sfc \/scannow<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-293276\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/img_55a36246e2675.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Command Prompt with sfc \/scannow running. \" width=\"591\" height=\"228\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Leave the Command Prompt window open until the command completes, which may take some time. If everything is fine, you\u2019ll see the message \u201cWindows Resource Protection did not find any integrity violations.\u201d<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Use Safe Mode to Fix Your Windows PC (and When You Should)<\/em><\/strong><\/p>\n<p>If you see a \u201cWindows Resource Protection found corrupt files but was unable to fix some of them\u201d message, try restarting your PC in Safe Mode and running the command again. And if that fails, you can also try booting with your installation media or recovery disc and trying the command from there.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-243357\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2016\/02\/scannow_2-650x329.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"The results of scan now --- it found corrupt files. \" width=\"650\" height=\"329\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Run_the_DISM_Command_to_Fix_SFC_Problems\"><\/span>Run the DISM Command to Fix SFC Problems<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You shouldn\u2019t normally have to run the DISM command. However, if the SFC command fails to run properly or can\u2019t replace a corrupted file with the\u00a0correct one, the DISM command \u2014 or System Update Readiness Tool in Windows 7 \u2014 can sometimes fix the underlying Windows system and make SFC run correctly.<\/p>\n<p>To run the DISM command in Windows 8, 10, and 11, open Command Prompt, PowerShell, or Windows Terminal with administrative privileges. Type the following command and then press Enter to have DISM check your Windows component store for corruption and automatically fix any problems it finds.<\/p>\n<pre>DISM\u00a0\/Online \/Cleanup-Image \/RestoreHealth<\/pre>\n<p>Allow the command to finish running before closing the\u00a0Command Prompt window. This may\u00a0take five to ten minutes. It\u2019s normal for the progress bar to stay at 20 percent for a while, so don\u2019t worry about that.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-293277\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/img_55a36280c11a4.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Command Prompt running the DISM command. \" width=\"609\" height=\"234\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>If the results of the DISM command state that anything was changed, restart your PC and you should then be able to run the SFC command successfully.<\/p>\n<p>On Windows 7 and earlier, the DISM command isn\u2019t available. Instead, you can download and run the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/click.linksynergy.com\/deeplink?id=2QzUaswX1as&amp;mid=24542&amp;u1=htg\/222532&amp;murl=https%3A%2F%2Fwww.catalog.update.microsoft.com%2FSearch.aspx%3Fq%3D947821\">System Update Readiness Tool<\/a>\u00a0from Microsoft\u00a0and use it to scan your system for problems and attempt to fix them.<\/p>\n<blockquote class=\"admonishment_note\"><p><strong>Note:<\/strong> If you\u2019re still using Windows 7, you\u2019ll need to grab the right version of the Readiness Tool. The latest version available is \u201cSystem Update Readiness Tool for Windows 7 for x64-based Systems (KB947821) [October 2014].\u201d Download that one.<\/p><\/blockquote>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Try_a_System_Restore_or_System_Reset_Next\"><\/span>Try a System Restore or System Reset Next<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you\u2019re still experiencing system problems and the SFC and DISM commands don\u2019t help, you can try more drastic actions.<\/p>\n<p>Running the System Restore tool will restore your Windows operating system files, settings, and applications to an earlier state. This may fix system corruption problems if the operating system wasn\u2019t also damaged at the earlier point when the restore point was created.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Use System Restore in Windows 10, 11, 7, and 8<\/em><\/strong><\/p>\n<p>An if all else fails, you could always resort to performing a system reset or reinstalling Windows. On Windows 8, 10, and 11 you can perform a \u201cReset this PC\u201d operation to reset Windows to its default state. You\u2019ll have the option to keep your personal files in place \u2014 though you\u2019ll have to reinstall programs \u2014 or to remove everything and do a complete reinstall. Whichever you choose, make sure you\u2019ve backed up your PC first! On Windows 7 and earlier, this will require using your computer\u2019s manufacturer-provided recovery partition or reinstalling Windows from scratch.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-222537 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2015\/07\/img_55a362b8859eb.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"The &quot;Reset This PC&quot; options. Try &quot;Keep My Files&quot; first.\" width=\"650\" height=\"369\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>If you encounter other errors while running any of the commands we\u2019ve covered, try searching the web for the specific errors you encounter. The commands will often point you to log files with more information if they fail \u2014 check the logs for more details about specific problems. Ultimately, it may not be worth troubleshooting serious Windows corruption problems when you can just reset Windows to its default state or reinstall it. That decision will be up to you.<\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/222532\/how-to-repair-corrupted-windows-system-files-with-the-sfc-and-dism-commands\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;How to Repair Corrupted Windows System Files with the SFC and DISM Commands&#8221; The System File Checker tool built into Windows can scan your Windows system files for corruption or any other changes. If a file has been modified, it will automatically replace that file with the correct version. Here\u2019s how to use it. When&#8230;<\/p>\n","protected":false},"author":1,"featured_media":450359,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/02\/shutterstock_1348486784.png?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-450358","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/450358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=450358"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/450358\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/450359"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=450358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=450358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=450358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}