Remove "Program Compatibility" tab from file properties (context menu)
Overview
This script improves your privacy on Windows.
These changes use Windows system commands to update your settings.
This script removes the "Program Compatibility" tab from the file properties context menu. This tab is visible on the property context menu of any program shortcut or executable file, and displays options that can be applied to the application to solve common issues affecting older applications 1.
When enabled, this script prevents the compatibility property page from appearing in the context menus, though it does not impact any prior compatibility settings applied to applications through this interface 1.
This script achieves its functionality by modifying a specific registry key:
HKLM\Software\Policies\Microsoft\Windows\AppCompat!DisablePropPage
1.
This setting is often used in organizational environments to prevent end-users from modifying the compatibility settings of applications. It ensures that applications operate with the settings considered most suitable by the system administrator or IT department. This restriction aids in upholding system stability and security by ensuring users cannot run applications in modes recognized to be insecure or unstable.
This script assists in upholding a more secure and stable environment by barring unauthorized changes to application compatibility settings. The security benefits include:
- Restricting User Actions: By limiting the actions that a user can perform, administrators can prevent unintended security vulnerabilities. Users may inadvertently (or intentionally) choose settings that could expose the system to risks, and this script helps in preventing such scenarios.
- Maintaining Known Configurations: By ensuring that applications can only run in certain compatibility modes, administrators can more effectively manage and secure their environments. They can thoroughly test and verify the security of the allowed configurations, leading to a more robust security posture.
- Preventing Exploitation of Vulnerabilities: Some compatibility settings might make applications run in a less secure mode to maintain compatibility with older software or systems. Preventing users from enabling such settings can help in avoiding potential vulnerabilities associated with these modes.
By preventing users from changing compatibility settings, you could prevent them from selecting settings that send additional data to software vendors (for example, certain compatibility modes might enable additional telemetry or error reporting). Though primarily aimed at control and stability, this restriction indirectly contributes to privacy protection by reducing potential unwanted data transmission.
This script uses Batch (batchfile) scripting language.
This script is only recommended if you understand its implications. Some non-critical or features may no longer function correctly after running this script.
Implementation Details
-
Language: batch
-
Required Privileges: Administrator rights
-
Compatibility: Windows only
-
Reversibility: Can be undone using provided revert script
Explore Categories
- Disable Application Compatibility Framework
- Disable OS data collection
This action belongs to Disable Application Compatibility Framework category. This category disables the Application Compatibility (AppCompat) framework on Windows. The Application Compatibility (AppCompat) framework is a feature in Windows that collects data about application compatibility. This includes gathering information about application crashes, issues, and other... Read more on category page ▶
This action belongs to Disable OS data collection category. This category configures Windows using 153 scripts. These scripts are organized in 33 categories. The category includes 14 subscripts and 13 subcategories that include more scripts and categories. Read more on category page ▶
Apply now
Choose one of three ways to apply:
- Automatically via privacy.sexy: The easiest and safest option.
- Manually by downloading: Requires downloading a file.
- Manually by copying: Advanced flexibility.
Alternative 1. Apply with Privacy.sexy
privacy.sexy is free and open-source application that lets securely apply this action easily.
You can fully restore this action (revert back to the original behavior) using the application.
privacy.sexy instructions
- Open or download the desktop application
- Search for the script name:
Remove "Program Compatibility" tab from file properties (context menu)
. - Check the script by clicking on the checkbox.
- Click on Run button at the bottom of the page.
Alternative 2. Download
This script is irreversible, meaning there is no straightforward method to restore changes once applied. Exercise caution before running, restoring it may not be possible.
-
Download the script file by clicking on the button below:
-
Run the script file by clicking on it.
Download revert script
This file restores your system to its original state, before this script is applied.
Alternative 3. Copy
This is for advanced users. Consider automatically applying or downloading the script for simpler way.
- Open Command Prompt as administrator.
HELP: Step-by-step guide
-
Click on Start menu
- Windows 11
- Windows 10
-
Type cmd
- Windows 11
- Windows 10
-
Right click on Command Prompt select Run as administrator
- Windows 11
- Windows 10
-
Click on Yes to run Command Prompt
- Windows 11
- Windows 10
- Windows 11
- Windows 10
- Copy the following code:
:: Set the registry value: "HKLM\Software\Policies\Microsoft\Windows\AppCompat!DisablePropPage"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\Software\Policies\Microsoft\Windows\AppCompat'; $data = '1'; reg add 'HKLM\Software\Policies\Microsoft\Windows\AppCompat' /v 'DisablePropPage' /t 'REG_DWORD' /d "^""$data"^"" /f"
- Right click on command prompt to paste it.
- Press Enter to apply remaining code.
Copy restore code
Copy and run the following code to restore changes:
:: Delete the registry value "HKLM\Software\Policies\Microsoft\Windows\AppCompat!DisablePropPage"
PowerShell -ExecutionPolicy Unrestricted -Command "reg delete 'HKLM\Software\Policies\Microsoft\Windows\AppCompat' /v 'DisablePropPage' /f 2>$null"
Support
This website relies on your support.
Your donation helps keep the project alive and improves its content ❤️.
Share this page: