if a desktop goes missing after a recompose, newer verions of Horizon have a tool to help out so you don’t have to go into the ADAM database and manually edit things.
go into the horizon server and the following directory. and follow the steps
cd c:\Program Files\VMware\VMware View\Server\tools\bin
viewdbchk.cmd –scanMachines –limit 100
You will have to enter the view user password as well as the composer password.
this will ask to disable the pool, say yes (make sure you have a maintenance window) and then it will ask to re enable once done.