Rediger

Del via


Windows Resource Protection

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

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.

In this section

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