Jump to content

MBAM.exe switches/command line/silent options...


Recommended Posts

Hi,

I'm trying to write a script that incorporates a few different tools... MBAM, ComboFix, etc... into a command line script that can run unattended and automatically save a log to a specified folder. The commands I used were as follows:

cd "C:\Program Files (x86)\Malwarebytes' Anti-malware"

mbam.exe /update -silent

mbam.exe /scan -full -silent /logtofolder "C:\Program Files (x86)\Malwarebytes' Anti-malware\Logs" -log

I'm running the script as an administrator and the "working" cursor comes up for a few seconds, however, the time before the script ends is nowhere near long enough to have actually run a full scan. Also, the program creates the specified log folder, but no log is saved.

Any idea what's going on? Is there a specific order the parameters need to be in, for example? I've tried a few with no noticeable difference in results.

Thanks in advance for any help!

Link to post
Share on other sites

P.S. I un-installed Malwarebytes' and re-installed it without allowing it to download updates at the end of the installation process, then ran the script again. Afterwards, I checked the date on the update tab and verified that at least the update line of the script is working properly.

Link to post
Share on other sites

Go ahead and run the command mbam.exe /logtofolder "C:\Program Files (x86)\Malwarebytes' Anti-malware\Logs" before you run the scan. This will change the location that scan logs are saved before you run the scan so when the log is saved it will be placed in the new location.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.