Content deleted Content added
drop deleted image using AWB |
→History: officially called "Windows Me" not ME by microsoft Tags: Mobile edit Mobile app edit Android app edit App section source |
||
(43 intermediate revisions by 33 users not shown) | |||
Line 1:
{{
{{Infobox software
| logo = ▼
|
|
|
|
|
| released = {{Start date and age|1998|06|25}}
| latest release version =
| latest release date =
| operating system = [[Microsoft Windows]]
| genre = [[System software|System utility]]
| license = [[Proprietary software|Proprietary]] [[commercial software]]
| website = {{URL|https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sfc}}
}}
'''System File Checker''' ('''SFC'''<ref>
'''System File Checker''' is a utility in [[Microsoft Windows]] that allows users to scan for and restore corruptions in Windows system files. This utility is available on [[Windows 98]], [[Windows 2000]] and all subsequent versions of [[Windows NT]] family of operating systems. In [[Windows Vista]] and [[Windows 7]], System File Checker is integrated with [[Windows Resource Protection]], which protects [[Windows Registry|registry]] keys and folders as well as critical system files. Under Windows Vista, <code>sfc.exe</code> can be used to check specific folder paths, including the Windows folder and the boot folder.▼
{{cite book
| last1 = Boswell
| first1 = William
| chapter = Using the System File Checker, SFC
| title = Inside Windows Server 2003
| url = https://books.google.com/books?id=zayrcM9ZYdAC
| series = Inside Series
| year = 2003
| publication-date = 2003
| page = 860
| isbn = 9780735711587
| access-date = 2017-07-23
| quote = You do not need to hack the Registry to change the WFP settings. A command-line utility comes with Windows Server 2003 to set these values. Called the ''System File Checker'', or SFC, the utility can also rebuild the <code>D11Cache</code> directory files if files are accidentally deleted.
}}
</ref>) is a utility in [[Microsoft Windows]] that allows users to scan for and restore corrupted Windows system files.<ref>{{Cite web|url=https://www.computerhope.com/sfc.htm|title=MS-DOS and Windows command line SFC command}}</ref>
==Overview==
▲
[[Windows File Protection]] (WFP) works by registering for notification of file changes in [[Winlogon]]. If any changes are detected to a protected system file, the modified file is restored from a cached copy located in a compressed folder at <code>%WinDir%\System32\dllcache</code>.
[[Windows
==History==
Due to problems with Windows applications being able to overwrite system files in [[Windows 95]], Microsoft has since implemented a number of security measures to protect system files from malicious attacks, corruptions, or problems such as [[DLL hell|DLL Hell]].
System File Checker was first introduced on [[Windows 98]] as a GUI utility. It offered scanning and restoration of corrupted system files by matching the version number against a database containing the original version number of the files in a fresh Windows 98 installation. This method of file protection was basic. It determined system files by [[file extension]] and [[file path]]. It was able to restore files from the installation media or a source specified by the user. Windows 98 did not offer real-time system file protection beyond [[file attribute]]s; therefore, no preventive or reactive measure was available.
All Windows NT-based operating systems since [[Windows 2000]] introduced real-time file protection, called
|publisher=[[Microsoft]]
|date=
|work=
|title=Description of the Windows File Protection Feature
|url=http://support.microsoft.com/kb/222193/
|access-date=August 28, 2006
|url-status=live
|archive-url=https://web.archive.org/web/20041020015533/http://support.microsoft.com/kb/222193
|archive-date=October 20, 2004}}</ref>
In addition, the System File Checker utility (<code>sfc.exe</code>) was reimplemented as a more robust command-line utility that integrated with WFP. Unlike the Windows 98 SFC utility, the new utility forces a scan of protected system files using Windows File Protection and allows the immediate silent restoration of system files from the ''DLLCache'' folder or installation media.
SFC did not appear on [[Windows
|first=Lincoln
|last=Spector
|work=[[PC World]]
|publisher=[[International Data Group|IDG]]
|date=
|title=Answer Line: Windows 98 Utilities Missing in Windows Me?
|url=http://www.pcworld.com/article/41022/answer_line_windows_98_utilities_missing_in_windows_me.html
|access-date=December 26, 2011
|accessdate=2011-12-26}}</ref> as it was replaced with [[System File Protection]] (SFP).<ref>{{cite web▼
|url-status=dead
|archive-url=https://web.archive.org/web/20110605125202/http://www.pcworld.com/article/41022/answer_line_windows_98_utilities_missing_in_windows_me.html
▲ |
|publisher=[[Microsoft]]
|date=
|title=System File Protection and Windows Me
|url=http://www.microsoft.com/whdc/archive/WinMe_sfp.mspx
|access-date=August 28, 2006
|url-status=dead
|archive-url=https://web.archive.org/web/20040622001805/http://www.microsoft.com/whdc/archive/WinME_sfp.mspx
|archive-date=June 22, 2004}}
</ref> Similar to WFP, SFP offered real-time protection.
==Issues==
The System File Checker component included with versions of Windows 2000 earlier than Service Pack 4
{{cite web
|date=
|publisher=[[Microsoft
|work=
|url=http://support.microsoft.com/kb/814510/
|title=The SFC /SCANNOW Command May Overwrite Hotfix Files
|
|url-status=dead
|archive-url=https://web.archive.org/web/20061116172152/http://support.microsoft.com/kb/814510
This problem has since been rectified in Windows 2000 Service Pack 4.▼
|archive-date=November 16, 2006
==Usage==
In Windows NT-based operating systems, System File Checker can be invoked via [[cmd.exe|Windows Command Prompt]] (with Admin privilege<ref>{{cite web | title=SFC - System File CheckerWindows CMD | website=SS64.com | url=https://ss64.com/nt/sfc.html | access-date=2023-09-12}}</ref>), with the following command:
* {{code|sfc /scannow}} (to repair problems)
* or {{code|sfc /verifyonly}} (no repair)
If it finds a problem, it will attempt to replace the problematic files from the
In Windows Vista and onwards, files are protected using [[
System File Checker in Windows Vista and later Windows operating systems can scan
In cases where the component store is corrupted,
==References==
{{
==Further reading==
*{{Cite book|first=Æleen|last=Frisch|year=2001|title=Windows 2000 Commands Pocket Reference|publisher=[[O'Reilly Media|O'Reilly]]|isbn=978-0-596-00148-3}}
*{{Cite book|author=John Paul Mueller|year=2007|title=Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000|publisher=[[Wiley (publisher)|John Wiley & Sons]]|isbn=978-0470165799}}
==External links==
{{Wikibooks|Guide to Windows Commands}}
*[https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sfc sfc | Microsoft Docs]
*[https://support.microsoft.com/en-us/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system Use the System File Checker tool to repair missing or corrupted system files]
*[http://support.microsoft.com/kb/310747 Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)]
|