When my friends try to open the executable resulting from building my project (i.e. a ".exe"), they take the error "Windows protected your PC".
Both my c++ and python projects cannot be executed on my friends' computers because of the error.
How can I allow it?
This isn't an error; this is a design choice by Microsoft to protect those of us who are not tech-savvy (i.e. potentially your friends). And although it is a little bit annoying, it is not actually a roadblock.
When you click more info,

you will be met with

and thus be able to run the program by clicking "Run anyway", despite Microsoft's warning, because you know for a fact that the program is safe - or in this case, your friends know that the program is safe, because you probably don't have any malicious intent.
... Or do you?
Its due to windows built-in security feature. Try not to send .exe but send your code and your friend could compile it at their own. Windows just not authenticating it, as the source is not verified, according to your friend OS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With