Here is the full technical report on performing a silent or unattended uninstallation of Avast Antivirus using command-line parameters. Avast provides a dedicated uninstall utility ( AvastClear.exe ) for tough cases, but the standard uninstaller ( Avast Uninstall Utility or aswClear.exe ) also supports command-line switches. For standard MSI-based uninstallation via the Windows Installer, you can use AvastSetup.exe with specific flags.
AvastSetup.exe /REMOVE=TRUE /SILENT | Parameter | Effect | |-----------|--------| | /uninstall | Initiates removal (may show GUI) | | /silent or /verysilent | Suppresses user prompts | | /norestart | Prevents reboot after uninstall | | /nolog | Disables logging | | /log="path" | Saves log to specified file | | /REMOVE=TRUE | MSI standard removal flag | | /NORESTART=TRUE | MSI no-restart flag | avast uninstall command line
echo Running silent uninstall... %TEMP%\avastclear.exe --uninstall --silent --no-restart --remove-data Here is the full technical report on performing