Hi @Edward West ,
Basically as part of the test your browsers have to block certain harmful files, Google Chrome blocked them all fine, but Edge let 2 of them download and RUN!
As far as I know, Edge has a corresponding explanation of how these file types determine the level of danger: How Microsoft Edge determines the danger level of a file type.
As mentioned in the documentation, both exe
and bat
are file types that require user gestures, and it will download this type of file if you meet one of these conditions:
- There's a user gesture associated with the network request that started the download. For example, the user clicked a link to the download.
- There's a recorded prior visit to the referring origin (the page that links to the download) before the most recent midnight (that is, yesterday or earlier). This recorded visit implies that the user has a history of visiting the site.
- If the user explicitly starts it by using the Save link as context menu command, enters the download’s URL directly into the browser’s address bar, or if Microsoft Defender SmartScreen indicates that the file is safe.
As shown, auto_open_hint
property determines whether or not the file type will be opened automatically when the download is complete. And the file types you mentioned are all disallow from auto-opening. Something like these below. I also tried downloading the bat file, but it just downloads and doesn't open automatically.

What is the version of Edge where the problem occurs? If possible, can you provide specific steps to reproduce the problem? In addition, if you need to prevent Edge from downloading specific types of files, I suggest you send feedback to the relevant team, just press Shift+Alt+I
to edit your suggestion and send it. Edge team will constantly improving and updating the product. Thank you for understanding.
Best regards,
Xudong Peng
If the answer is the right solution, 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.