Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Windows File Protection

From Wikipedia, the free encyclopedia
Microsoft Windows security sub-system
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(October 2015) (Learn how and when to remove this message)
This article needs to beupdated. Please help update this article to reflect recent events or newly available information.(June 2025)
(Learn how and when to remove this message)

Windows File Protection (WFP), a sub-system included inMicrosoft Windowsoperating systems of theWindows 2000 andWindows XP era, aims to prevent programs from replacing critical Windowssystem files.[1][2][3] Protecting core system files mitigates problems such asDLL hell with programs and the operating system. Windows 2000,Windows XP andWindows Server 2003 include WFP under the name ofWindows File Protection;Windows Me includes it asSystem File Protection (SFP).

Operation

[edit]

With Windows File Protection active, replacing or deleting a system file that has nofile lock to prevent it getting overwritten causes Windows immediately and silently to restore the original copy of the file. The original version of the file is restored from a cached folder which contains backup copies of these files. TheWindows NT family uses the cached folder%SystemRoot%\System32\Dllcache.Windows Me caches its entire set of compressed cabinet setup files and stores them in the%windir%\Options\Install folder.

WFP covers all files which the operating system installs (such asDLL,EXE,SYS,OCX etc.), protecting them from deletion or from replacement by older versions. Thedigital signatures of these files are checked usingcode signing and the signature catalog files stored in the%SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} folder. Only certain operating system components such as thePackage Installer (Update.exe) orWindows Installer (Msiexec.exe) can replace these files. Changes made using any other methods in order to replace these files are reverted and the files are silently restored from the cache. If Windows File Protection cannot automatically find the file in the cached folder, it searches the network path or prompts the user for the Windows installation disc to restore the appropriate version of the file.

WFP integrates with theSystem File Checker (sfc.exe) utility.

Windows Vista and later Windows systems do not include Windows File Protection, but they includeWindows Resource Protection which protects files usingACLs. Windows Resource Protection aims to protect coreregistry keys and values and prevent potentially damaging system configuration changes, besides operating system files.

The non-use of ACLs in Windows File Protection was a design choice: Not only did it allow operation on non-NTFS systems, but it prevented those same "bad" installers from failing completely from a file access error.

References

[edit]
  1. ^Configuring Windows 2000 without Active Directory. Syngress. 2001. pp. 99–105.ISBN 978-0-08-047672-8. Retrieved2025-03-01.
  2. ^Carvey, H. (2012).Windows Forensic Analysis Toolkit: Advanced Analysis Techniques for Windows 7. Syngress. p. 180.ISBN 978-1-59749-728-2. Retrieved2025-03-01.
  3. ^Hart-Davis, G. (2006).Mastering Windows XP Home Edition. Wiley. p. 439.ISBN 978-0-7821-5059-9. Retrieved2025-03-01.

External links

[edit]
Management
tools
Apps
Shell
Services
File systems
Server
Architecture
Security
Compatibility
API
Games
Discontinued
Games
Apps
Others
Spun off to
Microsoft Store
Retrieved from "https://en.wikipedia.org/w/index.php?title=Windows_File_Protection&oldid=1298580192"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp