Allow users to run an exe file

nasha mehr 76 Reputation points

There is a portable exe file that I would like to allow standard users to run it.
Unfortunately, windows defender blocks the app after the user downloads it and doesn't allow users to run it. It says it is potentially unwanted software.
In the Endpoint security -> Antivirus, I created two different policies: Microsoft Defender Antivirus and Microsoft Defender Antivirus exclusions. I excluded the path of the app ( I know when users download it, the exe file is in their download folder). However, it doesn't work.
I don't know why this happened and how I can allow standard users to run the specific file.

Moreover, it would be great if you could explain the difference between these two policies. Both of them have a section to exclude, and both of them are assigned to one group. I don't understand what the difference in their target part is?

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,574 questions
0 comments No comments
{count} votes

Accepted answer
  1. Crystal-MSFT 44,931 Reputation points Microsoft Vendor

    @nasha mehr , From your description, it seems the exe file is detected as a potentially unwanted application and is blocked.

    To exclude files from PUA protection, we can configure the exclusions for Microsoft Defender Antivirus. If it is not working, we can validate the exclusion list. Here is a link with more details:

    In fact, the CSPs for antivirus exclusion are also managed by Microsoft Defender Antivirus policy, which includes identical settings for exclusions. Settings from both policy types (Antivirus and Antivirus exclusions) are subject to policy merge, and create a super set of exclusions for applicable devices and users.

    Hope it can help.

    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.

1 additional answer

Sort by: Most helpful
  1. Rahul Jindal [MVP] 9,471 Reputation points MVP

    Hi, looks like smartsceen maybe blocking it. Instead of lowering the security, can you install the app using Company portal instead?

    0 comments No comments