Jump to content

Cant save log file with latest version

Recommended Posts

I have MBAM executing from a command line in a batch file. I have tried :

mbam.exe /scan -full

mbam.exe /scan -full -log

mbam.exe /logtofolder C:\mbam_log_files /scan -full

mbam.exe /logtofolder C:\mbam_log_files /scan -full -log

mbam.exe /scan -full /logtofolder C:\mbam_log_files

mbam.exe /logtofile C:\mbam_log_files\mbam-log.txt /scan -full

mbam.exe /logtofile C:\mbam_log_files\mbam-log.txt /scan -full -log

mbam.exe /scan -full /logtofile C:\mbam_log_files\mbam-log.txt

None of these has saved a log file (I have searched the whole C drive). I thought the latest release fixed some of these problems. Anybody see anything wrong with the above or how I can save a log file?

Link to post
Share on other sites


only i a idea in the Blue, please read this ALL, realy ALL, ---> http://forums.malwarebytes.org/index.php?showtopic=10138 .


I read under section B which indicates that you can't save a log file to a location or file (even though the current help indicates otherwise). I also looked in "C:\Users\<USERNAME>\AppData\Roaming\Malwarebytes\Malwarebytes' Anti-Malware\Logs" and those log files stopped back in May 2010. Didn't see anything else that applied to my PC

Still looking for a way to save log files.

Link to post
Share on other sites

Reinstall, MBAM again like the following instructions,

Please try the following to see if it helps:

Windows XP:

Click on Start and select Control Panel

Open Add/Remove Programs

Uninstall Malwarebytes' Anti-Malware

Restart your computer very important

Download and run mbam-clean.exe from here

NOTE: If you get SHGetValue failed with error code 0, that only means that the tool has nothing to perform, continue on with the next step....

It will ask to restart your computer, please allow it to do so very important

After the computer restarts, temporarily disable your Anti-Virus and install the latest version of Malwarebytes' Anti-Malware from here

Note: You will need to reactivate the program using the license you were sent via email if using the Pro version

Launch the program and set the Protection and Registration. Then go to the UPDATE tab if not done during installation and check for updates.

Restart the computer again and verify that MBAM is in the task tray if using the Pro version. Now setup any file exclusions as may be required in your Anti-Virus/Internet-Security/Firewall applications and restart your Anti-Virus/Internet-Security applications. You may use the guides posted in the FAQ's here or ask me and I'll explain how to do it.

Source: http://forums.malwarebytes.org/index.php?showtopic=63917 posting #2

Make it please.


Link to post
Share on other sites

The /logtofile and /logtofolder commands cannot be used with the /scan commands. They simply set the path for the logfile in the registry so what you need to do is create 2 separate lines in your batch, one containing the log command (i.e. path to MBAM's folder\mbam.exe /logtofile path to file) followed by a second line calling your scan with the scan switches/parameters that you desire so for my system, it would be:

"%programfiles(x86)%\Malwarebytes' Anti-Malware\mbam.exe" /logtofolder "%userprofile%\desktop\My MBAM Logs"
"%programfiles(x86)%\Malwarebytes' Anti-Malware\mbam.exe" /scan -quick -log -silent -remove

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.