Hello,
There is no specific registry key or Group Policy setting that directly disables only the "Open With" option in the context menu for a certain file type.
Based on your situation, implementing strict UAC settings or using standard user accounts without administrative privileges can be a viable strategy, but this is an indirect solution. Here's how you can proceed:
- UAC helps prevent unauthorized changes by prompting for administrator credentials when certain actions are attempted. To adjust UAC settings:
- Open
Control Panel
>System and Security
>Change User Account Control settings
. - Move the slider towards the top to set UAC to its most secure setting ("Always notify"). This will prompt for admin approval more frequently, including for changes to system settings like file associations.
- Create standard user accounts that do not have administrative privileges:
- Go to
Settings
>Accounts
>Family & other users
(orOther users
on older Windows versions). - Add new users and ensure they are set up as 'Standard users.' Avoid assigning them as 'Administrators.'
By doing this:
- Users logged in with standard (non-administrator) accounts will be unable to make system-wide changes, including altering file associations without entering an administrator's password when prompted by UAC.
- Users might still encounter UAC prompts for various operations, which could become frequent and potentially annoying in a high-security UAC setting.
If the Answer is helpful, please click "Accept Answer" and upvote it.