Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Linked clone deploy or recompose results in the error: View Composer agent initialization state error (6): Unknown failure (waited 0 seconds) (1011653)

Symptoms

You are experiencing these issues with View Administrator:

  • You see this error after a Linked Clone desktop is deployed or recomposed:
     
    View Composer agent initialization state error (6): Unknown failure (waited 0 seconds)
     
  • Shortly after the above error is received, View Administrator shows that your virtual machine in a Ready state.

Resolution

When provisioning a linked clone, View Composer changes the computer name and initiates a reboot so that the computer name takes effect. View Composer stops the View Composer service during the reboot process. In some cases, Windows restarts the View Composer service. Because the system is being shut down for the reboot, the View Composer service fails and reports the failure with status code 6, an unexpected error.
 
After the reboot, the rest of the process completes successfully and the status is set to 0 (indicating success). However, by that time the View Agent has detected the status code 6 and reports it back to the View Server, resulting in the error even though the desktop is functional.
 
This error can be safely ignored and can be removed by rebooting the machine.
 
If multiple virtual machines cannot be rebooted, use an alternative script that reboots the virtual machines as part of provisioning.
 
In a text editor, save the following lines as a .bat file:
 
#This script is to restart the machine
echo Restarting this virtual machine
shutdown -r -t 01
exit
 
Save this batch file on the parent virtual machine (C:\WINDOWS\system32) and provide this path in the Post synchronization script field (on the QuickPrep Setting screen) in the Add Pool wizard.

Update History

04/26/2010 - Updated resolution 05/14/2010 - Provided more info about the .bat file

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 38 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 38 Ratings
Actions
KB: