You may open start and search for Windows Security and click on Virus & threat protection then click on Manage settings and you may add it under Exclusion.
If you believe your file is safe and incorrectly detected as a malware, then report it as incorrect detection to the Microsoft:
https://www.microsoft.com/en-us/wdsi/filesubmission
Windows Defender Smartscreen Whitelist

Rahul Jindal [MVP]
10,911
Reputation points MVP
I have an exe located in local appadata of users that is getting blocked by Windows Defender Smartscreen. I have added the SHA 256 of the file in the Indicators on the Defender Portal, but even that doesn't seem to work. Is there any other way to whitelist or trust the app?
Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
3,085 questions
Microsoft Security | Intune | Other
5,571 questions
1 answer
Sort by: Most helpful
-
Reza-Ameri 17,341 Reputation points Volunteer Moderator
2021-10-28T17:20:50.983+00:00