Uninstall Avast Command Line [top] Official

echo Cleanup temporary files... del /q %temp%\asw*.log

Locate the uninstall string.

rd /s /q "C:\Program Files\AVAST Software" rd /s /q "C:\ProgramData\AVAST Software" Clean up user profile remnants. uninstall avast command line

reg delete "HKLM\SOFTWARE\AVAST Software" /f reg delete "HKLM\SYSTEM\CurrentControlSet\Services\asw*" /f Delete program files and program data. echo Cleanup temporary files

echo Running Avast Clear tool... avastclear.exe /uninstall "Avast Free Antivirus" /silent /noreboot avastclear

Name IdentifyingNumber Avast Free Antivirus A17E8618-2C4D-4A5F-B8A3-4B7C9E1D2F3A Run silent uninstall using msiexec .

avastclear.exe /uninstall "Avast Premium Security" /silent /reboot /log="C:\avast_uninstall.log" The avastclear.exe tool works best when run from Safe Mode (especially for stubborn installations). You can boot into Safe Mode via command line: bcdedit /set current safeboot minimal Method 3: Forced Driver and Service Removal (Advanced) If both standard MSI and Avast Clear fail, you can manually remove Avast’s core components. This is a high-risk method—only use when Avast prevents all other removal attempts.