Avast Uninstall Command Line -
@echo off echo Stopping Avast services... net stop "Avast Antivirus" /y >nul 2>&1 echo Downloading Avast Clear... curl -o %TEMP%\avastclear.exe https://files.avast.com/iavs9x/avastclear.exe
echo Running silent uninstall... %TEMP%\avastclear.exe --uninstall --silent --no-restart --remove-data avast uninstall command line
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. @echo off echo Stopping Avast services
echo Cleaning leftovers... rd /s /q "C:\Program Files\Avast Software" 2>nul rd /s /q "%ProgramData%\Avast Software" 2>nul avast uninstall command line