{"id":13,"date":"2013-03-03T23:34:12","date_gmt":"2013-03-03T23:34:12","guid":{"rendered":"http:\/\/montgomeryminds.com\/blog\/?p=13"},"modified":"2016-06-07T21:41:40","modified_gmt":"2016-06-08T02:41:40","slug":"description-of-windows-xp-and-windows-server-2003-system-file-checker-sfc-exe","status":"publish","type":"post","link":"https:\/\/montgomeryminds.com\/blog\/description-of-windows-xp-and-windows-server-2003-system-file-checker-sfc-exe\/","title":{"rendered":"Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)"},"content":{"rendered":"<style><!--\n.mybold {\nfont-weight: bold;\ncolor: yellow;\n}\n--><\/style>\n<p>A copy of <a title=\"sfc at support.microsoft.com\" href=\"http:\/\/support.microsoft.com\/kb\/310747\/en-us\" target=\"_blank\">Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)<\/a> (kb310747)<\/p>\n<h2 id=\"tocHeadRef\">SUMMARY<\/h2>\n<div id=\"MT1\">This article describes System File Checker (Sfc.exe), which is a command-line utility used with the <a title=\"Windows File Protection\" href=\"https:\/\/montgomeryminds.com\/blog\/?p=8\">Windows File Protection (WFP)<\/a> feature.<\/div>\n<div>\n<h2 id=\"tocHeadRef\">MORE INFORMATION<\/h2>\n<div id=\"MT2\">\n<p>System File Checker gives an administrator the ability to scan all protected files to verify their versions. If System File Checker discovers that a protected file has been overwritten, it retrieves the correct version of the file from the cache folder (%Systemroot%\\System32\\Dllcache) or the Windows installation source files, and then replaces the incorrect file. System File Checker also checks and repopulates the cache folder. You must be logged on as an administrator or as a member of the Administrators group to run System File Checker. If the cache folder becomes damaged or unusable, you can use the <b class=\"mybold\">sfc \/scannow<\/b>, the <b class=\"mybold\">sfc \/scanonce<\/b>, or the <b class=\"mybold\">sfc \/scanboot<\/b> commands to repair its contents.<\/p>\n<h3 id=\"tocHeadRef\">System File Checker Tool Syntax<\/h3>\n<div><b class=\"mybold\">Sfc [\/Scannow] [\/Scanonce] [\/Scanboot] [\/Revert] [\/Purgecache] [\/Cachesize=x]<\/b><\/div>\n<ul>\n<li><b class=\"mybold\">\/Scannow<\/b>: Scans all protected system files immediately and replaces incorrect versions with correct Microsoft versions. This command may require access to the Windows installation source files.<\/li>\n<li><b class=\"mybold\">\/Scanonce<\/b>: Scans all protected system files one time when you restart your computer. This command may require access to the Windows installation source files when you restart the computer. The <b class=\"mybold\">SfcScan<\/b> DWORD value is set to <b class=\"mybold\">2<\/b> in the following registry key when you run this command:\n<pre><b class=\"mybold\">HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon<\/b><\/pre>\n<\/li>\n<li><b class=\"mybold\">\/Scanboot<\/b>: Scans all protected system files every time you start your computer. This command may require access to the Windows installation source files every time you start your computer. The <b class=\"mybold\">SfcScan<\/b> DWORD value is set to <b class=\"mybold\">1<\/b> in the following registry key when you run this command:\n<pre><b class=\"mybold\">HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon<\/b><\/pre>\n<\/li>\n<li><b class=\"mybold\">\/Revert<\/b>: Returns scan to the default setting (do not scan protected files when you start the computer).The default cache size is not reset when you run this command. This command is equivalent to the <b class=\"mybold\">\/Enable<\/b> switch in Windows 2000.<\/li>\n<li><b class=\"mybold\">\/Purgecache<\/b>: Purges the file cache and scans all protected system files immediately. This command may require access to the Windows installation source files.<\/li>\n<li><b class=\"mybold\">\/Cachesize=<var>x<\/var><\/b>: Sets the file cache size to <var>x<\/var> megabytes (MB). The default size of the cache is 50 MB. This command requires you to restart the computer, and then run the <b class=\"mybold\">\/purgecache<\/b> command to adjust the size of the on-disk cache. This command sets the <b class=\"mybold\">SfcQuota<\/b> DWORD value to <var>x<\/var> in the following registry key:\n<pre><b class=\"mybold\">HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon<\/b><\/pre>\n<\/li>\n<\/ul>\n<p>For additional information about the Windows File Protection feature, click the article number below to view the article in the Microsoft Knowledge Base:<\/p>\n<div><a href=\"http:\/\/support.microsoft.com\/kb\/222193\/EN-US\">222193<\/a> Description of the Windows 2000 Windows File Protection Feature<\/div>\n<\/div>\n<p><!-- MT2 --><\/p>\n<div>\n<div>Article ID: 310747 &#8211; Last Review: December 1, 2007 &#8211; Revision: 4.8<\/div>\n<div>\n<h5>APPLIES TO<\/h5>\n<ul>\n<li>Microsoft Windows Server 2003, 64-Bit Datacenter Edition<\/li>\n<li>Microsoft Windows Server 2003, Enterprise x64 Edition<\/li>\n<li>Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)<\/li>\n<li>Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)<\/li>\n<li>Microsoft Windows Server 2003, Standard Edition (32-bit x86)<\/li>\n<li>Microsoft Windows Server 2003, Web Edition<\/li>\n<li>Microsoft Windows XP Home Edition<\/li>\n<li>Microsoft Windows XP Professional<\/li>\n<li>Microsoft Windows XP Professional x64 Edition<\/li>\n<li>Microsoft Windows XP Media Center Edition 2005 Update Rollup 2<\/li>\n<li>Microsoft Windows XP Tablet PC Edition<\/li>\n<\/ul>\n<\/div>\n<p><!-- applies-to list container --><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<h5>Keywords:<\/h5>\n<\/td>\n<td>kbinfo KB310747<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The results are on the command line screen, and not in the event viewer (<code>eventvwr.exe<\/code>), but more results are in <strong><code>c:\\Windows\\Logs\\CBS\\CBS.log<\/code><\/strong><\/p>\n<p>You&#8217;re looking for lines like:<\/p>\n<pre>\r\n2014-08-30 17:08:12, Info                  CSI    00000009 [SR] Verifying 100 (0x0000000000000064) components\r\n2014-08-30 17:08:12, Info                  CSI    0000000a [SR] Beginning Verify and Repair transaction\r\n2014-08-30 17:08:15, Info                  CSI    0000000b Repair results created:\r\nPOQ 0 starts:\r\n \r\nPOQ 0 ends.\r\n<\/pre>\n<p>and looking for errors like<\/p>\n<pre>\r\n2014-08-30 17:08:16, Info                  CSI    00000008 [SR] Repairing corrupted file [ml:520{260},l:108{54}]\"\\??\\E:\\Program Files\\Common Files\\Microsoft Shared\\DAO\"\\[l:20{10}]\"dao360.dll\" from store\r\n<\/pre>\n<\/div>\n<p><!-- end matter --><\/p>\n<\/div>\n<p><!-- main --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A copy of Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe) (kb310747) SUMMARY This article describes System File Checker (Sfc.exe), which is a command-line utility used with the Windows File Protection (WFP) feature. MORE INFORMATION System &hellip; <a href=\"https:\/\/montgomeryminds.com\/blog\/description-of-windows-xp-and-windows-server-2003-system-file-checker-sfc-exe\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,3],"tags":[],"_links":{"self":[{"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/posts\/13"}],"collection":[{"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":12,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":1467,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions\/1467"}],"wp:attachment":[{"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}