In this article you will find some information on how to remove a DEM Worker (DEM = Distributed Execution Manager) registration from VMware vRealize Automation (vRA). Let’s say you’ve installed a new DEM Worker but made a typo in the name of the DEM Worker instance. You can of course uninstall the DEM Worker through add/remove programs, but this will not remove the DEM Worker registration in vRA. Another scenario is that you lost a virtual machine that had a DEM Worker installed. In both cases you will end up with offline DEM Worker in the interface:
Note: If your original DEM Worker got lost, you can also choose to install a new instance with exactly the same name. This new instance will use the existing registration.
Unfortunately there’s no remove button available in the GUI:
Anybody any idea how to unregister an uninstalled DEM worker from vRA? #vra
— Viktor van den Berg (@viktoriousss) August 7, 2015
After a short while the answer came from @carlprahl on how to remove the DEM Worker registration from vRealize Automation:
@KCDAutomate @viktoriousss find repoutil in the Model Manager Data Folder and execute repoutil.exe Agent-Uninstall -n AgentNameHere
— Carl Prahl (@carlprahl) August 7, 2015
So run the following command on the server that has the Model Manager installed (most of the time your vRA IaaS server) to remove the registration:
repoutil.exe Agent-Uninstall -n "AgentNameHere"
Repoutil.exe is located in c:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data.
Hope this helps!
Thank you very much.