Migrating MetaDefender Endpoint from My OPSWAT Central Management version 7 to version 10

This document is to support organizations in migrating numerous devices to another account (from My OPSWAT Central Management version 7 (formerly known as OPSWAT Central Management) to version 10) with minimal setup and effective results, this documentation provides detailed guidance on how to perform the migration.

Script to move devices to another account

For Windows

Powershell Script
Copy

Please edit these lines from the script with your information:

Powershell
Copy

For MacOS

Powershell
Copy

Please edit these lines from the script with your information:

Powershell
Copy

For Linux

Powershell
Copy

Please edit these lines from the script with your information:

Powershell
Copy

Because the Linux script works only with the server code, please ensure you have the correct information before configuring the script. You can obtain this information from the server download page and map it as described below.

-s → server code

-l → license key

-g → group ID

Configure the server settings

My OPSWAT Central Management version 10 (On-premise/Cloud)

There are 2 ways to set up the script:

Playbook

Before making the script available from the Playbook settings, you need to configure it. Go to Policies → Playbook, then select Create New Playbook and choose the platform on which the script will be executed.

Pick and drag the Custom script from the Task list and edit its properties

Make sure to select the correct privileges to execute the script:

  • Windows: Administrators
  • macOS, Linux: Root

Save the playbook, then navigate to Policies → Endpoint Security and select the policy corresponding to the group of devices you want to migrate. Enable the Playbooks setting and assign the configured playbook. Save the policy, and the setup is ready to proceed.

Custom Check

If the server has a Custom Check policy, navigate to Policies → Endpoint Security and select the policy corresponding to the group of devices you want to migrate.

Enable the policy and configure its settings similarly to the Playbook configuration.

My OPSWAT Central Management version 7 (Windows and macOS device only)

Navigate to Device Policies, select the policy corresponding to the group of devices you want to migrate, then go to Security Requirements → Custom Check.

Configure the policy following the example below

  • Do not use this script with an invalid license key or server address. The Agent may stop working after the script is executed.
  • Known issue: If the device is switched to a different server, the device information will remain on the previous server.
  • The server address should not contain a trailing dash like this https://<server-address>/ → correct server address will be: https://<server-address>

Support troubleshooting

For My OPSWAT Central Management version 7 server, the option Perform compliance check from the picture below MUST BE CHECKED:

To ensure the script is executed, we can verify through the agent log here: "C:\ProgramData\OPSWAT\Gears\logs\GEARS-Agent.log"

For CUSTOM CHECK:

Powershell
Copy

For PLAYBOOK:

Powershell
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard