Skip to main content
Question

Install Malwarebytes with Group Assignment

  • February 4, 2021
  • 5 replies
  • 38 views

Forum|alt.badge.img+5

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

Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 5, 2021

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.


Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 5, 2021

Nevermind. Just did it as a post install script.


  • February 22, 2021

Recently did it but it was not working.


mani2care
Forum|alt.badge.img+7
  • Contributor
  • March 24, 2021

Malwarebytes uninstall script anything is available?


Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 31, 2021

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