Autohotkey 2.0.12 and Smartscreen

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
steve88
Posts: 11
Joined: 11 Oct 2018, 04:43

Autohotkey 2.0.12 and Smartscreen

27 Mar 2024, 07:12

Hi all!

When I try to run AutoHotkey64.exe (Version 2.0.12) without setup, I get the following error.
Windows protected your PC
Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.
Unknown publisher.
How come? With the old version 1, opening the exe would open the guide (CHM file). I would also try installation, but in the past the ahk2exe module had triggered the antivirus. It was probably a false positive, but this had created problems since the computer is in my management but not owned by me. So I would not want to take that risk and was trying to use the AutoHotkey64.exe without running the setup.

Thanks for the help!
User avatar
boiler
Posts: 16982
Joined: 21 Dec 2014, 02:44

Re: Autohotkey 2.0.12 and Smartscreen

27 Mar 2024, 08:47

steve88 wrote: When I try to run AutoHotkey64.exe (Version 2.0.12) without setup, I get the following error.
Windows protected your PC
Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.
Unknown publisher.
How come?
Because false positives are a thing, and antivirus companies are not incentivized to report only true findings of malicious code. This has been discussed ad nausem here.

Locking this thread. You can continue this discussion at the linked thread if you wish, but please -- not if it's just going to be asking questions that have been asked and answered.
lexikos
Posts: 9592
Joined: 30 Sep 2013, 04:07
Contact:

Re: Autohotkey 2.0.12 and Smartscreen

28 Mar 2024, 19:39

This is not a virus detection and should not be reported to Microsoft as a false positive. This is just the normal over-cautious behaviour of SmartScreen, warning about an unsigned file that was sourced from the Internet and has not yet built up reputation (because it is new). The same thing sometimes happened with new v1 releases.

SmartScreen is only invoked when you run a program which is marked as having come from the Internet; i.e. AutoHotkey64.exe is marked because you extracted it from a zip you downloaded from the Internet. During a normal installation, setup.exe would pass through SmartScreen, but the files it installs would not. Consequently, setup.exe builds up a reputation faster than AutoHotkey64.exe and other files included in the installation.

I have confirmed that AutoHotkey64.exe currently triggers SmartScreen if it is extracted from a zip downloaded from the Internet and not unblocked in the file's properties. I have also confirmed that AutoHotkey_2.0.12_setup.exe does not currently trigger a SmartScreen prompt.

I'll leave it to @boiler to decide whether to unlock the thread.
User avatar
boiler
Posts: 16982
Joined: 21 Dec 2014, 02:44

Re: Autohotkey 2.0.12 and Smartscreen

28 Mar 2024, 19:44

I unlocked it in in case anyone wants to commend given lexikos’ insights.

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: alawsareps, Atom, Descolada, vmech, WS64 and 123 guests