Windows 資源保護

目的

Windows 資源保護 (WRP) 可防止取代安裝為作業系統一部分的基本系統檔案、資料夾和登錄機碼。 它從 Windows Server 2008 和 Windows Vista 開始可供使用。 應用程式不應該覆寫這些資源,因為它們是由系統和其他應用程式使用。 保護這些資源可防止應用程式和作業系統失敗。 WRP 是 WINDOWS 檔案保護 () 的新名稱。 WRP 可保護登錄機碼和資料夾,以及基本的系統檔案。

適用時

所有在 Windows Server 2008 或 Windows Vista 及更新版本作業系統上執行的 Windows 應用程式及其安裝程式都應該注意 WRP。 在 Microsoft Windows Server 2003 或 Windows XP 及其安裝程式上執行的所有 Windows 型應用程式,都應該注意其安裝程式。

開發人員對象

WRP API 是專為 C/C++ 程式設計人員所設計。 WRP API 有兩個函式: SfcIsFileProtectedSfcIsKeyProtected

執行階段需求求

僅使用 SfcIsFileProtected 函式的應用程式需要 Windows Server 2008、Windows Vista、Windows Server 2003 或 Windows XP。 使用 SfcIsKeyProtected 函式的應用程式需要 Windows Server 2008 或 Windows Vista。

本節內容

主題 描述
關於 Windows 資源保護
WRP 的一般資訊。
Windows 資源保護參考
WRP 的參考檔。