Sometimes it is desirable to move a device from one zone to another in the Automox console. This can be accomplished in two steps that can be performed on the target device.
Note: A "zone" is the new term for what was formerly named "organization". Refer to Global Zone Management.
Note: This operation should not be attempted as a Worklet.
Manually moving a device to a new zone requires running just two commands directly on the target device.
Update Agent Key
To move a device from one zone to another, you first must update the access key the Automox agent is using to the target zone. This can be done with the help of the --setkey option.
sudo /usr/local/bin/amagent --setkey <NEW_ZONE_ACCESS_KEY>
C:\Program Files (x86)\Automox\amagent.exe --setkey <NEW_ZONE_ACCESS_KEY>
sudo /opt/amagent/amagent --setkey <NEW_
Deregister the Agent
Next, you must deregister the Automox agent from the zone it is currently associated with by using the --deregister option.
sudo /usr/local/bin/amagent --deregister
C:\Program Files (x86)\Automox\amagent.exe --deregister
sudo /opt/amagent/amagent --deregister