echo Done. Reboot recommended.
Avast provides an uninstall utility that can be used for this purpose. You can download it from Avast's official website or use the existing one if you have it. For simplicity, let's assume you've placed the utility (named aswClear.exe or similar) in your Downloads folder. Navigate to that folder:
avastclear.exe /uninstall "Avast Free Antivirus" /silent /noreboot
If the command line fails, it is often due to Avast's built-in security features designed to prevent malware from disabling the antivirus.
: Full silent mode with no message boxes or automatic reboot.
Find the [Common] section and add the line: SilentUninstallEnabled=1 . Save the file and exit. : Open the Command Prompt as Administrator .