Uninstall Avast Command Line Official

@echo off title Avast Command Line Uninstaller echo Disabling Avast Self-Defense (manual step required) echo Please disable Self-Defense in Avast GUI first. pause echo Attempting MSI uninstall... wmic product where "name like 'Avast%%'" call uninstall /nointeractive

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

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. @echo off title Avast Command Line Uninstaller echo

(do not use old copies):

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

Open . Query the registry for Avast’s product code:

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