Malwarebytes Anti-Malware is available to business customers via download from the Malwarebytes website. Once downloaded, you can install Malwarebytes Anti-Malware by either launching the setup file in a graphical user interface, or by using the command line interface. This article guides you through installing via the command line interface.
First, open the Malwarebytes Anti-Malware Unmanaged Client Administrator Guide, and go to the Installation section > Sample Batch File Installer subsection to locate the sample installation script.
Sample installation script:
REM Assumes that Malwarebytes has not been installed before
echo ** Running Malwarebytes Anti-Malware installation batch script **
mbam-setup-1.80.x.xxxx.exe /nocancel /norestart /verysilent /suppressmsgboxes
IF DEFINED programfiles(x86) (cd "%programfiles(x86)%\Malwarebytes' Anti-Malware") ELSE (cd "%programfiles%\Malwarebytes' Anti-Malware")
START /WAIT mbamapi.exe /register 12345-67890 AAAA-BBBB-CCCC-DDDD
START /WAIT mbamapi.exe /set hidereg on
START /WAIT mbamapi.exe /update
START /WAIT mbamapi /protection –install
START /WAIT mbamapi /protection -start
The script silently installs and updates Anti-Malware for Business.
- Copy this script and paste it into a text file. A few edits are required to make the script work properly.
- On line 7 of the sample installation script, change mbam-setup-1.80.x.xxxx.exe to match the version number of your setup file.
- On the line with the /register, replace the letters and numbers with your ID and Key.
- You can now add other configurations, if needed.
- See the Configurations & Operations section of the guide, there are a number of commands that can be added to configure Anti-Malware to your liking.
- Once you've finished adding commands, go to File > Save.
- Save the file with the extension .bat.
- Change Save as type to All Files and click Save.
- Ensure the script and the installer are in the same folder, and right-click the script and choose Run as administrator to begin installation.
- Once finished, open Anti-Malware and check to see if your configurations were successful.