Thanks mLipok! It worked for me too
Adding an exception on Windows running the default Microsoft AV:
Open Windows Defender Security Center.
Click on the Virus & threat protection icon.
Click on the link Virus & threat protection settings.
Scroll down to Exclusions and click on the link Add or remove exclusions.
Click on the button Add an exclusion.
In the drop down menu select Folder.
Navigate to "C:\Users\usrname\AppData\Local\AutoIt v3\Aut2exe".
Click on the button Select folder.