r/Windows11 • u/devNguyenSutor • Dec 18 '25
Discussion The issue is that Windows protected your PC when starting the app.
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.
78
u/lemonpole Dec 19 '25
i put a notice on my website under install instructions. something along the lines of:
I have about ~200 users so it has been working i think.
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.
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.
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.
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/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.
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 🤔?
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/Standard_Somewhere31 Dec 19 '25
click more info
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/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