Malwarebytes

The popular AdwCleaner tool from Malwarebytes is about to get even more popular as it now can be used entirely from the command line.

For those who are not familiar with AdwCleaner, it is a free adware and adware, PUP, spyware, and browser hijacker remover that is used on an as-needed basis. Originally developed independently, it was purchased by Malwarebytes, where it continues to be developed.

Since AdwCleaner was released, it could only be used with a GUI in Windows, but a long-requested feature command line support.

AdwCleaner running with a GUI
AdwCleaner running with a GUI

With the release of AdwCleaner 8.0.6, Malwarebytes has finally added command line support, and users can now use it within login scripts, batch files, or via a scheduled task all from the command line.

AdwCleaner command line options
AdwCleaner command line options

To scan a computer, but not clean anything, you would use the command:

adwcleaner_8.0.6.exe /eula /scan

To clean the computer, but not reboot, you would use the command:

adwcleaner_8.0.6.exe /eula /clean /noreboot

To clean the computer and reboot it if necessary, you would use the command:

adwcleaner_8.0.6.exe /eula /clean
AdwCleaner cleaning malware
AdwCleaner cleaning malware

 

If you also wish to remove preinstalled programs, you can add the /preinstalled argument.

adwcleaner_8.0.6.exe /eula /clean /preinstalled

The /preinstalled argument should be used with care, as it may remove preinstalled programs from the manufacturer that you use often.

Related Articles:

Malware abuses Google OAuth endpoint to ‘revive’ cookies, hijack accounts

Steam game mod breached to push password-stealing malware

Microsoft disables MSIX protocol handler abused in malware attacks

New Xamalicious Android malware installed 330k times on Google Play

Fake VPN Chrome extensions force-installed 1.5 million times