Windows defender alert users from my pyinstaller exe [duplicate]
问题 This question already has an answer here : Pyinstaller .exe throws Windows Defender [no publisher] (1 answer) Closed 10 months ago . I used pyinstaller to create exe file and sent it to some friends. it is harmless, but because it's --onefile the windows defender alert about it. the user need to allow permission to activate it, and it works. but with inconvenience. Any solution how to make sure windows defender won't alert about it from the start? 回答1: It is necessary to exclude from check