Install Malwarebytes with Group Assignment

dnelson2813
Contributor

We just switched to Malwarebytes from Sophos. To install MWB and assign endpoints to groups you've created in their Nebula console, MWB provides this command:

sudo launchctl setenv MALWAREBYTES_GROUP <GroupID> ; sudo -E /usr/sbin/installer -pkg Setup.MBEndpointAgent.pkg -target /

So I would upload the PKG to JAMF Cloud and put it in a policy and run that command (with the appropriate group IDs) in the Files and Processes part of the policy right? I haven't had to do this in a while and can't remember exactly.

5 REPLIES 5

dnelson2813
Contributor

Has anyone been able to successfully do this? The command that MWB provides give me a syntax error at ; So it ignores the group ID stuff but MWB does install and register in the console. I don't want to manually assign each endpoint to groups but I can if this doesn't work.

dnelson2813
Contributor

Nevermind. Just did it as a post install script.

Not applicable

Recently did it but it was not working.

mani2care
Contributor

Malwarebytes uninstall script anything is available?

dnelson2813
Contributor

Deleting the endpoint from the console uninstalls the software from the computer.