If you cannot run the uninstallation program to uninstall a ZENworks Primary Server, you can delete it from the Server Hierarchy panel.
WARNING:Use extreme caution when deleting a ZENworks Primary Server from your ZENworks system.
Deleting a ZENworks Primary Server is irreversible. The preferred way to decommission a Primary Server is to run the uninstallation program from the Server. Deleting a Primary Server should only be used if the uninstallation program cannot be run (for example, if the Primary Server experiences a hard drive failure). For more information about running the uninstallation program, see the ZENworks Uninstall Guide.
If the Primary Server that you are about to delete is an MDM server and is the last MDM server in the zone, then on deleting this server you will not be able to manage mobile devices. Before deleting this server, ensure that you delete the Android Enterprise subscription from the zone. For more information, see Unenrolling the Organization from Android Enterprise.
If you remove a Primary Server that hosts an internal ZENworks database, your entire ZENworks Management Zone becomes inoperable.
If you remove a Primary Server on which the Patch Management subscription service is configured to run, you must reset the Patch Management settings before deleting the server. For more information on how to reset the Patch Management settings, see in the .
Deleting a ZENworks Server completely removes the ZENworks Server from the Management Zone. There is no recovery.
If the ZENworks Server in the zone is the last server on which the Kafka role is enabled, and the replication count of the Kafka cluster is 1, then before decommissioning the server, run the zman server-role-kafka-add-broker (zman srkab) to add a new broker and then proceed with the decommissioning of the existing server.
You can delete managed server and workstation devices by using the options on the Devices tab, as explained in Deleting Devices from Your ZENworks System
in the ZENworks Discovery, Deployment, and Retirement Reference.
To remove a ZENworks Primary Server from your Management Zone:
In ZENworks Control Center, click the Configuration tab.
In the Server Hierarchy section, select the check box next to the Primary Server (you can select multiple devices).
Click Action > Delete ZENworks Server.
IMPORTANT:
If you plan to remove a server that is dedicated for a system update or a particular subscription such as the CVE subscription, then you need to manually remove the server assignment and assign another server for the system update or subscription.
Before deleting the last Primary Server with Ondemand Content Master (OCM) role in the zone, then ensure that go through the following points:
Ensure that you assign the OCM role to another Primary Server.
If content is not replicated when pre-caching of content is not enabled, then content might not be available in the newly added OCM server.