5.2

Table Of Contents
n
Determine
if the account under which the script runs has appropriate permissions to perform script tasks.
QuickPrep runs the scripts under the account under which the VMware View Composer Guest Agent
Server service is configured to run. By default, this account is Local System.
Do not change this log on account. If you do, the linked clones do not start.
View Composer Provisioning Errors
If an error occurs when View Composer provisions or recomposes linked-clone desktops, an error code
indicates the cause of the failure. The error code appears in the desktop-status column in View Administrator.
Table 16-2 describes the View Composer provisioning error codes.
This table lists errors that are associated with View Composer and QuickPrep customization. Additional errors
can occur in View Connection Server and other View components that can interfere with desktop provisioning.
Table 16-2. View Composer Provisioning Errors
Error Description
0 The policy was applied successfully.
NOTE
Result code 0 does not appear in View Administrator. The linked-clone desktop proceeds to a Ready
state, unless a View Manager error outside the domain of View Composer occurs. This result code is included
for completeness.
1 Failed to set the computer name.
2 Failed to redirect the user profiles to the View Composer persistent disk.
3 Failed to set the computer's domain account password.
4 Failed to back up a user's profile keys. The next time the user logs in to this linked-clone desktop after the
recompose operation, the OS creates a new profile directory for the user. As a new profile is created, the
user cannot not see the old profile data.
5 Failed to restore a user's profile. The user should not log in to the desktop in this state because the profile
state is undefined.
6 Errors not covered by other error codes. The View Composer agent log files in the guest OS can provide
more information about the causes of these errors.
For example, a Windows Plug and Play (PnP) timeout can generate this error code. In this situation, View
Composer times out after waiting for the PnP service to install new volumes for the linked-clone virtual
machine.
PnP mounts up to three disks, depending on how the pool was configured:
n
View Composer persistent disk
n
Nonpersistent disk for redirecting guest OS temp and paging files
n
Internal disk that stores QuickPrep configuration and other OS-related data. This disk is always
configured with a linked clone.
The timeout length is 10 minutes. If PnP does not finish mounting the disks within 10 minutes, View
Composer fails with error code 6.
7 Too many View Composer persistent disks are attached to the linked clone. A clone can have at most three
View Composer persistent disks.
8 A persistent disk could not be mounted on the datastore that was selected when the pool was created.
9 View Composer could not redirect disposable-data files to the nonpersistent disk. Either the paging file or
the temp-files folders were not redirected.
10 View Composer cannot find the QuickPrep configuration policy file on the specified internal disk.
12 View Composer cannot find the internal disk that contains the QuickPrep configuration policy file and other
OS-related data.
13 More than one persistent disk is configured to redirect the Windows user profile.
14 View Composer failed to unmount the internal disk.
VMware Horizon View Administration
400 VMware, Inc.