Prepare an image in VMWare Horizon for Malwarebytes cloud platform

Document created by rsullinger Employee on Aug 1, 2018Last modified by jyamada on Jan 23, 2019
Version 8Show Document
  • View in full screen mode


VMWare Horizon does not support sysprep. Because of this, we agree with using VMWare’s recommendation and avoid using it for consistent cloning results. Please use these steps below to make sure the images are made correctly for the Malwarebytes endpoint agent.



 Download GPO scripts to use from here. 


Download the Malwarebytes Agent installer

  1. Go to and login to your cloud account.

  2. Click Endpoints on the left and select Add Endpoints.

  3. Download the Windows Vista, 7, 8,… installer, the first download button next to Managed Endpoint Installers.


Prepare the image

  1. Customize the image with whatever settings and software is needed before Malwarebytes installation.

  2. Download Malwarebytes Agent installer to the target master image, disable the Internet connection on that VM.

  3. Run the downloaded installer until installation finishes.

  4. When installation is completed, open Services Manager, Windows+R > services.msc.
    1. Locate Malwarebytes Endpoint Agent > right-click and go to Properties.
    2. Change the Startup type to Disabled > Hit Apply at the bottom.
    3. While still in the properties window, select Stop to stop the service and hit OK at the bottom to exit.

  5. Enable Internet connection.

  6. Extract the .bat files in the attached GPO linked above.

  7. Open Local Group Policy Editor as administrator. To do this, search for gpedit.msc and right-click > Run as Administator.
    1. Once in Local Group Policy Editor, expand Computer Configuration”and then Windows Settings.
    2. Locate Startup on the right side of the console, double-click it.
    3. Click Add, select Browse and locate EnableMBService.bat wherever it was extracted in step 6.
    4. Click OK to close out of the Add a Script dialog.

  8. In the open Local Group Policy Editor, double-click Shutdown and repeat steps to add a script, this time adding the RemoveMB.bat script similar to Step 7.

  9. Deploy clones normally.

Users must remember to shutdown when they’re done so the uninstall script can run. If they forget, there may be a duplicate machine that’ll show up in Malwarebytes Cloud console but it can easily be removed. No huge impact if users forget to shutdown.