Uninstall Avast Antivirus (business)

I’m trying to uninstall Avast Business antivirus (different versions too) on some 25 computers (silent/unattended), but I can’t get it to work.

I found some pretty decent scripts that should do the job (i.e. this one and this one), but that only worked on one machine.

On the others it doesn’t. Sometimes it gives the returnvalue of 0, but the software does not get uninstalled. Other times it just gives out a blank line again, so no output (or only “found software Avast Business Security” but no uninstall progress)

I think the main issue that causes this is the fact that the software is not listed in the programs list in the registry (HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall).

Also, the installer is a .exe and not msi so I can’t use msiexec /x {guid}, and sometimes it’s installed as a 32-bit installation, and sometimes a 64-bit installation, so the installation path differs….

Any suggestions I could try?

edit: all machines are Windows 10 1803 or higher.

submitted by /u/Lesilhouette
[link] [comments]

Leave a Reply