Windows Resource Protection Files
AdminStudio 2022 | 23.0 | Application Manager
For this operating system compatibility test, the Windows Installer database is scanned for the presence of files that are subject to Windows Resource Protection (WRP).
Test Group/Test Category
• | 0315—Operating System Compatibility/Windows 8.1 (32-Bit) |
• | 0415—Operating System Compatibility/Windows 8.1 (64-Bit) |
• | 2815—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (32-Bit) |
• | 5215—Operating System Compatibility/Windows 10-1909 (32-Bit) |
• | 5415—Operating System Compatibility/Windows 10-2004 (32-Bit) |
• | 5615—Operating System Compatibility/Windows 10-20H2 (32-Bit) |
• | 5815—Operating System Compatibility/Windows 10-21H1 (32-Bit) |
• | 7015—Operating System Compatibility/Windows 10-21H2 (32-Bit) |
• | 2915—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (64-Bit) |
• | 5315—Operating System Compatibility/Windows 10-1909 (64-Bit) |
• | 5515—Operating System Compatibility/Windows 10-2004 (64-Bit) |
• | 5715—Operating System Compatibility/Windows 10-20H2 (64-Bit) |
• | 5915—Operating System Compatibility/Windows 10-21H1 (64-Bit) |
• | 7115—Operating System Compatibility/Windows 10-21H2 (64-Bit) |
• | 6715—Operating System Compatibility/Windows 11-21H2 (64-Bit) |
• | 0515—Operating System Compatibility/Windows Server 2012 |
• | 0516—Operating System Compatibility/Windows Server 2016 |
• | 1015—Operating System Compatibility/Windows Server 2019 |
Severity
Warning
Message
This Windows Installer database contains Windows Resource Protection file [FILE_NAME] (Table: File, Key: [FILE_KEY]).
Background
On Windows Vista and later systems, WRP prevents the modification of essential system files, folders, and registry keys that are installed as part of the operating system. Protecting these resources prevents application and operating system failures. Accordingly, Windows Installer automatically and silently ignores attempts to write or modify a protected resource. If the application was installed with Windows Installer and logging was enabled, a warning might be logged for each file operation that was ignored because of WRP. WRP files can be installed or updated only using Microsoft-provided redistributable packages that are designed for Windows 7.
Resolution
The following resolutions are available.
Manual Fix
Affected files should be assessed whether they are required for the application to run successfully on Windows 7 systems. If the file is required, an application compatible with the specified Windows operating system should be delivered by its manufacturer. Self-developed applications should be re-engineered to respect WRP restrictions.
Basic Auto Fix
No resolution is available.
Advanced Auto Fix
WRP files are removed in a Windows Installer transform.
This fix is enabled by default.
Caution:If the application relies on particular settings in the now protected area, this workaround might still result in run-time errors.)
See Also
Application Compatibility: Windows Resource Protection (WRP)