{"id":801,"date":"2023-12-03T03:51:16","date_gmt":"2023-12-03T03:51:16","guid":{"rendered":"https:\/\/learnsysadmin.com\/?post_type=kbe_knowledgebase&#038;p=801"},"modified":"2023-12-06T12:02:09","modified_gmt":"2023-12-06T12:02:09","slug":"sfc-and-dism","status":"publish","type":"kbe_knowledgebase","link":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/","title":{"rendered":"SFC and DISM to repair missing or corrupt files"},"content":{"rendered":"\n<p class=\"has-medium-font-size wp-block-paragraph\">This article briefly talks about <strong>SFC<\/strong> (<strong>System File Checker<\/strong>) and <strong>DISM<\/strong> (<strong>Deployment Image Servicing and Management<\/strong>). The aforementioned Windows tools, <strong>SFC<\/strong> and <strong>DISM<\/strong> will help you to <strong>scan<\/strong>, <strong>identify<\/strong> and <strong>fix Windows based file corruption issues<\/strong>. We will go through the <strong>function of each tool<\/strong> and will also look at the <strong>common commands<\/strong> to use them.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Summary of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" 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: #999;color:#999\" 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><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_SFC_%E2%80%93_System_File_Checker\" title=\"What is SFC &#8211; System File Checker?\">What is SFC &#8211; System File Checker?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_does_SFC_do\" title=\"What does SFC do?\">What does SFC do?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_a_Windows_Image\" title=\"What is a Windows Image?\">What is a Windows Image?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_are_the_types_of_Windows_Images\" title=\"What are the types of Windows Images?\">What are the types of Windows Images?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Component_Store_in_Windows\" title=\"What is Windows Component Store in Windows?\">What is Windows Component Store in Windows?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#Command_to_run_SFC_%E2%80%93_System_File_Checker\" title=\"Command to run SFC &#8211; System File Checker?\">Command to run SFC &#8211; System File Checker?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_DISM_%E2%80%93_Deployment_Image_Servicing_and_Management\" title=\"What is DISM &#8211; Deployment Image Servicing and Management?\">What is DISM &#8211; Deployment Image Servicing and Management?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#DISM_Command_Explanation\" title=\"DISM Command Explanation\">DISM Command Explanation<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#How_to_run_the_DISM_command_without_Internet\" title=\"How to run the DISM command without Internet?\">How to run the DISM command without Internet?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#Offline_Source_Without_Internet_command_explained\" title=\"Offline Source (Without Internet) command explained\">Offline Source (Without Internet) command explained<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_should_your_run_first_SFC_Or_DISM\" title=\"What should your run first, SFC Or DISM?\">What should your run first, SFC Or DISM?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Resource_Protection\" title=\"What is Windows Resource Protection?\">What is Windows Resource Protection?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_are_Protected_Resources\" title=\"What are Protected Resources?\">What are Protected Resources?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_does_Windows_Resource_Protection_do\" title=\"What does Windows Resource Protection do?\">What does Windows Resource Protection do?<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_SFC_%E2%80%93_System_File_Checker\"><\/span>What is SFC &#8211; System File Checker?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">As the name suggests, you can use the SFC tool to <strong>scan and restore corrupt system files<\/strong> in Windows. <strong>SFC<\/strong> is <strong>part of <\/strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Resource_Protection\"><strong>Windows Resource Protection<\/strong> (<strong>WRP<\/strong>)<\/a> since the release of Windows Vista.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_does_SFC_do\"><\/span>What does SFC do?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The <strong>SFC<\/strong> utility <strong>allows<\/strong> windows administrators to <strong>scan<\/strong> all the <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_are_Protected_Resources\">protected resources<\/a><\/strong> in the <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_a_Windows_Image\">Windows Image<\/a><\/strong> to <strong>verify their versions<\/strong>. <strong>SFC scans<\/strong> the operating system <strong>files<\/strong> that are <strong>critical<\/strong> to the <strong>windows restart process<\/strong> and <strong>replaces them<\/strong> <strong>if<\/strong> the <strong>version of the file<\/strong> does <strong>not<\/strong> match the <strong>correct version<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_a_Windows_Image\"><\/span>What is a Windows Image?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">A <strong>Windows Image<\/strong> is a <strong>group<\/strong> of <strong>file<\/strong>, <strong>components<\/strong>, <strong>settings<\/strong>, and <strong>packages<\/strong> (<strong>Module<\/strong> is a <strong>single<\/strong> <strong>file<\/strong> with code and <strong>package<\/strong> is a <strong>group of modules<\/strong>) that <strong>collectively<\/strong> form the <strong>Windows Operating System<\/strong>. It is a <strong>representation<\/strong> of the <strong>data<\/strong> present on your <strong>operating system<\/strong> <strong>hard drive<\/strong> i.e. C:\\ usually.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_are_the_types_of_Windows_Images\"><\/span>What are the types of Windows Images?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">We have 2 types of Windows Images available, <strong>Online<\/strong> Image and <strong>Offline<\/strong> Image.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>Online Image<\/strong>: An <strong>online<\/strong> image is an image that <strong>you can boot into<\/strong>, i.e. the Operating system is bootable and online.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Offline Image<\/strong>: An <strong>offline<\/strong> image is <strong>not a running instance<\/strong> of Windows Operating System and cannot be logged onto. An Offline image can have the following file formats \/ extensions:\n<ol class=\"wp-block-list\" style=\"list-style-type:lower-alpha\">\n<li class=\"has-medium-font-size\">.wim (Windows Image)<\/li>\n\n\n\n<li class=\"has-medium-font-size\">.ffu (Full Flash Update)<\/li>\n\n\n\n<li class=\"has-medium-font-size\">.vhd (Virtual Hard Disk)<\/li>\n\n\n\n<li class=\"has-medium-font-size\">.vhdx (Virtual Hard Disk v2)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Windows_Component_Store_in_Windows\"><\/span>What is Windows Component Store in Windows?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The source that SFC utility uses to copy the files from is the known as the <strong>Windows Component Store<\/strong> and the <strong>location<\/strong> of <strong>Windows component Store<\/strong> is as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>%WinDir%\\WinSxS<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Command_to_run_SFC_%E2%80%93_System_File_Checker\"><\/span>Command to run SFC &#8211; System File Checker?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Click on the Start button to open Command Prompt as <strong>Administrator<\/strong> and run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>sfc \/scannow<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted has-medium-font-size\">Click <strong><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/wfp\/system-file-checker\">here<\/a><\/strong> to <strong>read more about SFC - System File Checker<\/strong> from Microsoft<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_DISM_%E2%80%93_Deployment_Image_Servicing_and_Management\"><\/span>What is DISM &#8211; Deployment Image Servicing and Management?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>DISM (Deployment Image Servicing and Management)<\/strong> is a <strong>command-line tool<\/strong> that you can use to <strong>service Windows Online and Offline Images<\/strong>. You can use the tool to <strong>install<\/strong>, <strong>uninstall<\/strong>, <strong>configure<\/strong>, and <strong>update<\/strong> various <strong>Windows features<\/strong>, <strong>packages<\/strong>, <strong>drivers<\/strong>, and <strong>international settings<\/strong>.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">By default, DISM command <strong>uses Windows Update (WU)<\/strong>, which is an <strong>Online Source<\/strong> for <strong>repairing online images<\/strong>.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Here is the <strong>subset<\/strong> of the <strong>DISM commands<\/strong> that you can use to <strong>service<\/strong> an <strong>Online Image<\/strong> and fix the <strong>Component Store corruptions<\/strong> in the image:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>Dism \/Online \/Cleanup-Image \/CheckHealth<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>Dism \/Online \/Cleanup-Image \/ScanHealth<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>Dism \/Online \/Cleanup-Image \/RestoreHealth<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"DISM_Command_Explanation\"><\/span>DISM Command Explanation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Online:<\/strong> This option is used for <strong>Image Specification<\/strong>. The Online Switch in the DISM command instructs the tool to service the <strong>running operating system<\/strong> <strong>on<\/strong> your <strong>local machine<\/strong>.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Cleanup-Image:<\/strong> The <strong>Cleanup-Image<\/strong> Switch in the DISM command instructs the tool to performs <strong>cleanup and recovery operations<\/strong> <strong>on<\/strong> the <strong>target image<\/strong> selected in the previous switch i.e. Online (OS running locally) Or an Specific Mounted Offline Image.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>CheckHealth:<\/strong> The <strong>CheckHealth<\/strong> Switch in the DISM command check <strong>if<\/strong> any <strong>failed process<\/strong> has marked the <strong>image corrupt<\/strong>, and, this switch <strong>also checks<\/strong> whether the <strong>corruption is repairable<\/strong> or not.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>ScanHealth:<\/strong> The <strong>ScanHealth<\/strong> Switch in the DISM command <strong>checks<\/strong> for <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Component_Store_in_Windows\">Component Store<\/a><\/strong> <strong>corruption<\/strong> and hence this command can <strong>take several minutes<\/strong> to complete.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>RestoreHealth:<\/strong> The <strong>RestoreHealth<\/strong> Switch in the DISM command <strong>checks<\/strong> for <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Component_Store_in_Windows\">Component Store<\/a><\/strong> <strong>corruption<\/strong> and <strong>performs<\/strong> the <strong>repair operation automatically<\/strong>. Since the DISM check the <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Component_Store_in_Windows\">Component Store<\/a><\/strong>, this command can <strong>take several minutes<\/strong> to complete.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_run_the_DISM_command_without_Internet\"><\/span>How to run the DISM command without Internet?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Use the following command to run the DISM command when internet is not available:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>Dism \/Online \/Cleanup-Image \/RestoreHealth \/Source:c:\\test\\mount\\windows \/LimitAccess<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Offline_Source_Without_Internet_command_explained\"><\/span>Offline Source (Without Internet) command explained<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>LimitAccess:<\/strong> This switch prevents the DISM command from <strong>using<\/strong> the <strong>Windows Update (WU)<\/strong> as its <strong>source for repairing<\/strong> the Corrupt <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Component_Store_in_Windows\">Component Store<\/a><\/strong>.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Source<\/strong>: This switch specifies the <strong>source to be used<\/strong> for repairing the Corrupt <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Component_Store_in_Windows\">Component Store<\/a><\/strong> <strong>instead<\/strong> of using <strong>Windows Update (WU)<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-medium-font-size\">Click <strong><a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/dism\/repair-windowsimage?view=windowsserver2022-ps\">here<\/a><\/strong> to read more about the <strong>DISM commands listed above<\/strong> on Microsoft site<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted has-medium-font-size\">Click <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/wfp\/about-windows-file-protection\"><strong>her<\/strong><\/a><strong><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-hardware\/manufacture\/desktop\/what-is-dism?view=windows-11\">e<\/a><\/strong> to <strong>read more about DISM - Deployment Image Servicing and Management<\/strong> from Microsoft<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_should_your_run_first_SFC_Or_DISM\"><\/span>What should your run first, SFC Or DISM?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">A very common question that comes across while fixing file corruption issues in Windows operating system is what should you run first SFC Or DISM.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">We would recommend to <strong>run<\/strong> <strong>SFC first<\/strong> <strong>followed by DISM and SFC again<\/strong>. This <strong>sandwich approach<\/strong> is very effective wherein we check the <strong>System files first<\/strong> by running the <strong>SFC command<\/strong>. Then, we would run the <strong>DISM<\/strong> to fix any Component Store corruptions. And <strong>finally<\/strong>, we would <strong>again<\/strong> run the <strong>SFC command<\/strong> to fix system files corruptions, if any.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Windows_Resource_Protection\"><\/span>What is Windows Resource Protection?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>WRP (Windows Resource Protection)<\/strong> is a <strong>tool\/mechanism<\/strong> that <strong>Windows<\/strong> operating systems <strong>uses to prevent<\/strong> the <strong>unauthorized replacement<\/strong> of <strong>Protected Resources<\/strong>. <strong>Protecting<\/strong> the important resources <strong>prevents<\/strong> <strong>application<\/strong> and <strong>operating system failures<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_are_Protected_Resources\"><\/span>What are Protected Resources?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Protected Resources<\/strong> are the important <strong>files, folders and registry keys<\/strong> in <strong>Windows Operating system<\/strong> that <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_is_Windows_Resource_Protection\">WRP<\/a> protects<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_does_Windows_Resource_Protection_do\"><\/span>What does Windows Resource Protection do?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>WRP protects<\/strong> <a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_are_Protected_Resources\"><strong>Protected Resources<\/strong><\/a> by defining an <strong>Access Control List (ACL)<\/strong> for the aforementioned <strong><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#What_are_Protected_Resources\">Protected Resources<\/a><\/strong>.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Only <strong>TrustedInstaller<\/strong>, the <strong>built-in user account<\/strong>, has <strong>full-access<\/strong> permission to <strong>modify<\/strong> the files, folders and registry keys that the <strong>Windows Resource Protection protects<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-medium-font-size\">Click <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/wfp\/about-windows-file-protection\"><strong>here<\/strong><\/a> to <strong>read more about Windows Resource Protection<\/strong> from Microsoft<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This article briefly talks about SFC (System File Checker) and DISM (Deployment Image Servicing and Management). The aforementioned Windows tools, SFC and DISM will help you to scan, identify and fix Windows based file corruption issues. We will go through the function of each tool and will also look at the common commands to use ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","kbe_taxonomy":[54],"kbe_tags":[],"class_list":["post-801","kbe_knowledgebase","type-kbe_knowledgebase","status-publish","hentry","kbe_taxonomy-windows-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SFC and DISM to repair missing or corrupt files - Learn System Administration<\/title>\n<meta name=\"description\" content=\"What is System File Checker (SFC), What is DISM (Deployment Image Servicing and Management), SFC vs DISM, Repair missing or corrupt files\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SFC and DISM to repair missing or corrupt files - Learn System Administration\" \/>\n<meta property=\"og:description\" content=\"What is System File Checker (SFC), What is DISM (Deployment Image Servicing and Management), SFC vs DISM, Repair missing or corrupt files\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn System Administration\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-06T12:02:09+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/\",\"url\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/\",\"name\":\"SFC and DISM to repair missing or corrupt files - Learn System Administration\",\"isPartOf\":{\"@id\":\"https:\/\/learnsysadmin.com\/#website\"},\"datePublished\":\"2023-12-03T03:51:16+00:00\",\"dateModified\":\"2023-12-06T12:02:09+00:00\",\"description\":\"What is System File Checker (SFC), What is DISM (Deployment Image Servicing and Management), SFC vs DISM, Repair missing or corrupt files\",\"breadcrumb\":{\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learnsysadmin.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledgebase\",\"item\":\"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SFC and DISM to repair missing or corrupt files\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnsysadmin.com\/#website\",\"url\":\"https:\/\/learnsysadmin.com\/\",\"name\":\"Learn System Administration\",\"description\":\"Learn the basics\",\"publisher\":{\"@id\":\"https:\/\/learnsysadmin.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnsysadmin.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/learnsysadmin.com\/#organization\",\"name\":\"Learn System Administration\",\"url\":\"https:\/\/learnsysadmin.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learnsysadmin.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/learnsysadmin.com\/wp-content\/uploads\/2023\/07\/icons8-admin-settings-male-100.png\",\"contentUrl\":\"https:\/\/learnsysadmin.com\/wp-content\/uploads\/2023\/07\/icons8-admin-settings-male-100.png\",\"width\":100,\"height\":100,\"caption\":\"Learn System Administration\"},\"image\":{\"@id\":\"https:\/\/learnsysadmin.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SFC and DISM to repair missing or corrupt files - Learn System Administration","description":"What is System File Checker (SFC), What is DISM (Deployment Image Servicing and Management), SFC vs DISM, Repair missing or corrupt files","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/","og_locale":"en_US","og_type":"article","og_title":"SFC and DISM to repair missing or corrupt files - Learn System Administration","og_description":"What is System File Checker (SFC), What is DISM (Deployment Image Servicing and Management), SFC vs DISM, Repair missing or corrupt files","og_url":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/","og_site_name":"Learn System Administration","article_modified_time":"2023-12-06T12:02:09+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/","url":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/","name":"SFC and DISM to repair missing or corrupt files - Learn System Administration","isPartOf":{"@id":"https:\/\/learnsysadmin.com\/#website"},"datePublished":"2023-12-03T03:51:16+00:00","dateModified":"2023-12-06T12:02:09+00:00","description":"What is System File Checker (SFC), What is DISM (Deployment Image Servicing and Management), SFC vs DISM, Repair missing or corrupt files","breadcrumb":{"@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/sfc-and-dism\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learnsysadmin.com\/"},{"@type":"ListItem","position":2,"name":"Knowledgebase","item":"https:\/\/learnsysadmin.com\/index.php\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"SFC and DISM to repair missing or corrupt files"}]},{"@type":"WebSite","@id":"https:\/\/learnsysadmin.com\/#website","url":"https:\/\/learnsysadmin.com\/","name":"Learn System Administration","description":"Learn the basics","publisher":{"@id":"https:\/\/learnsysadmin.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnsysadmin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/learnsysadmin.com\/#organization","name":"Learn System Administration","url":"https:\/\/learnsysadmin.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learnsysadmin.com\/#\/schema\/logo\/image\/","url":"https:\/\/learnsysadmin.com\/wp-content\/uploads\/2023\/07\/icons8-admin-settings-male-100.png","contentUrl":"https:\/\/learnsysadmin.com\/wp-content\/uploads\/2023\/07\/icons8-admin-settings-male-100.png","width":100,"height":100,"caption":"Learn System Administration"},"image":{"@id":"https:\/\/learnsysadmin.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_knowledgebase\/801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_knowledgebase"}],"about":[{"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/types\/kbe_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/comments?post=801"}],"version-history":[{"count":61,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_knowledgebase\/801\/revisions"}],"predecessor-version":[{"id":894,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_knowledgebase\/801\/revisions\/894"}],"wp:attachment":[{"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/media?parent=801"}],"wp:term":[{"taxonomy":"kbe_taxonomy","embeddable":true,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_taxonomy?post=801"},{"taxonomy":"kbe_tags","embeddable":true,"href":"https:\/\/learnsysadmin.com\/index.php\/wp-json\/wp\/v2\/kbe_tags?post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}