시스템 파일 검사기
System File Checker개발자 | 마이크로소프트 |
---|---|
초기 릴리즈 | 1998년 6월 25일, | 전(
운영 체제 | Microsoft Windows |
유형 | 시스템 유틸리티 |
면허증. | 독자 사양 상용 소프트웨어 |
웹 사이트 | docs |
System File Checker(SFC[1]; 시스템파일 체커)는 Microsoft Windows에서 사용자가 파손된 Windows 시스템파일을 [2]스캔하여 복원할 수 있는 유틸리티입니다.
개요
Microsoft 는, Windows 98, Windows 2000, 및 그 이후의 모든 버전의 Windows NT operating system과 함께 이 유틸리티를 출하합니다.Windows Vista, Windows 7 및 Windows 10 에서는, 시스템 파일 체커가 Windows 자원 보호(WRP)와 통합되어 레지스트리 키와 폴더 및 중요한 시스템 파일을 보호합니다.Windows Vista 에서는,sfc.exe
를 사용하여 Windows 폴더 및 부트 폴더를 포함한 특정 폴더 경로를 확인할 수 있습니다.
WFP(Windows File Protection)는 Winlogon에서 파일 변경 알림을 등록함으로써 작동합니다.보호된 시스템 파일에 대한 변경이 감지되면 수정된 파일은 다음 위치에 있는 압축 폴더에 있는 캐시된 복사본에서 복원됩니다.%WinDir%\System32\dllcache
. Windows 자원 보호는 보호된 자원에 대해 정의된 임의 접근컨트롤 리스트(DACL) 및 접근컨트롤 리스트(ACL)를 설정함으로써 기능합니다.WRP로 보호된 리소스를 수정하기 위한 전체 액세스 권한은 Windows Modules Installer 서비스를 사용하는 프로세스로 제한됩니다.TrustedInstaller.exe
). 관리자는 시스템파일에 대한 완전한 권한을 갖지 않게 되었습니다.
역사
Windows 95 에서는, Windows 애플리케이션이 시스템 파일을 덮어쓸 수 있는 문제가 발생하고 있기 때문에, Microsoft 는 그 후, 악의 있는 공격, 파손, 또는 DLL 헬등의 문제로부터 시스템 파일을 보호하기 위해서, 많은 시큐러티 대책을 실장하고 있습니다.
시스템 파일 체커는 Windows 98에서 GUI 유틸리티로 처음 도입되었습니다.Windows 98 의 신규 인스톨로 파일의 원래 버전 번호가 격납되어 있는 데이타베이스와 버전 번호를 대조하는 것으로, 파손된 시스템 파일의 스캔과 restore를 실현했습니다.이 파일 보호 방법은 기본입니다.파일 확장자 및 파일 경로별로 시스템 파일을 확인했습니다.인스톨 미디어 또는 유저가 지정한 소스에서 파일을 복원할 수 있었습니다.Windows 98은 파일 속성을 넘어 실시간 시스템 파일 보호 기능을 제공하지 않았기 때문에 예방책이나 대응책을 사용할 수 없었습니다.
Windows 2000 이후의 모든 Windows NT 기반 운영 체제에는 Windows 파일 보호(WFP)[3]라고 하는 실시간 파일 보호 기능이 도입되었습니다.
게다가 시스템 파일 체커 유틸리티(sfc.exe
)는 WFP와 통합된 보다 견고한 명령줄 유틸리티로 재실장되었습니다.Windows 98 SFC 유틸리티와 달리 이 새로운 유틸리티는 Windows File Protection을 사용하여 보호된 시스템 파일을 강제로 검사하고 DLLCache 폴더 또는 설치 미디어에서 시스템 파일을 즉시 사일런트 복원할 수 있습니다.
SFC는 System File Protection(SFP)[5]으로 대체되었기 때문에 Windows [4]Me에는 표시되지 않았습니다.WFP와 마찬가지로 SFP는 실시간 보호를 제공합니다.
문제들
Microsoft가 [6]배포한 Service Pack 4보다 이전 버전의 Windows 2000에 포함된 System File Checker 컴포넌트는 Windows 2000 Service Pack 4에서 수정되었습니다.
사용.
Windows NT 기반 운영 체제에서는 다음 명령을 사용하여 Windows 명령 프롬프트에서 시스템 파일 체커를 호출할 수 있습니다(관리[7] 권한 있음).
sfc /scannow (문제 복구)
또는
sfc / sfc only (복구 없음)
문제가 발견되면 문제가 있는 파일을 DLL 캐시에서 치환하려고 합니다.(%WinDir%\System32\Dllcache\
파일이 DLL 캐시에 없거나 DLL 캐시가 손상된 경우 Windows 설치 미디어를 삽입하거나 네트워크 설치 경로를 입력하라는 메시지가 표시됩니다.시스템 파일 체커는 레지스트리 값에서 윈도우즈 설치 소스 경로를 결정합니다.SourcePath
그리고.ServicePackSourcePath
이러한 값이 올바르게 [9]설정되어 있지 않은 경우는, 유저가 인스톨 미디어를 제공해도, 인스톨 미디어의 입력을 요구하는 프롬프트가 계속 표시되는 일이 있습니다.[8]
Windows Vista 이후에는 Access Control List(ACL; 접근컨트롤 리스트)를 사용하여 파일이 보호되지만 위의 명령어는 변경되지 않았습니다.
Windows Vista 이후의 Windows operating system에서는, 시스템 파일 체커가 지정한 파일을 스캔 할 수 있습니다.또, 오프라인의 Windows 인스톨 폴더에 대해서 스캔을 실시해, Windows 인스톨이 부트 할 수 없는 경우에 대비해, 파손된 파일을 치환할 수 있습니다.오프라인 검사를 수행하려면 시스템 파일 체커를 Windows Vista 이후의 운영 체제 또는 Windows 설치 DVD[10] 또는 Windows 복구 환경에 액세스할 수 있는 복구 드라이브에서 실행해야 합니다.
컴포넌트 스토어가 파손된 경우 Windows 7, Windows Vista, Windows Server 2008 R2 또는 Windows Server 2008에 "시스템 업데이트 준비 도구"(CheckSUR)를 설치할 수 있습니다.이 툴은 Windows 10, Windows 8.1, Windows 8 R2 또는 Windows Server 8 R2용 "DISM"으로 대체됩니다.이 도구는 스토어를 자체 페이로드와 비교하여 확인하고 Windows 업데이트를 [11]통해 필요한 파일을 다운로드하여 감지한 손상을 복구합니다.
레퍼런스
- ^ Boswell, William (2003). "Using the System File Checker, SFC". Inside Windows Server 2003. Inside Series. p. 860. ISBN 9780735711587. Retrieved 2017-07-23.
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
D11Cache
directory files if files are accidentally deleted. - ^ "MS-DOS and Windows command line SFC command".
- ^ "Description of the Windows File Protection Feature". Support. Microsoft. December 15, 2003. Archived from the original on October 20, 2004. Retrieved August 28, 2006.
- ^ Spector, Lincoln (February 14, 2001). "Answer Line: Windows 98 Utilities Missing in Windows Me?". PC World. IDG. Archived from the original on June 5, 2011. Retrieved December 26, 2011.
- ^ "System File Protection and Windows Me". Microsoft. December 4, 2011. Archived from the original on June 22, 2004. Retrieved August 28, 2006.
- ^ "The SFC /SCANNOW Command May Overwrite Hotfix Files". Support. Microsoft. October 30, 2006. Archived from the original on November 16, 2006. Retrieved February 1, 2010.
- ^ https://ss64.com/nt/sfc.html
- ^ "System File Checker does not accept a network location that contains the installer CD when you use the scannow switch in Windows XP SP2 or in Windows Server 2003". Support. Microsoft. January 13, 2005. Archived from the original on January 16, 2007.
- ^ "You are prompted to insert a Windows XP SP2 CD when you try to run the System File Checker tool on a Windows XP SP2-based computer". Support. Microsoft. July 5, 2005. Archived from the original on February 7, 2007.
- ^ kumar, Rohit (26 July 2016). "Run System File Checker Tool to Repair Windows 10/8/7 files". Craxworld. Self Published. Archived from the original on September 11, 2016.
- ^ "Fix Windows Update errors by using the DISM or System Update Readiness tool". Support. Microsoft. January 22, 2017. Retrieved February 11, 2017.
추가 정보
- Frisch, Æleen (2001). Windows 2000 Commands Pocket Reference. O'Reilly. ISBN 978-0-596-00148-3.
- John Paul Mueller (2007). Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000. John Wiley & Sons. ISBN 978-0470165799.
외부 링크
![](http://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/40px-Wikibooks-logo-en-noslogan.svg.png)