Jump to content
Sagarmb

Command line for Malwarebytes managed client 1.7.x

Recommended Posts

Folks,

Are there any command line switches to script up Malwarebytes Anti-Malware managed client downloaded through the Management console?

I would like to silently install and schedule scans through it.

Thanks!

Share this post


Link to post
Share on other sites

Hi @Sagarmb. The offline installer packages made from the console can respond to switches telling them to install silently. Configuration of the program though has to take place after install.

Schedules you create within your Management Console will be automatically applied to the machines once that machines checks into the Console server. Those options are in Policy > Scheduler.

Share this post


Link to post
Share on other sites

@djacobson, thanks for your answer. What are the installation switches it accepts, is there any documentation you can share?

Is there a way to schedule scans or run on-demand scans using CLI? If yes, can you please list it here or send me docs that list it out?
I tried Googling it and did not have any luck finding it

Share this post


Link to post
Share on other sites

The MSI will take the standard Windows msiexec commands - https://msdn.microsoft.com/en-us/library/windows/desktop/aa367988(v=vs.85).aspx - Typical usage is: msiexec /i C:\example\LOCAL\path\to\ClientSetup.msi /qn

The EXE will take the switches /suppressmsgboxes, /silent and /verysilent.

For scheduling scans via CMD, that is a yes and no. Yes as in the API is there, but no in that anything you schedule will immediately be overwritten by the policy scheduled settings every time the machine checks into the server. Consider this approach to be a waste of your time.

On-demand scans can be set up and ran via CMD but truthfully, it is easier to just click on the machine or machines from the client view of the console, right click and then tell them to scan.

All supported commands for the programs are covered in their applicable admin guide contained in your download package. Go to your package and look in Unmanaged \ Windows \ Documentation.

Share this post


Link to post
Share on other sites

@djacobson I plan to script the process up instead of manually doing it through the console.
This was kind of inherited from a predecessor and therefore do not have the original "download package"? Can you link me to the docs or post the on-demand scan switches here?

Share this post


Link to post
Share on other sites

Just understand that whatever you do via CMD to the managed version will be overwritten by the check-in process, which is something the client itself controls. Also the status and scan results from an on-demand scan started this way will not be submitted back to the server; you will have no visibility on if the scan is running, what the scan had found, the action performed and if successful or not in its removal, you will be operating blind.

The Management Console's point is to give you a central place to manage and take action upon clients without needing to script everything, it is actually scripting the events for you, and that is what the console hosts for the clients to grab when the clients check-in. The managed version cannot be modified into the standalone version, you would need to pull out the deployment and start over with standalone if that is your intent.

If you are unable to fully use the console because it is inherited and not tied to your Windows account, we have tools to grant you access to the things for which you may not have permissions.

The download package can be found here - https://support.malwarebytes.com/docs/DOC-1161

Share this post


Link to post
Share on other sites

@djacobson Thanks, this does help a lot. I think the unmanaged version suits my current use case much better.

I will check and reply to this thread if I have further questions. Thanks!

Share this post


Link to post
Share on other sites

No keys are needed while using the offline installer, and the console cannot make unmanaged installs. Your keys themselves will be in a purchase confirmation email sent to the email of the original purchaser or purchasing dept.

Share this post


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.

×
×
  • 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.