Sign in to follow this  
Followers 0
DakotaSamuel

Windows SmartScreen blocking compiled script from running

4 posts in this topic

#1 ·  Posted (edited)

I am having issues with Windows SmartScreen blocking my compiled scripts. They run fine on my computer, but when I move them over to a different one, either by USB or a file hosting site, they get blocked by Windows SmartScreen. I have tested it on a number of computers, and it happens on all of them. I have also done this with scripts that do and don't require Admin, and it always happens. 

2015-09-03_21-31-44.thumb.png.b8fbcefb02

Is that related to this? I was thinking it might be, but I am not so sure since the only antivirus I have is Windows Defender. I wouldn't mind this happening since I realize you can click More info and then click run anyway, but I am planning on distributing my program, and normal users probably wouldn't know this. I don't really want to have to deal with all the users complaining that my program has viruses.

 

-DakotaSamuel

 
 
Edited by DakotaSamuel

Share this post


Link to post
Share on other sites



For programs to run unquestioned on latest versions of Windows, they need an approved Microsoft Signature.

Everyone has this issue, especially when running your created programs on another PC.

Either people need to adjust their security settings (not recommended) or they need to assign specific permissions.

The situation is not helped any by how AutoIt is seen by some, but in all honesty that can be a blessing to an average, don't understand much, user.

There is a bias going on though, when your scripts get indiscriminately accused of being a virus etc ... which happens on occasion, and shouldn't. It is fair to halt proceedings and require permission and say, might be, but not is ... unless it truly is.


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites

If u want to run it just click on more info~ Then you can choose if u want to run it. This would be just a easy way to "Bypass" this Situation.


  • C++/AutoIt/OpenGL Easy Coder
  • I will be Kind to you and try to help you
  • till what you want isn't against the Forum
  • Rules~

 

Share this post


Link to post
Share on other sites

Ok, thanks for the replies. I signed it with a self signed certificate, and that didn't help. After that, I read up on digital signing some more and found that to have your certificate trusted, it must be from a Certification Authority, and to get one of those can cost around $200 a year. Yikes.

I think I will just put a nice little explanation on the download page about how to get around the security blocks.

 

-DakotaSamuel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • WoodGrain
      By WoodGrain
      Hi All,
      I'm using UseTraySetIcon("shell32.dll", xx) to set my tray icon to a specific icon while running, is there a way I can specify this icon when I compile my script into an exe so my exe icon is the same?
      Thanks!
    • Simpel
      By Simpel
      Hi.
      If I embedd a compiled autoit script into my new script, is there a possibility to pass some data from the compiled embedded exe to my script?
      I know it's possible with an ini or txt-file. But is there something without creating a file? I plan to return an array or an unformatted string of datas with delimiters inside.
      Any ideas?
      Regards, Conrad
    • RaiNote
      By RaiNote
      Hi,
      would there a way to disable enable the CUI after the exe was compiled If a certain Action is being used?
    • dv8
      By dv8
      Hi guys,
      please bare with me for a moment here...

      My goal: To be able to take the error line number returned by the EXE file and locate the actual line in the source.
      I believe most of the AutoIt users are coming to this issue at some point.

      I realize the final source, before the compilation is done, is the combined source of all the include files and the main script etc. So I figured if I have a way to get this combined source, that would give me a solution to this problem. And I spent the last couple of days (more than 10 hours a day) searching in the forum and asking some questions in different threads. And with the help of few people, I found a way (using the Obfuscator) to get this source and the line numbers were actually MATCHING!

      However this solution introduced a WHOLE LOT of other problems for me and broke some of the functionality in my script since it has a lot of Call() and ObjEvent() functions. My code turned out to be un-obfuscatable. And for the record, I do not need any obfuscation done at all, nor I need the unused included functions stripped down (even though it made my EXE a 30% smaller). I needed the Obfuscator just to get this final piece of code to be able to achieve My goal.

      So all this got me thinking... Please correct me if I'm wrong, because I don not have any knowledge of the internals of a compiler.
      Since Aut2exe is the one that combines all the code together and then working it's magic to create the EXE, there should be a pint in this process where that code is available in its final form. Then why isn't there a command line option to dump the final combined source in a file just before it is compiled?
      Once again, I do not know the internals of the compiler but my logic dictates that this would be the most reasonable and straightforward solution.

      Please share your thoughts and also, if any of you knows a way to achieve my goal without using the Obfuscator, I would LOVE to here it!

      EDIT: And here is the solution: ( I've tried to explain it as simply as I can, so even the beginners can understand it.)



    • Roshith
      By Roshith
      Hi,
      I'm facing a Weird issue from yesterday on a particular machine. Tried a lot of things, but did not get any solution.

      I created a script that runs a notepad. It works well when the script is not compiled (ie, when I press F5 from scite editor). But when I compile it and run the exe, it throws an error saying "Windows cannot find notepad.exe. windows cannot access the path specified. you may not have permissions to the folder".

      Both scite editor and the exe are run in the same credentials (Admin)

      Does anybody have any idea on this?

      Rgds
      Roshith