When rolling out a desktop pool from a new golden image you may see the following error
View Composer agent initialization state error (-1): illegal state (waited 0 seconds)
If you see the above error check the view composer agent service has been installed within the image when you installed the agent, if you installed the view agent prior to VMware tools it is likely even though the install went through it didn’t actually install the agent service.
Failing that look at this kb article http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2009713&sliceId=1&docTypeID=DT_KB_1_1&dialogID=296334822&stateId=1%200%20296342425