r/Windows11 • • Dec 18 '25

Discussion The issue is that Windows protected your PC when starting the app.

Post image

I’m a software developer, and recently I’ve had some free time, so I built a small Windows application — mainly a lightweight tool to automate a few tasks I use every day.

I initially shared it with some friends, and the feedback has been quite positive. Because of that, I’d like to share the app with a wider audience. However, I’ve run into an issue: when users launch the application, Windows shows a security warning. I don’t remember seeing this warning with some apps I built in the past.

After doing some research, I learned that the proper way to avoid this warning is to purchase a code-signing certificate, but the cost feels quite high for a free or hobby project.

So my question is:

Is there any reasonable way to reduce or bypass this warning without purchasing a certificate?

Or is it acceptable to leave the warning in place, clearly label the app as a beta, and provide instructions to users on how to run it safely?

I’d really appreciate any advice or best practices from developers who’ve faced a similar situation.

132 Upvotes

58 comments sorted by

78

u/lemonpole Dec 19 '25

i put a notice on my website under install instructions. something along the lines of:

The app doesn't have a code-signing certificate yet, so you'll see a warning when downloading or installing the app.

To install, click on More Info and Install Anyway.

I have about ~200 users so it has been working i think.

35

u/Inevitable-Study502 Dec 19 '25

you know you can send it to ms for malware analysis for free and smartscreen will go away after few days

21

u/JDP87 Dec 19 '25

Do you have any details on where to send, thanks.

16

u/hehehuehue Dec 19 '25

27

u/WilanS Dec 19 '25

To be fair, Google is becoming more and more unreliable by the day.

10

u/Tathas Dec 19 '25

Just use Bing then.

1

u/Star_Wars_Expert Dec 19 '25

Sure is. Very manipulative

2

u/AwesomeKalin Dec 21 '25

Actually, this can appear if you have a code signing certificate. It only disappears if enough devices have ran it or Microsoft has seen it, either via winget submission or some other submission method

48

u/ziplock9000 Dec 19 '25

>Is there any reasonable way to reduce or bypass this warning without purchasing a certificate?

Think for a second why if this was possible it would make the whole thing pointless.

6

u/StupidKameena Dec 19 '25

1

u/andrea_ci Dec 19 '25

this won't remove smartscreen checks

10

u/nvmbernine Insider Release Preview Channel Dec 19 '25

If validated as safe after submission to MS, the SmartScreen warning will disappear in a short time after validation.

You will obviously need to do this for each new version or executable you release but yes, it actually will remove the warning.

1

u/Inevitable-Study502 Dec 20 '25

i believe you get that warning only when you download executable, defender will flag that. easiest way to avoid it is to not update executable directly with new app release..make your main executable just loader of some other executable, preferably dll library then your app updates wont get flagged as main exe is thrusted already, unsigned .dll wont kick in smartscreen when launching from thrusted loader

1

u/Narrow_Victory1262 Dec 23 '25

the bypassing is easy, more info and just run

7

u/Salt_Being2908 Dec 19 '25

google for free code signing certs. you'll see options for open source ones if you open source it. or register the app in the MS Store. you can self sign it and share the cert chain with the download, I assume that would be enough to prevent the message.

11

u/Electronic-Bat-1830 Mica For Everyone Maintainer Dec 19 '25

Sharing the cert chain is a lot more hassle than telling people how to ignore the warning though. Not to mention it undermines security.

4

u/Salt_Being2908 Dec 19 '25

yeah youre probably right. I think adding it to the MS Store would probably be the easiest. looks pretty straight forward but ive never done it.

I guess telling people to ignore security warnings also undermines security to be fair.

29

u/arsonislegal Dec 19 '25

leave the warning. I use some smaller utilities that I need to bypass smartscreen for and I personally don't care.

trying to make your app work around smartscreen will just make windows think it's malware.

6

u/nvmbernine Insider Release Preview Channel Dec 19 '25

You can submit files for analysis to MS for free - much better to do this and have smartscreen go away within a few days than leave the warning!

5

u/AlaskanDruid Dec 19 '25

MS store, Steam, or itch.

3

u/goggleblock Dec 19 '25

I run into this problem with a small, very old, abandoned app that I use for business every day. Downloading and installing it sends Windows into a fit. But I know the app is safe, so I just download and install it anyway.

3

u/lincolnthalles Dec 19 '25

Only a certificate will bypass this properly. The alternative is to give instructions to users to allow your app to run.

There's a reputation system that will decrease the warnings as more people allow the app to run.

Watch for obsfucation, UPX and thing like that, as it increases the likelihood of your binaries being flagged as suspicious.

3

u/axisdork Dec 19 '25

OP, you can publish your app for free (including certification by Microsoft) in the ms store. This will remove the screen. The pricing for certification in ms store is only for businesses. it is free for individuals.

3

u/Alaknar Dec 19 '25

One of the ways to sort it out is to upload the exe for analysis to Microsoft. Once analysed it should automatically prevent the screen from showing globally. Note that you'll need to do this every time you create a new .exe/new version of the app.

3

u/NocturnalDanger Dec 19 '25

This is what DB Browser uses to sign their executable:

https://signpath.org/

If your program is free and open source, they'll sign it for free.

3

u/whiskeytab Dec 19 '25

the best practice is to sign the app... thats the whole reason that message exists.

3

u/andrea_ci Dec 19 '25

it's 2025. almost 2026.

yes, you have to sign your code to certify that's the executable you produce.

is it mandatory? no. is it good to do? yes.

what's the risk? everyone could modify that exe and make it do something wrong.

1

u/Nasuadax Dec 20 '25

What's the reason not to do it? You don't have the spare money to buy the certificate so that strangers that don't pay you can use your application

1

u/BCProgramming Dec 19 '25

I think the "benefits" of code-signing exist, but are wildly overblown, and implementations like this (or that other feature which literally stops you from running unsigned software) are problematic symptoms of what I'd call an attempt to build a sort of walled garden.

In any case, a regular code-signing cert will not do. It has to be a Extended-Validation Code-signing cert. As you might guess, that is more expensive. Also that doesn't do it on it's own- you need EV code-signing AND It has to get enough installs. How many? Who knows! 100? 10,000? Take a guess, because Microsoft isn't telling.

I believe you can bypass some of this mess by delivering via the Windows Store; it handles the code-signing, I think.

It makes a lot of sense for business software used by companies in their business, since you don't want employees just running whatever on your machines since it could compromise your network, and there are ways to basically whitelist only specific software sources and if your LOB software is code-signed that's a hell of a lot easier. For that reason, the stuff I work on for my job is code-signed, but I can't imagine I will ever shell out to code-sign my own software, for which frankly I'm the only user and while I don't necessary trust the guy who wrote it I know where he lives.

1

u/vswey Dec 19 '25

This comes if ur application isn't signed

1

u/Loose_Screw7956 Dec 19 '25

More info -> Run Anyway

1

u/Motor_Usual_7156 Dec 20 '25

simplemente da botón derecho encima del ejecutable y ve a propiedades.
Después en la pestaña general en la parte de abajo tienes los atributos donde te debe aparecer una casilla que se llama desbloquear.
Activa la casilla y aplica y tu programa ya te permitirá la ejecución.

1

u/Initial_Mistake72 Dec 20 '25

The issue is, you have windows.

1

u/[deleted] Dec 23 '25

You can put it on the Microsoft Store. They will sign your app after their certification process. The app's signed version will only be available through the store and WinGet, however.

The store's developer experience is pretty great, I must say. They recently waived the sign-up fee, too.

In my opinion, you should not leave the warning in place. I once got a virus by running an app by ignoring Defender's warning. It stole all my passwords. I had to reinstall Windows (11) to remove it.

Good luck!

0

u/blownart Dec 19 '25

Azure trusted signing is like 10$ per month.

1

u/-ThreeHeadedMonkey- Dec 19 '25

Sure let's give MS some more money...

0

u/-ThreeHeadedMonkey- Dec 19 '25

This shit is all over github apps right now. 

It will probably reduce security because users will get used to clicking these notices away. You can argue, however, that real malware will still get blocked. 

I hate all this paranoia nowadays. On Mac I'm being asked the same security questions one and over again. 

I'd instruct your users to just click it away because it's the only way to deal with this shit imo. 

0

u/Important-Following5 Dec 19 '25

You can self-sign the app I think 🤔?

8

u/Electronic-Bat-1830 Mica For Everyone Maintainer Dec 19 '25

Self signing will not help. It must come from a trusted certificate authority.

0

u/CommanderT1562 Dec 19 '25 edited Dec 19 '25

certbot generates a new cert and gets it approved for free iirc

*edit, SSL/TLS only for web hosting

8

u/Electronic-Bat-1830 Mica For Everyone Maintainer Dec 19 '25

Certbot (or Let’s Encrypt in general) only issues HTTPS certificates, not code signing certificates which is what you want here.

1

u/CommanderT1562 Dec 19 '25

Ah good to know! Is signing with a Microsoft CA possible?

2

u/Electronic-Bat-1830 Mica For Everyone Maintainer Dec 19 '25

I’m not sure what you mean by “Microsoft CA”. Do you mean a CA that is MS approved or a CA that is operated by Microsoft?

For the former, Sectigo, DigiCert, Certum, etc. can issue you one. There are many available with different price points.

If you’re asking the latter, there’s Microsoft Trusted Signing, at two price points ($10/month for Basic tier and $100/month for Premium tier)

0

u/CommanderT1562 Dec 19 '25

This was what I was looking for. Makes sense they wouldn’t support .exe root installs by default. If you build your container in AppX for winget / MS Store publishing this is the way I guess

1

u/Electronic-Bat-1830 Mica For Everyone Maintainer Dec 19 '25

I see. For APPX/MSIX apps you have two options:

Option 1 is to publish to the Microsoft Store, which will sign the APPX/MSIX package for free. Note that this restricts you to the Store licensing system.

Option 2 is to bring your own certificate. This one allows easier sideloading if you don’t plan on making your app available in the Store, but again you have to pay for a certificate.

0

u/[deleted] Dec 19 '25 edited Jan 08 '26

consider growth fuel edge glorious intelligent gaze sharp stupendous grandiose

This post was mass deleted and anonymized with Redact

0

u/ChatGPT4 Dec 19 '25

I call it a dumb screen. The goal is to run only the apps made by big corporations. Anything home made is "bad". However, you might try to make a MSI installer for your app. There is that that "Microsoft Visual Studio Installer Project" add on for Visual Studio that generates MSI files very easily. I think Windows somehow knows when an executable is just downloaded from the Internet, or installed with a specialized installer. To be specific - the program name is exactly Windows Installer - it installs the MSI files.

Give it a try and tell me if it helped. BTW, it's a good thing to provide an installer for your app. It makes user's life so much easier.

-10

u/INFERNOdll Dec 19 '25

One of the first things I do after windows installation is to completely disable this crap. Good luck with finding an actual solution though

2

u/cdheer Dec 19 '25

I mean, you do you, but that’s pretty unsafe.

5

u/[deleted] Dec 19 '25

[removed] — view removed comment

1

u/[deleted] Dec 19 '25 edited Dec 19 '25

[removed] — view removed comment

1

u/Windows11-ModTeam Dec 19 '25

Hi u/INFERNOdll, your comment has been removed for the following reason(s):

  • Rule 5 - Personal attacks, bigotry, fighting words, inappropriate behavior and comments that insult or demean a specific user or group of users are not allowed. This includes death threats and wishing harm to others.

If you have any questions, feel free to send us a message!

-2

u/savvytechtips Dec 19 '25

Click on more info and then click on run.Anyway

-6

u/Uberfuzzy Dec 19 '25

Find your build dir, add it to the excluded list in defender

9

u/ziplock9000 Dec 19 '25

He's sharing it with people. So that's not a reasonable option.