What Is Windows Resource Protection

/ Comments off

In Windows 10/8/7/Vista, the System File Checker is integrated with Windows Resource Protection, which protects registry keys and folders as well as critical system files. If any changes are detected to a protected system file, the modified file is restored from a cached copy located in the Windows folder itself. Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir Logs CBS CBS.log. For example C: Windows Logs CBS CBS.log. Note that logging is currently not supported in offline servicing scenarios.

-->What

Purpose

Windows Resource Protection (WRP) prevents the replacement of essential system files, folders, and registry keys that are installed as part of the operating system. It became available starting with Windows Server 2008 and Windows Vista. Applications should not overwrite these resources because they are used by the system and other applications. Protecting these resources prevents application and operating system failures. WRP is the new name for Windows File Protection (WFP). WRP protects registry keys and folders as well as essential system files.

Where applicable

All Windows-based applications and their installation programs that run on Windows Server 2008 or Windows Vista, and later operating systems, should be aware of WRP. All Windows-based applications that run on Microsoft Windows Server 2003 or Windows XP and their installation programs should be aware of WFP.

Developer audience

Windows Resource Protection Tool

Sharp 21 blue diamond manual. The WRP API is designed for use by C/C++ programmers. The WRP API has two functions: SfcIsFileProtected and SfcIsKeyProtected.

Run-time requirements

Applications that use only the SfcIsFileProtected function require Windows Server 2008, Windows Vista, Windows Server 2003, or Windows XP. Applications that use the SfcIsKeyProtected function require Windows Server 2008 or Windows Vista.

Resource

In this section

Windows Resource Protection Error Sfc …

TopicDescription
About Windows Resource Protection
General information about WRP.
Windows Resource Protection Reference
Reference documentation for WRP.