After investigating this particular issue thoroughly, it turns out that this particular issue can occur due to multiple potential culprits. Here’s a list of scenarios that might cause this error code during a boot-time scan: Now that you know what are the most common culprits that might cause this issue, here’s a list of methods that might help you mitigate this issue and complete the boot-time scan without seeing the same Error 42102 {Exception in macro viruses code.}:
Method 1: Update Avast to the Latest Version
As it turns out, you can expect to see this type of error when trying to perform a boot-type scan using Avast because you’re using a severely outdated version that is not equipped with the latest security signatures. If this scenario is applicable, you can fix this issue by updating your current Avast client to the latest version available before re-trying the boot-type scan on your computer. Several affected users have confirmed that the boot-type scan finally completed without the Error 42102 {Exception in macro viruses code.} after updating the security app to the latest version available. If you’re looking for step-by-step instructions, follow the instructions below to update Avast to the latest build available: Note: The instructions below will work for both the Avast Free and the Avast Security version. In case the same problem is still occurring or Avast was already updated to the latest version, move down to the next potential fix below.
Method 2: Performing a Malwarebytes Scan
In case a regular AV scan has detected a security issue and you deployed the boot scan in order to address it (but failed to), the only viable alternative (other than clean installing) is to use a different 3rd party tool. There are a lot of tools that will allow you to remove malicious code embedded deep into your system files, but our recommendation is to perform a deep scan will Malwarebytes. This type of scan will allow you to identify and remove the vast majority of malware (or adware) that are capable of using cloaking capabilities to avoid being detected by regular security scans. Go through the instructions above to do a system-wide scan and eliminate the files that cannot be removed with the boot scan done by Avast.