question

FlorenceWong-8652 avatar image
0 Votes"
FlorenceWong-8652 asked Miles-MSFT edited

windows defender blocking my app

Hello,

I have created a very simple .exe using python and py2exe that simply prints "hello" to console. However, when uploaded to sharepoint and redownloaded, I get the following warning. If I wanted to share this with others in my organization, the same thing occurs. Is it possible to avoid this warning? I am wondering if its because I/ my organization is not a reqistered publisher?

thanks,
Florence

99203-image.png

windows-10-security
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Miles-MSFT avatar image
0 Votes"
Miles-MSFT answered Miles-MSFT edited

Hi

The image is not appearing on this page. In order to solve your problem better , could you please upload this image again?

In general , Windows defender SmartScreen will block us from opening some apps if they come from an unknown place or are created by an unknown publisher.

We could disable Windows Defender SmartScreen to solve the problem.

1.Launch Windows Defender Security Center from your Start menu, desktop, or taskbar.
2.Click the App and browser control button on the left side of the window.
3.Click Off in the Check apps and files section.
4.Click Off in the SmartScreen for Microsoft Edge section.
5.Click Off in the SmartScreen for Windows Store apps section.

Here is the link https://www.windowscentral.com/how-fix-app-has-been-blocked-your-protection-windows-10
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

Best regards

--please don't forget to Accept as answer if the reply is helpful--











· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

99467-image.png



Thank you for your response. So It does run, i just see this warning. Is there any way to make an update to my program to not trigger these warnings?

thanks,
Florence

0 Votes 0 ·
image.png (25.3 KiB)

I would prefer for my code to not trigger my colleagues antivirus software every time it gets downloaded if possible.

thanks!
Florence

0 Votes 0 ·

Like does it need a certificate attached? thanks,
Florence

0 Votes 0 ·

Hi
One option to immediately get rid of the Microsoft SmartScreen warnings is to buy an "Extended Validation" (EV) code signing certificate from one of the Microsoft-approved
certificate authorities (CA's), and to sign your app with that EV certificate.
However , an EV Certification is only available to someone with a registered companay . If you are an independent software developer without a registered company , you cannot
purchase an EV Certification.

We could disable Windows Defender SmartScreen or try to use the following steps:
1.Right click on installer(.exe)
2.Select properties option.
3.Click on checkbox to check Unblock at the bottom of Properties.

Best Regards


1 Vote 1 ·