View Composer agent initialization state error (6): Unknown failure (waited 0 seconds)
Perhaps the most useless error message on the planet, right next to PC Load Letter.
Summary:
This error message can appear when deploying View Pool from a Parent VM (aka Gold Image) that has Microsoft’s App-V 4.5 client installed:
View Composer agent initialization state error (6): Unknown failure (waited 0 seconds)
Workaround:
One thing the App-V / Softgrid client does is add an entry to the UserInit Key (HKLM\Software\Microsoft\Windows NT\Winlogon) in Windows. From my understanding, best practice from MS is that your supposed to put a comma after any entry that you append to this key. App-V 4.5 / Softgrid don’t do this. So when you install the View Agent, make sure the key reads something like this:
[UPDATE: The workaround detailed below refers to quickprep only. Versions 4.5 and above now allow you to use customization specifications in vCenter. I'd recommend using those for easier administration, especially when expanding your environment.]
Summary:
This error message can appear when deploying View Pool from a Parent VM (aka Gold Image) that has Microsoft’s App-V 4.5 client installed:
View Composer agent initialization state error (6): Unknown failure (waited 0 seconds)
Workaround:
- On the Parent VM, change the “Application Virtualization Client” service to manual.
- Next steps are completely voluntary. The only reason I went further was so that as soon as a user logs into a View session, their App-V applications would show up immediately.
- Create a batch/cmd file and place it on the root directory of the VM. (Commonly C:\)
- Open Notepad
- Paste the following two lines:
- Save the file as a bat or cmd (For this example, I’m naming mine “Custom.bat”)
- Once you’ve snapshot your changes, all you need to do is change the following setting to use the batch file that was created in the previous step Post synchonization script.
sc config sftlist start= auto
sc start sftlist
One thing the App-V / Softgrid client does is add an entry to the UserInit Key (HKLM\Software\Microsoft\Windows NT\Winlogon) in Windows. From my understanding, best practice from MS is that your supposed to put a comma after any entry that you append to this key. App-V 4.5 / Softgrid don’t do this. So when you install the View Agent, make sure the key reads something like this:
- C:\WINDOWS\system32\userinit.exe,"C:\Program Files\Softricity\SoftGrid for Windows Desktops\sftdcc.exe","C:\Program Files\VMware\VMware View\Agent\bin\wssm.exe",
Comments
Do you know what is the causer if the parent VM does not have app-v installed on it but still getting the randomly getting the "View Composer agent initialization state error (6): Unknown failure (waited 0 seconds)" error?
Cheers.
Anonymous has left a new comment on your post "View Composer agent initialization state error (6)...":
Thanks for doing a write up on this. Got this error after doing a Windows update on my master image. I found [10/20/10 15:03:27] Error: (svmMonitoredVolume:320) Failed to find devnode id for Q:\ in the log files which made me think App-V. Thanks for validating it.
I had the same problem with App-V 4.6 client installed. Instead of the (waited 0 seconds), i had (waited 5 seconds). Your workaround worked well.
We had the same problem with AppV 4.6 client. Your workaround worked.
Thanks
Your Work around did the trick.
I'm not sure if this is the right location for this, but I am hitting an issue with my vmware view 5 deployment for linked clones desktops. I hit the following error:
View Composer agent initialization state error (-1): Illegal state (waited 0 seconds)
I see the new desktops running, but I am unable to login to the desktop with the error 'this desktop currenty has no desktop sources available'.
Any help is appreciated.
Thanks
Off the top of my head though, you did install the view agent onto the parent vm right?