How to block the "open with" option of all files, or the "property option" of files

Sebastiàn Saldarriaga Ringwelski 0 Reputation points


I would like that all my "csv" files are open with only one "specific program" and the option to change this "specific program" and choose another program to open any CSV file is password protected or blocked to the user.

Thanks in advance for the help and suggestions

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,475 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 15,196 Reputation points Microsoft Vendor


    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:

    1. 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.
    1. Create standard user accounts that do not have administrative privileges:
    • Go to Settings > Accounts > Family & other users (or Other 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.