Symptoms
- Linked clone virtual machines provisioning tasks fails.
- Recompose fails due to customization failing to join the desktops to domain.
Cause
This issue occurs when AppStacks is attached during the domain join process. On reboot after domain join, c:\svroot cache is cleared which loses all the changes done to the VM.
Resolution
To resolve this issue, disable the App Volumes Service on the parent virtual machine.- Open a command prompt as the administrator and run these commands:
- sc config "svservice" start= disabled
- net stop "App Volumes Service"
- ipconfig /release
- Create a script or batch file as below to set the service to automatic and start the service.
sc config "svservice" start = auto
net start "App Volumes Service"
- Copy the script to the parent virtual machine to a directory. For example: C:\scripts\script.bat
- Shutdown the virtual machine and take a snapshot.
- In View Administration portal, reference your post-synchronization script:
- Open up View Administration Portal
- Go to Catalog - Desktop Pools - Select your pool
- Click Edit
- Select Guest Customization Tab
- Enter the file path for script in post-synchronization script name:
C:\scripts\script.bat
- Recompose the pool.
Source: VMware KB 2147910
No comments:
Post a Comment