Sagarmb Posted October 24, 2017 ID:1175632 Share Posted October 24, 2017 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! Link to post Share on other sites More sharing options...
djacobson Posted October 26, 2017 ID:1176251 Share Posted October 26, 2017 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. Link to post Share on other sites More sharing options...
Sagarmb Posted October 26, 2017 Author ID:1176314 Share Posted October 26, 2017 @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 Link to post Share on other sites More sharing options...
djacobson Posted October 26, 2017 ID:1176322 Share Posted October 26, 2017 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. Link to post Share on other sites More sharing options...
Sagarmb Posted October 26, 2017 Author ID:1176327 Share Posted October 26, 2017 @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? Link to post Share on other sites More sharing options...
djacobson Posted October 26, 2017 ID:1176339 Share Posted October 26, 2017 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 Link to post Share on other sites More sharing options...
Sagarmb Posted October 26, 2017 Author ID:1176351 Share Posted October 26, 2017 @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! Link to post Share on other sites More sharing options...
Sagarmb Posted October 27, 2017 Author ID:1176416 Share Posted October 27, 2017 @djacobson How do I extract the license key required in Unmanaged installation from the Malwarebytes console? Link to post Share on other sites More sharing options...
djacobson Posted October 27, 2017 ID:1176626 Share Posted October 27, 2017 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. Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now