If you want to uninstall a ZDM server from a Windows server, follow the steps mentioned in the documents attached below.
The ZDM_uninstallation.pdf contains the steps to uninstall a ZDM server and the
Consoleone_snapins_delete.pdf contains the files to be deleted to uninstall ConsoleOne snapins.
Note: These steps should be used to uninstall ZENworks Desktop Management from a device only when no other ZENworks product is installed on the device. Individual ZENworks Desktop Management components can not be uninstalled using the steps provided.
The eDirectory schema extensions cannot be reverted back.