Had 2 servers installed as primaries using a SQL database.
1 server died... and i had only 1 left...

Tried to delete the server object from the device list, but no luck... the
following appears;

This object cannot be deleted: <servername>. Probable cause: The object is a
ZENworks Server. To remove a ZENworks Server, please uninstall ZENworks from
that server.

Tried a reinstall of ZCM10.1 (same hardware, problems solved) but i got
some errors during install.
The adaptive agent wasn't correctly registered. zac
unreg/register/reregister etc. didn't work either.

How to remove the stuck server from the database ?