Treat this as a malware cleanup issue, not just an AutoIt issue.
- Do not allow the detected file in security software. If it is already quarantined, leave it quarantined or remove it. A quarantined file cannot run.
- Run the Windows Malicious Software Removal Tool:
- Press Windows key + R
- Type %windir%\system32\mrt.exe
- Select OK
- If prompted, select Yes
- Follow the prompts to scan and clean the PC
- If prompted for a Full scan, run it. It can take several hours because it scans all fixed and removable drives.
- Restart the PC after the scan.
- Install the latest Windows updates after restarting.
- Run an up-to-date antivirus scan. If the threat is reported as not removed or partially removed, use an up-to-date antivirus product to complete cleanup.
- Check Windows Security quarantine/history:
- Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection
- Under Current threats, select Threat history
- Under Quarantined threats, select See full history
- Remove quarantined items if needed
- Remove suspicious recently installed apps if the infection started after installing something:
- Go to Start > Settings > Apps
- Select the unwanted app
- Select Uninstall
- If more than one security app is installed, uninstall extras carefully. Running multiple antivirus or antispyware products at the same time can cause instability. Warning: after uninstalling security software, make sure Microsoft Defender Antivirus is enabled and Windows Firewall is turned on so the PC is not left unprotected.
- Remove suspicious browser add-ons and uninstall software that was downloaded from third-party sites.
If files are opening in the wrong program or browser settings changed unexpectedly, that can also be a malware symptom.
- Antivirus and antimalware software: FAQ | Microsoft Support
- Antivirus and antimalware software: FAQ | Microsoft Support
- Remove specific prevalent malware with Windows Malicious Software Removal Tool (KB890830) | Microsoft Support
- Protect my PC from viruses | Microsoft Support
- Unwanted software
- Microsoft resources and guidance for removal of malware and viruses | Microsoft Support