Force downloaded file open automatically in Edge

Susja 711 Reputation points
2023-12-07T15:11:35.57+00:00

Hello,

I have to connect to RDS many times a day.

I do it either from Chrome or Edge. I am working on MacBook.

In Chrome when I click on link ... it downloads .rdp file and opens it.

On Edge it only downloads it but does not open it automatically.

I failed to find the way to open it automatically.

Hence, my question: how could I force Edge to open .rdp file automatically?

Thanks

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,151 questions
{count} votes

Accepted answer
  1. ShiJieLi-MSFT 7,626 Reputation points Microsoft Vendor
    2023-12-08T05:47:17.93+00:00

    Hi @Susja ,

    Based on your description, you must be talking about why "Always open files of this type" is greyed out for .rdp files in Microsoft Edge, while it can be enabled in Chrome.

    The reason is .rdp is defined as a file type with a danger_level of ALLOW_ON_USER_GESTURE in Microsoft Edge, which means it is potentially dangerous, but most likely harmless if the user requests the download. For more information, you can refer to How Microsoft Edge determines the danger level of a file type, and in the File types requiring a gesture section, you can find .rdp is in the list.

    Therefore, to force auto-open a downloaded .rdp file, you can configure a policy called AutoOpenFileTypes. You can choose to set it via registry settings. In your scenario, it should be:

    SOFTWARE\Policies\Microsoft\Edge\AutoOpenFileTypes\1 = "rdp"

    Then you restart Microsoft Edge, and you will find .rdp files are automatically opened. Here's the evidence:

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,

    Shijie Li


0 additional answers

Sort by: Most helpful