Setting Up Virtual Desktops In Horizon 7 VMware 7.4 74

User Manual: Pdf Horizon 7.4 - Setting Up Virtual Desktops in Horizon 7 User Guide for VMware Horizon Software, Free Instruction Manual

Open the PDF directly: View PDF PDF.
Page Count: 279 [warning: Documents this large are best viewed by clicking the View PDF Link!]

Setting Up Virtual
Desktops in Horizon 7
Modified on 4 JAN 2018
VMware Horizon 7 7.4
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 2
You can find the most up-to-date technical documentation on the VMware website at:
https://docs.vmware.com/
If you have comments about this documentation, submit your feedback to
docfeedback@vmware.com
Copyright © 2017–2018 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
Contents
1Setting Up Virtual Desktops in Horizon 7 7
2Introduction to Virtual Desktops 8
Virtual Desktop Pools 8
Advantages of Desktop Pools 8
Desktop Pools for Specific Types of Workers 9
3Creating and Preparing a Virtual Machine for Cloning 14
Creating a Virtual Machine for Cloning 14
Install Horizon Agent on a Virtual Machine 23
Install Horizon Agent Silently 27
Configure a Virtual Machine with Multiple NICs for Horizon Agent 35
Optimize Guest Operating System Performance 36
Disable the Windows Customer Experience Improvement Program 37
Optimizing Windows for Instant-Clone and View Composer Linked-Clone Virtual Machines 38
Preparing a Parent Virtual Machine 45
Creating Virtual Machine Templates 51
Creating Customization Specifications 52
4Creating Instant-Clone Desktop Pools 53
Instant-Clone Desktop Pools 53
Image Publishing and Rebalancing an Instant-Clone Desktop Pool 55
Add an Instant-Clone Domain Administrator 56
Worksheet for Creating an Instant-Clone Desktop Pool 56
Create an Instant-Clone Desktop Pool 61
ClonePrep Guest Customization 62
Change the Image of an Instant-Clone Desktop Pool 64
Monitor a Push-Image Operation 64
Reschedule or Cancel a Push-Image Operation 65
Perform Maintenance on Instant-Clone Hosts 65
Instant-Clone Maintenance Utilities 66
5Creating Automated Desktop Pools That Contain Full Virtual Machines 69
Automated Pools That Contain Full Virtual Machines 69
Worksheet for Creating an Automated Pool That Contains Full Virtual Machines 69
Create an Automated Pool That Contains Full Virtual Machines 73
Clone an Automated Desktop Pool 75
Rebuild a Virtual Machine in a Full-Clone Desktop Pool 76
VMware, Inc. 3
Desktop Settings for Automated Pools That Contain Full Virtual Machines 76
Configure Full Clones with vSphere Virtual Machine Encryption 77
6Creating Linked-Clone Desktop Pools 79
Linked-Clone Desktop Pools 79
Worksheet for Creating a Linked-Clone Desktop Pool 79
Create a Linked-Clone Desktop Pool 89
Clone an Automated Desktop Pool 91
Desktop Pool Settings for Linked-Clone Desktop Pools 92
View Composer Support for Linked-Clone SIDs and Third-Party Applications 93
Keeping Linked-Clone Machines Provisioned for Use in Remote Desktop Sessions During View
Composer Operations 98
Use Existing Active Directory Computer Accounts for Linked Clones 99
7Creating Manual Desktop Pools 102
Manual Desktop Pools 102
Worksheet for Creating a Manual Desktop Pool 102
Create a Manual Desktop Pool 104
Create a Manual Pool That Contains One Machine 105
Desktop Pool Settings for Manual Pools 106
8Configuring Desktop Pools 109
User Assignment in Desktop Pools 109
Naming Machines Manually or Providing a Naming Pattern 110
Manually Customizing Machines 117
Desktop Pool Settings for All Desktop Pool Types 118
Adobe Flash Quality and Throttling 123
Setting Power Policies for Desktop Pools 124
Configuring 3D Rendering for Desktops 130
Prevent Access to Horizon 7 Desktops Through RDP 143
Deploying Large Desktop Pools 144
9Managing Desktop Pools and Virtual Desktops 147
Managing Desktop Pools 147
Managing Virtual Machine-Based Desktops 153
Export Horizon 7 Information to External Files 156
10 Managing View Composer Linked-Clone Desktop Virtual Machines 157
Reduce Linked-Clone Size with Machine Refresh 157
Update Linked-Clone Desktops 159
Rebalance Linked-Clone Virtual Machines 164
Manage View Composer Persistent Disks 167
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 4
11 Preparing Unmanaged Machines 173
Prepare an Unmanaged Machine for Remote Desktop Deployment 173
Install Horizon Agent on an Unmanaged Machine 174
Managing Unmanaged Machines 177
12 Entitling Users and Groups 180
Add Entitlements to a Desktop or Application Pool 180
Remove Entitlements from a Desktop or Application Pool 181
Review Desktop or Application Pool Entitlements 181
Configuring Start Menu Shortcuts for Desktop and Application Pools 182
Restricting Desktop or Application Access 183
Restricting Remote Desktop Access Outside the Network 188
13 Reducing and Managing Storage Requirements 189
Managing Storage with vSphere 189
Reducing Storage Requirements with Instant Clones 196
Reducing Storage Requirements with View Composer 198
Storing View Composer Linked Clones on Local Datastores 200
Storing Replicas and Clones on Separate Datastores for Instant Clones and View Composer
Linked Clones 201
Storage Sizing for Instant-Clone and View Composer Linked-Clone Desktop Pools 202
Storage Overcommit for View Composer Linked-Clone Virtual Machines 207
View Composer Linked-Clone Data Disks 209
Configure View Storage Accelerator for View Composer Linked Clones 211
Reclaim Disk Space on View Composer Linked Clones 213
Using VAAI Storage for View Composer Linked Clones 215
Set Storage Accelerator and Space Reclamation Blackout Times for View Composer Linked
Clones 216
14 Configuring User Profiles with Horizon Persona Management 218
Providing User Personas in Horizon 7 218
Using Horizon Persona Management with Standalone Systems 219
Migrating User Profiles with Horizon Persona Management 220
Horizon Persona Management and Windows Roaming Profiles 224
Configuring a Horizon Persona Management Deployment 224
Best Practices for Configuring a Horizon Persona Management Deployment 234
Horizon Persona Management Group Policy Settings 238
15 Monitoring Virtual Desktops and Desktop Pools 249
Monitor Virtual-Machine Desktop Status 249
Status of vCenter Server Virtual Machines 250
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 5
Recover Instant-Clone Desktops 252
Status of Unmanaged Machines 252
16 Troubleshooting Machines and Desktop Pools 254
Display Problem Machines 254
Troubleshooting Instant Clones in the Internal VM Debug Mode 255
Restart Desktops and Reset Virtual Machines 256
Send Messages to Desktop Users 257
Problems Provisoning or Recreating a Desktop Pool 257
Troubleshooting Network Connection Problems 269
Troubleshooting USB Redirection Problems 274
Manage Machines and Policies for Unentitled Users 276
Resolving Database Inconsistencies with the ViewDbChk Command 276
Further Troubleshooting Information 279
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 6
Setting Up Virtual Desktops in
Horizon 7 1
Setting Up Virtual Desktops in Horizon 7 describes how to create and provision pools of virtual machines.
It includes information about preparing machines, provisioning desktop pools, and configuring user
profiles with View Persona Management.
Intended Audience
This information is intended for anyone who wants to create and provision desktop and application pools.
The information is written for experienced Windows system administrators who are familiar with virtual
machine technology and datacenter operations.
VMware, Inc. 7
Introduction to Virtual Desktops 2
With Horizon 7, you can create desktop pools that include thousands of virtual desktops. You can deploy
desktops that run on virtual machines (VMs) and physical machines. Create one VM as a master image,
and Horizon 7 can generate a pool of virtual desktops from that image. The master image is also known
as a base image or a golden image.
This chapter includes the following topics:
nVirtual Desktop Pools
nAdvantages of Desktop Pools
nDesktop Pools for Specific Types of Workers
Virtual Desktop Pools
You can create desktop pools to give users remote access to virtual machine-based desktops. You can
also choose VMware PC-over-IP (PCoIP), or VMware Blast to provide remote access to users.
There are two main types of virtual desktop pools: automated and manual. Automated desktop pools use
a vCenter Server virtual machine template or snapshot to create a pool of identical virtual machines.
Manual desktop pools are a collection of existing vCenter Server virtual machines, physical computers, or
third-party virtual machines. In automated or manual pools, each machine is available for one user to
access remotely at a time.
Advantages of Desktop Pools
Horizon 7 offers the ability to create and provision pools of desktops as its basis of centralized
management.
You create a remote desktop pool from one of the following sources:
nA physical system such as a physical desktop PC.
nA virtual machine that is hosted on an ESXi host and managed by vCenter Server
nA virtual machine that runs on a virtualization platform other than vCenter Server that supports
Horizon Agent.
nA session-based desktop on an RDS host. For more information about creating desktop pools from
an RDS host, see the Setting Up Published Desktops and Applications in Horizon 7 document.
VMware, Inc. 8
If you use a vSphere virtual machine as a desktop source, you can automate the process of making as
many identical virtual desktops as you need. You can set a minimum and maximum number of virtual
desktops to be generated for the pool. Setting these parameters ensures that you always have enough
remote desktops available for immediate use but not so many that you overuse available resources.
Using pools to manage desktops allows you to apply settings or deploy applications to all remote
desktops in a pool. The following examples show some of the settings available:
nSpecify which remote display protocol to use as the default for the remote desktop and whether to let
end users override the default.
nFor View Composer linked-clone virtual machines or full clone virtual machines, specify whether to
power off the virtual machine when it is not in use and whether to delete it altogether. Instant clone
virtual machines are always powered on.
nFor View Composer linked-clone virtual machines, you can specify whether to use a Microsoft
Sysprep customization specification or QuickPrep from VMware. Sysprep generates a unique SID
and GUID for each virtual machine in the pool. Instant clones require a different customization
specification, called ClonePrep, from VMware.
You can also specify how users are assigned desktops in a pool.
Dedicated-assignment
pools
Each user is assigned a particular remote desktop and returns to the same
desktop at each login. Dedicated assignment pools require a one-to-one
desktop-to-user relationship. For example, a pool of 100 desktops are
needed for a group of 100 users.
Floating-assignment
pools
Using floating-assignment pools also allows you to create a pool of
desktops that can be used by shifts of users. For example, a pool of 100
desktops could be used by 300 users if they worked in shifts of 100 users
at a time. The remote desktop is optionally deleted and re-created after
each use, offering a highly controlled environment.
Desktop Pools for Specific Types of Workers
Horizon 7 provides many features to help you conserve storage and reduce the amount of processing
power required for various use cases. Many of these features are available as pool settings.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 9
The most fundamental question to consider is whether a certain type of user needs a stateful desktop
image or a stateless desktop image. Users who need a stateful desktop image have data in the operating
system image itself that must be preserved, maintained, and backed up. For example, these users install
some of their own applications or have data that cannot be saved outside of the virtual machine itself,
such as on a file server or in an application database.
Stateless desktop
images
Also known as nonpersistent desktops, stateless architectures have many
advantages, such as being easier to support and having lower storage
costs. Other benefits include a limited need to back up the virtual machines
and easier, less expensive disaster recovery and business continuity
options.
Stateful desktop
images
Also known as persistent desktops, these images might require traditional
image management techniques. Stateful images can have low storage
costs in conjunction with certain storage system technologies. Backup and
recovery technologies such as VMware Consolidated Backup and VMware
Site Recovery Manager are important when considering strategies for
backup, disaster recovery, and business continuity.
There are two ways to create stateless desktop images in Horizon 7:
nYou can create floating assignment pools or dedicated assignment pools of instant clone virtual
machines. Folder redirection and roaming profiles can optionally be used to store user data.
nYou can use View Composer to create floating or dedicated assignment pools of linked clone virtual
machines. Folder redirection and roaming profiles can optionally be used to store user data or
configure persistent disks to persist user data.
There are several ways to create stateful desktop images in Horizon 7:
nYou can create full clones or full virtual machines. Some storage vendors have cost-effective storage
solutions for full clones. These vendors often have their own best practices and provisioning utilities.
Using one of these vendors might require that you create a manual dedicated-assignment pool.
nYou can create pools of instant-clone or linked-clone virtual machines and use App Volumes user
writable volumes to attach user data and user-installed apps.
Whether you use stateless or stateful desktops depends on the specific type of worker.
Pools for Task Workers
You can standardize on stateless desktop images for task workers so that the image is always in a well-
known, easily supportable configuration and so that workers can log in to any available desktop.
Because task workers perform repetitive tasks within a small set of applications, you can create stateless
desktop images, which help conserve storage space and processing requirements.
Use the following pool settings for instant-clone desktop pools:
nFor instant clone pools, to optimize resource utilization, use on demand provisioning to grow or shrink
the pool based on usage. Be sure to specify enough spare desktops to satisfy the login rate.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 10
nFor instant clone desktop pools, Horizon 7 automatically deletes the instant clone whenever a user
logs out. A new instant clone is created and ready for the next user to log in, thus effectively
refreshing the desktop on every log out.
Use the following pool settings for View Composer linked-clone desktop pools:
nFor View Composer desktop pools, determine what action, if any, to take when users log off. Disks
grow over time. You can conserve disk space by refreshing the desktop to its original state when
users log off. You can also set a schedule for periodically refreshing desktops. For example, you can
schedule desktops to refresh daily, weekly, or monthly.
nIf applicable, and if you use View Composer linked-clone pools, consider storing desktops on local
ESXi data stores. This strategy can offer advantages such as inexpensive hardware, fast virtual-
machine provisioning, high-performance power operations, and simple management. For a list of the
limitations, see Storing View Composer Linked Clones on Local Datastores.
Note For information about other types of storage options, see Chapter 13 Reducing and Managing
Storage Requirements.
nUse the Persona Management feature so that users always have their preferred desktop appearance
and application settings, as with Windows user profiles. If you do not have the desktops set to be
refreshed or deleted at logoff, you can configure the persona to be removed at logoff.
Important Persona Management facilitates implementing a floating-assignment pool for those users
who want to retain settings between sessions. Previously, one of the limitations of floating-assignment
desktops was that when end users logged off, they lost all their configuration settings and any data
stored in the remote desktop.
Each time end users logged on, their desktop background was set to the default wallpaper, and they
would have to configure each application's preferences again. With Persona Management, an end
user of a floating-assignment desktop cannot tell the difference between their session and a session
on a dedicated-assignment desktop.
Use the following general pool settings for all desktop pools:
nCreate an automated pool so that desktops can be created when the pool is created or can be
generated on demand based on pool usage.
nUse floating assignment so that users log in to any available desktop. This setting reduces the
number of desktops required if everyone does not need to be logged in at the same time.
nCreate instant-clone or View Composer linked-clone desktops so that desktops share the same base
image and use less storage space in the datacenter than full virtual machines.
Pools for Knowledge Workers and Power Users
Knowledge workers must be able to create complex documents and have them persist on the desktop.
Power users must be able to install their own applications and have them persist. Depending on the
nature and amount of personal data that must be retained, the desktop can be stateful or stateless.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 11
For knowledge workers who do not need user-installed applications except for temporary use, you can
create stateless desktop images and save all their personal data outside of the virtual machine, on a file
server or in an application database. For other knowledge workers and for power users, you can create
stateful desktop images.
Use the following pool settings for instant-clone desktop pools:
nIf you use instant clone desktops, implement file share, roaming profile, or another profile
management solution.
Use the following pool settings for View Composer linked-clone desktop pools:
nIf you use View Composer with vSphere 5.1 or later virtual desktops, enable the space reclamation
feature for vCenter Server and for the desktop pool. With the space reclamation feature, stale or
deleted data within a guest operating system is automatically reclaimed with a wipe and shrink
process.
nIf you use View Composer linked-clone desktops, implement Persona Management, roaming profiles,
or another profile management solution. You can also configure persistent disks so that you can
refresh and recompose the linked-clone OS disks while keeping a copy of the user profile on the
persistent disks.
nUse the Persona Management feature so that users always have their preferred desktop appearance
and application settings, as with Windows user profiles.
Use the following general pool settings for all desktop pools:
nSome power users and knowledge workers, such as accountants, sales managers, marketing
research analysts, might need to log into the same desktop every time. Create dedicated assignment
pools for them.
nUse vStorage thin provisioning so that at first, each desktop uses only as much storage space as the
disk needs for its initial operation.
nFor power users and knowledge workers who must install their own applications, which adds data to
the operating system disk, there are two options. One option is to create full virtual machine desktops.
The other option is to create a pool of linked clones or instant clones, and use App Volumes to persist
user-installed applications and user data across logins.
nIf knowledge workers do not require user-installed applications except for temporary use, you can
create View Composer linked-clone desktops or instant clone desktops. The desktop images share
the same base image and use less storage space than full virtual machines.
Pools for Kiosk Users
Kiosk users might include customers at airline check-in stations, students in classrooms or libraries,
medical personnel at medical data entry workstations, or customers at self-service points. Accounts
associated with client devices rather than users are entitled to use these desktop pools because users do
not need to log in to use the client device or the remote desktop. Users can still be required to provide
authentication credentials for some applications.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 12
Virtual machine desktops that are set to run in kiosk mode use stateless desktop images because user
data does not need to be preserved in the operating system disk. Kiosk mode desktops are used with thin
client devices or locked-down PCs. You must ensure that the desktop application implements
authentication mechanisms for secure transactions, that the physical network is secure against tampering
and snooping, and that all devices connected to the network are trusted.
As a best practice, use dedicated Connection Server instances to handle clients in kiosk mode, and
create dedicated organizational units and groups in Active Directory for the accounts of these clients. This
practice not only partitions these systems against unwarranted intrusion, but also makes it easier to
configure and administer the clients.
To set up kiosk mode, you must use the vdmadmin command-line interface and perform several
procedures documented in the topics about kiosk mode in the View Administration document.
As part of this setup, you can use the following instant-clone desktop pool settings.
nIf you are using instant clone desktop pools, Horizon 7automatically deletes the instant clone
whenever a user logs out. A new instant clone is created and ready for the next user to log in, thus
effectively refreshing the desktop on every log out.
As part of this setup, you can use the following View Composer linked-clone desktop pool settings.
nIf you are using View Composer linked-clone desktops, institute a refresh policy so that the desktop is
refreshed frequently, such as at every user logoff.
nIf applicable, consider storing desktops on local ESXi datastores. This strategy can offer advantages
such as inexpensive hardware, fast virtual-machine provisioning, high-performance power operations,
and simple management. For a list of the limitations, see Storing View Composer Linked Clones on
Local Datastores. Instant clone pools are not supported on local data stores.
Note For information about other types of storage options, see Chapter 13 Reducing and Managing
Storage Requirements.
As part of this setup, you can use the following general settings for all desktop pools.
nCreate an automated pool so that desktops can be created when the pool is created or can be
generated on demand based on pool usage.
nUse floating assignment so that users can access any available desktop in the pool.
nCreate instant-clone or View Composer linked-clone desktops so that desktops share the same base
image and use less storage space in the datacenter than full virtual machines.
nUse an Active Directory GPO (group policy object) to configure location-based printing, so that the
desktop uses the nearest printer. For a complete list and description of the settings available through
Group Policy administrative (ADMX) templates, see Configuring Remote Desktop Features in Horizon
7.
nUse a GPO or Smart Policies to control whether local USB devices are connected to the desktop
when the desktop is launched or when USB devices are plugged in to the client computer.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 13
Creating and Preparing a Virtual
Machine for Cloning 3
You can create a pool of desktop machines by cloning a vCenter Server virtual machine (VM). Before you
create the desktop pool, you need to prepare and configure this VM, which will be the parent, or master
image of the clones.
For information about preparing machines that are used as Remote Desktop Services (RDS) hosts, see
the Setting Up Desktops and Application Pools in Horizon 7 guide.
For information about preparing Linux VMs for remote desktop deployment, see the Setting Up Horizon 7
for Linux Desktops guide.
Note
nStarting with version 7.0, View Agent is renamed Horizon Agent and View Administrator is renamed
Horizon Administrator.
nVMware Blast, the display protocol that is available starting with Horizon 7.0, is also known as
VMware Blast Extreme.
This chapter includes the following topics:
nCreating a Virtual Machine for Cloning
nInstall Horizon Agent on a Virtual Machine
nInstall Horizon Agent Silently
nConfigure a Virtual Machine with Multiple NICs for Horizon Agent
nOptimize Guest Operating System Performance
nDisable the Windows Customer Experience Improvement Program
nOptimizing Windows for Instant-Clone and View Composer Linked-Clone Virtual Machines
nPreparing a Parent Virtual Machine
nCreating Virtual Machine Templates
nCreating Customization Specifications
Creating a Virtual Machine for Cloning
The first step in the process of deploying a pool of cloned desktops is to create a virtual machine in
vSphere, install and configure the operating system.
VMware, Inc. 14
1Create a Virtual Machine in vSphere
You can create a virtual machine in vSphere from scratch or by cloning an existing VM. This
procedure describes creating a VM from scratch.
2Install a Guest Operating System
After you create a virtual machine, you must install a guest operating system.
3Prepare a Guest Operating System for Remote Desktop Deployment
You must perform certain tasks to prepare a guest operating system for remote desktop deployment.
4Prepare Windows Server Operating Systems for Desktop Use
To use a Windows Server 2008 R2, Windows Server 2012 R2, or Windows Server 2016 virtual
machine as a single-session virtual desktop (rather than as an RDS host), you must perform certain
steps before you install Horizon Agent in the virtual machine. You must also configure Horizon
Administrator to treat Windows Servers as supported operating systems for Horizon 7 desktop use.
5Install Desktop Experience on Windows Server 2008 R2
For RDS desktops and applications, and for VDI desktops that are deployed on single-user virtual
machines that run Windows Server, scanner redirection requires that you install the Desktop
Experience feature on the RDS hosts and the single-user virtual machines.
6Install Desktop Experience on Windows Server 2012, 2012 R2, or 2016
For RDS desktops and applications, and for VDI desktops that are deployed on single-user virtual
machines that run Windows Server, scanner redirection requires that you install the Desktop
Experience feature on the RDS hosts and the single-user virtual machines.
7Configure the Windows Firewall Service to Restart After Failures
Some Windows Server 2012 R2, Windows 2016, Windows 8.1, and Windows 10 machines that are
deployed as single-session desktops do not become available immediately after they are
provisioned. This issue occurs when the Windows Firewall service does not restart after its timeout
period expires. You can configure the Windows Firewall service on the parent (master image) or
template virtual machine to ensure that all machines in a desktop pool become available.
Create a Virtual Machine in vSphere
You can create a virtual machine in vSphere from scratch or by cloning an existing VM. This procedure
describes creating a VM from scratch.
Prerequisites
nFamiliarize yourself with the custom configuration parameters for virtual machines. See Virtual
Machine Custom Configuration Parameters.
Procedure
1Log in to vSphere Client.
2Select File > New > Virtual Machine to start the New Virtual Machine wizard.
3Select Custom and configure custom configuration parameters.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 15
4Select Edit the virtual machine settings before completion and click Continue to configure
hardware settings.
a Add a CD/DVD drive, set the media type to use an ISO image file, select the ISO image file of an
appropriate operating system, and select Connect at power on.
b Set Power-on Boot Delay to 10,000 milliseconds.
5Click Finish to create the virtual machine.
What to do next
Install the operating system.
Virtual Machine Custom Configuration Parameters
You can use virtual machine custom configuration parameters as baseline settings when you create a
virtual machine for remote desktop deployment.
You can change certain settings when you use Horizon Administrator to deploy desktop pools from the
virtual machine.
Table 31. Custom Configuration Parameters
Parameter Description and Recommendations
Name and Location The name and location of the virtual machine.
If you plan to use the virtual machine as a template, assign a generic name. The location
can be any folder within your datacenter inventory.
Host/Cluster The ESXi server or cluster of server resources that will run the virtual machine.
If you plan to use the virtual machine as a template, the location of the initial virtual
machine does not necessarily specify where future virtual machines created from
template will reside.
Resource Pool If the physical ESXi server resources are divided into resource pools, you can assign
them to the virtual machine.
Datastore The location of files associated with the virtual machine.
Hardware Machine Version The hardware machine version that is available depends on the ESXi version you are
running. As a best practice, select the latest available hardware machine version, which
provides the greatest virtual machine functionality. Certain Horizon 7 features require
minimum hardware machine versions.
Guest Operating System The type of operating system that you will install in the virtual machine.
CPUs The number of virtual processors in the virtual machine.
For most guest operating systems, a single processor is sufficient.
Memory The amount of memory to allocate to the virtual machine.
In most cases, 512MB is sufficient.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 16
Table 31. Custom Configuration Parameters (Continued)
Parameter Description and Recommendations
Network The number of virtual network adapters (NICs) in the virtual machine.
One NIC is usually sufficient. The network name should be consistent across virtual
infrastructures. An incorrect network name in a template can cause failures during the
instance customization phases.
When you install Horizon Agent on a virtual machine that has more than one NIC, you
must configure the subnet that Horizon Agent uses. See Configure a Virtual Machine
with Multiple NICs for Horizon Agent for more information.
Important For Windows 7, Windows 8.*, Windows 10, Windows Server 2008 R2, and
Windows Server 2012 R2 operating systems, you must select the VMXNET 3 network
adapter. Using the default E1000 adapter can cause customization timeout errors on
virtual machines. To use the VMXNET 3 adapter, you must install a Microsoft hotfix:
For Windows 7 SP1, install the following hotfixes:
nhttp://support.microsoft.com/kb/2550978
Install the hotfix before installing Horizon Agent. When installing the hotfix, if you
encounter Windows Update error 0x80070424, see https://support.microsoft.com/en-
us/kb/968002.
nhttps://support.microsoft.com/en-au/kb/2578159
nhttps://support.microsoft.com/en-au/kb/2661332
For more information on installing the hotfixes, see
http://kb.vmware.com/kb/2073945.
SCSI Controller The type of SCSI adapter to use with the virtual machine.
For Windows 8/8.1 and Windows 7 guest operating systems, you should specify the LSI
Logic adapter. The LSI Logic adapter has improved performance and works better with
generic SCSI devices.
LSI Logic SAS is available only for virtual machines with hardware version 7 and later.
Select a Disk The disk to use with the virtual machine.
Create a new virtual disk based on the amount of local storage that you decide to
allocate to each user. Allow enough storage space for the OS installation, patches, and
locally installed applications.
To reduce the need for disk space and management of local data, you should store the
user's information, profile, and documents on network shares rather than on a local disk.
Install a Guest Operating System
After you create a virtual machine, you must install a guest operating system.
Prerequisites
nVerify that an ISO image file of the guest operating system is on a datastore on your ESXi server.
nVerify that the CD/DVD drive in the virtual machine points to the ISO image file of the guest operating
system and that the CD/DVD drive is configured to connect at power on.
Procedure
1In vSphere Client, log in to the vCenter Server system where the virtual machine resides.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 17
2Right-click the virtual machine, select Power, and select Power On to start the virtual machine.
Because you configured the CD/DVD drive to point to the ISO image of the guest operating system
and to connect at power on, the guest operating system installation process begins automatically.
3Click the Console tab and follow the installation instructions provided by the operating system
vendor.
4Activate Windows.
What to do next
Prepare the guest operating system for Horizon 7 desktop deployment.
Prepare a Guest Operating System for Remote Desktop
Deployment
You must perform certain tasks to prepare a guest operating system for remote desktop deployment.
Prerequisites
nCreate a virtual machine and install a guest operating system.
nConfigure an Active Directory domain controller for your remote desktops. See the View Installation
document for more information.
nTo make sure that desktop users are added to the local Remote Desktop Users group of the virtual
machine, create a restricted Remote Desktop Users group in Active Directory. See the View
Installation document for more information.
nVerify that Remote Desktop Services are started on the virtual machine. Remote Desktop Services
are required for Horizon Agent installation, SSO, and other Horizon 7 operations. You can disable
RDP access to your Horizon 7 desktops by configuring desktop pool settings and group policy
settings. See Prevent Access to Horizon 7 Desktops Through RDP.
nVerify that you have administrative rights on the guest operating system.
nOn Windows Server operating systems, prepare the operating system for desktop use. See Prepare
Windows Server Operating Systems for Desktop Use.
nIf you intend to configure 3D graphics rendering for desktop pools, familiarize yourself with the
Enable 3D Support setting for virtual machines.
This setting is active on Windows 7 and later operating systems. On ESXi 5.1 and later hosts, you
can also select options that determine how the 3D renderer is managed on the ESXi host. For details,
see the vSphere Virtual Machine Administration document.
Procedure
1In vSphere Client, log in to the vCenter Server system where the virtual machine resides.
2Right-click the virtual machine, select Power, and select Power On to start the virtual machine.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 18
3Right-click the virtual machine, select Guest, and select Install/Upgrade VMware Tools to install the
latest version of VMware Tools.
Note The virtual printing feature is supported only when you install it from Horizon Agent. Virtual
printing is not supported if you install it with VMware Tools.
4Ensure that the virtual machine is synchronized to a reliable time source.
In general, guests can use the VMware Tools time synchronization method in preference to other
methods of time synchronization. The VMware Tools online help provides information on configuring
time synchronization between guest and host.
A Windows guest that is a member of a Windows domain synchronizes its time with its domain
controller using the Windows Time Service. For these guests, this is the appropriate time
synchronization method and VMware Tools time synchronization must not be used.
Guests must use only one method of time synchronization. For example, a Windows guest that is not
a member of a Windows domain must have its Windows Time Service disabled.
Important Hosts that are being relied upon for time synchronization must themselves be
synchronized to a reliable time source, using the built-in NTP client. Verify that all hosts in a cluster
use the same time source.
Note Windows domain controllers can use either VMware Tools time synchronization or another
reliable time source. All domain controllers within a forest and domain controllers across forests with
inter-forest trusts must be configured to use the same time source.
5Install service packs and updates.
6Install antivirus software.
7Install other applications and software, such as smart card drivers if you are using smart card
authentication.
If you plan to use VMware Identity Manager to offer a catalog that includes ThinApp applications, you
must install VMware Identity Manager for Windows.
Important If you are installing Microsoft .NET Framework, you must install it after you install
Horizon Agent.
8If Horizon Client devices will connect to the virtual machine with the PCoIP display protocol, set the
power option Turn off the display to Never.
If you do not disable this setting, the display will appear to freeze in its last state when power savings
mode starts.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 19
9If Horizon Client devices will connect to the virtual machine with the PCoIP display protocol, go to
Control Panel > System > Advanced System Settings > Performance Settings and change the
setting for Visual Effects to Adjust for best performance.
If you instead use the setting called Adjust for best appearance or Let Windows choose what's
best for my computer and Windows chooses appearance instead of performance, performance is
negatively affected.
10 If a proxy server is used in your network environment, configure network proxy settings.
11 Configure network connection properties.
a Assign a static IP address or specify that an IP address is assigned by a DHCP server.
Horizon 7 does not support link-local (169.254.x.x) addresses for Horizon 7 desktops.
b Set the preferred and alternate DNS server addresses to your Active Directory server address.
12 (Optional) Join the virtual machine to the Active Directory domain for your remote desktops.
A parent or master image virtual machine for creating instant clones or View Composer linked clones
must either belong to the same Active Directory domain as the domain that the desktop machines will
join or be a member of a workgroup.
13 Configure Windows Firewall to allow Remote Desktop connections to the virtual machine.
14 (Optional) Disable Hot Plug PCI devices.
This step prevents users from accidentally disconnecting the virtual network device (vNIC) from the
virtual machine.
15 (Optional) Configure user customization scripts.
Prepare Windows Server Operating Systems for Desktop Use
To use a Windows Server 2008 R2, Windows Server 2012 R2, or Windows Server 2016 virtual machine
as a single-session virtual desktop (rather than as an RDS host), you must perform certain steps before
you install Horizon Agent in the virtual machine. You must also configure Horizon Administrator to treat
Windows Servers as supported operating systems for Horizon 7 desktop use.
Prerequisites
nFamiliarize yourself with the steps to install the Desktop Experience feature on Windows Server 2008
R2, Windows Server 2012 R2, or Windows Server 2016. See Install Desktop Experience on Windows
Server 2008 R2 or Install Desktop Experience on Windows Server 2012, 2012 R2, or 2016
nOn Windows Server 2012 R2 or Windows Server 2016 machines, familiarize yourself with the steps
to configure the Windows Firewall service to restart after failures occur. See Configure the Windows
Firewall Service to Restart After Failures.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 20
Procedure
1Verify that the Remote Desktop Services role is not installed.
When the Remote Desktop Services role is not present, the Horizon Agent installer prompts you to
confirm that you want to install Horizon Agent in desktop mode. If the Remote Desktop Services role
is present, the Horizon Agent installer does not display this prompt and it treats the Windows Server
machine as an RDS host instead of a single-session Horizon 7 desktop.
2Install Windows Server 2008 R2 Service Pack 1 (SP1), Windows Server 2012 R2, or Windows Server
2016.
If you do not install SP1 with Windows Server 2008 R2, an error occurs when you install
Horizon Agent.
3(Optional) Install the Desktop Experience feature if you plan to use the following features.
nHTML Access
nScanner redirection
nWindows Aero
4(Optional) To use Windows Aero on a Windows Server desktop, start the Themes service.
When you create or edit a desktop pool, you can configure 3D graphics rendering for your desktops.
The 3D Renderer setting offers a Software option that enables users to run Windows Aero on the
desktops in the pool.
5On Windows Server 2012 R2 or Windows Server 2016 machines, configure the Windows Firewall
service to restart after failures occur.
6Configure Horizon Administrator to treat Windows Servers as supported desktop operating systems.
If you do not perform this step, you cannot select Windows Server machines for desktop use in
Horizon Administrator.
a In Horizon Administrator, select View Configuration > Global Settings.
b In the General pane, click Edit.
c Select the Enable Windows Server desktops check box and click OK.
When you enable Windows Server desktops in Horizon Administrator, Horizon Administrator displays all
available Windows Server machines, including machines on which Connection Server is installed, as
potential machines for desktop use. You cannot install Horizon Agent on machines on which other
Horizon 7 software components are installed.
Install Desktop Experience on Windows Server 2008 R2
For RDS desktops and applications, and for VDI desktops that are deployed on single-user virtual
machines that run Windows Server, scanner redirection requires that you install the Desktop Experience
feature on the RDS hosts and the single-user virtual machines.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 21
Procedure
1Log in as an administrator.
2Start Server Manager.
3Click Features.
4Click Add Features.
5On the Select Features page, select the Desktop Experience checkbox.
6Review the information about other features that are required by the Desktop Experience feature, and
click Add Required Features.
7Follow the prompts and finish the installation.
Install Desktop Experience on Windows Server 2012, 2012 R2, or
2016
For RDS desktops and applications, and for VDI desktops that are deployed on single-user virtual
machines that run Windows Server, scanner redirection requires that you install the Desktop Experience
feature on the RDS hosts and the single-user virtual machines.
Windows Server 2012, Windows Server 2012 R2, and Windows Server 2016 are supported on machines
that are used as RDS hosts. Windows Server 2012 R2, and Windows Server 2016 is supported on single-
user virtual machines.
Procedure
1Log in as an administrator.
2Start Server Manager.
3Select Add roles and features.
4On the Select Installation Type page, select Role-based or feature-based installation.
Note For Windows Server 2016 installation, select Windows Server 2016 or Windows Server
(Server with Desktop Experience). If you do not make a choice in the Setup wizard, Windows
Server 2016 is installed as the Server Core installation option. You cannot switch between the
installation options. If you install Windows Server (Server with Desktop Experience), and later
decide to use Windows Server 2016, you must perform a fresh installation of Windows Server 2016.
5On the Select Destination Server page, select a server.
6On the Select Server Roles page, accept the default selection and click Next.
7On the Select Features page, under User Interfaces and Infrastructure, select Desktop
Experience.
8Follow the prompts and finish the installation.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 22
Configure the Windows Firewall Service to Restart After Failures
Some Windows Server 2012 R2, Windows 2016, Windows 8.1, and Windows 10 machines that are
deployed as single-session desktops do not become available immediately after they are provisioned.
This issue occurs when the Windows Firewall service does not restart after its timeout period expires. You
can configure the Windows Firewall service on the parent (master image) or template virtual machine to
ensure that all machines in a desktop pool become available.
If you encounter this issue during provisioning, the Windows event logs display the following error: The
Windows Firewall service terminated with the following service-specific error: This
operation returned because the timeout period expired.
This issue occurs on Windows Server 2012 R2, Windows 8.1, and Windows 10 machines. Other guest
operating systems are not affected.
Procedure
1On the Windows Server 2012 R2, Windows 8.1, or Windows 10 parent (master image) or template
virtual machine from which you will deploy a desktop pool, select Control Panel > Administrative
Tools > Services.
2In the Services dialog box, right-click the Windows Firewall service and select Properties.
3In the Windows Firewall Properties dialog box, click the Recovery tab.
4Select the recovery settings to restart the service after a failure occurs.
Setting Drop-down Menu Option
First failure: Restart the Service
Second failure: Restart the Service
Subsequent failures: Restart the Service
5Select the Enable actions for stops with errors check box and click OK.
6Deploy or redeploy the desktop pool from the parent (master image) or template virtual machine.
Install Horizon Agent on a Virtual Machine
You must install Horizon Agent on virtual machines that are managed by vCenter Server so that
Connection Server can communicate with them. Install Horizon Agent on all virtual machines that you use
as templates for full-clone desktop pools, parents for linked-clone desktop pools, master images for
instant-clone desktop pools, and machines in manual desktop pools.
To install Horizon Agent on multiple Windows virtual machines without having to respond to wizard
prompts, you can install Horizon Agent silently. See Install Horizon Agent Silently.
The Horizon Agent software cannot coexist on the same virtual or physical machine with other Horizon
software components, including security server, Connection Server, and View Composer. It can coexist
with Horizon Client.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 23
Prerequisites
nVerify that you have prepared Active Directory. See the View Installation document.
nPrepare the guest operating system for remote desktop deployment. See Prepare a Guest Operating
System for Remote Desktop Deployment.
nTo use a Windows Server virtual machine as a remote desktop (rather than as an RDS host), perform
the steps described in Prepare Windows Server Operating Systems for Desktop Use.
nIf the machine has the Microsoft Visual C++ Redistributable package installed, verify that the version
of the package is 2005 SP1 or later. If the package version is 2005 or earlier, you can either upgrade
or uninstall the package.
nDownload the Horizon Agent installer file from the VMware product page at
http://www.vmware.com/go/downloadview.
nVerify that you have administrative rights on the virtual machine.
nFamiliarize yourself with the Horizon Agent custom setup options. See Horizon Agent Custom Setup
Options.
nFamiliarize yourself with the TCP ports that the Horizon Agent installation program opens on the
firewall. See the View Architecture Planning document for more information.
Procedure
1To start the Horizon Agent installation program, double-click the installer file.
The installer filename is VMware-viewagent-y.y.y-xxxxxx.exe or VMware-viewagent-x86_64-
y.y.y-xxxxxx.exe, where y.y.y is the version number and xxxxxx is the build number.
2Accept the VMware license terms.
3If you install Horizon Agent on a Windows Server machine on which the Remote Desktop Services
(RDS) role is not installed, select Install VMware Horizon Agent in 'desktop mode'.
Selecting this option configures the Windows Server machine as a single-user virtual desktop rather
than as an RDS host. If you intend the machine to function as an RDS host, cancel the Horizon Agent
installation, install the RDS role on the machine, and restart the Horizon Agent installation.
4Select the Internet Protocol (IP) version, IPv4 or IPv6.
You must install all View components with the same IP version.
5Select whether to enable or disable FIPS mode.
This option is available only if FIPS mode is enabled in Windows.
6Select your custom setup options.
To deploy View Composer linked-clone desktops, select the VMware Horizon View Composer
Agent option. To deploy instant-clone desktops, select the VMware Horizon Instant Clone Agent
option. You cannot select both of these options.
7Accept or change the destination folder.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 24
8Follow the prompts in the Horizon Agent installation program and finish the installation.
Note If you did not enable Remote Desktop support during guest operating system preparation, the
Horizon Agent installation program prompts you to enable it. If you do not enable Remote Desktop
support during Horizon Agent installation, you must enable it manually after the installation is finished.
9If you selected the USB redirection option, restart the virtual machine to enable USB support.
In addition, the Found New Hardware wizard might start. Follow the prompts in the wizard to
configure the hardware before you restart the virtual machine.
What to do next
If the virtual machine has multiple NICs, configure the subnet that Horizon Agent uses. See Configure a
Virtual Machine with Multiple NICs for Horizon Agent.
Horizon Agent Custom Setup Options
When you install Horizon Agent on a virtual machine, you can select or deselect custom setup options. In
addition, Horizon Agent installs certain features automatically on all guest operating systems on which
they are supported. These features are not optional.
To learn which features are supported on which guest operating systems, see "Feature Support Matrix for
Horizon Agent" in the View Architecture Planning document.
To change custom setup options after you install the latest Horizon Agent version, you must uninstall and
reinstall Horizon Agent. For patches and upgrades, you can run the new Horizon Agent installer and
select a new set of options without uninstalling the previous version.
All custom setup options are selected by default except USB Redirection, Scanner Redirection,
Smartcard Redirection, Serial Port Redirection, Flash Redirection, Skype for Business, VMware Horizon
Instant Clone Agent, and HTML5 Multimedia Redirection.
Table 32. Horizon Agent Custom Setup Options in an IPv4 Environment
Option Description
Core Installs the core functionality.
USB Redirection Gives users access to locally connected USB devices on their desktops.
USB redirection is supported on remote desktops that are deployed on single-user machines. In
addition, redirection of USB flash drives and hard disks is supported on RDS desktops and
applications.
This option is not selected by default. You must select the option to install it.
For guidance on using USB redirection securely, see the View Security guide. For example, you can
use group policy settings to disable USB redirection for specific users.
Real-Time Audio-Video Redirects webcam and audio devices that are connected to the client system so that they can be
used on the remote desktop.
Client Drive Redirection Allows Horizon Client users to share local drives with their remote desktops.
After this option is installed, no further configuration is required on the remote desktop.
Client Drive Redirection is also supported on RDS desktops and applications and on virtual machine
desktops that run on unmanaged machines.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 25
Table 32. Horizon Agent Custom Setup Options in an IPv4 Environment (Continued)
Option Description
Virtual Printing Lets users print to any printer available on their client computers. Users do not have to install
additional drivers on their desktops.
Virtual printing is supported on the following remote desktops and applications:
nDesktops that are deployed on single-user machines, including Windows desktop and Windows
Server machines.
nDesktops that are deployed on RDS hosts, where the RDS hosts are virtual machines.
nRemote applications.
nRemote applications that are launched from Horizon Client inside remote desktops (nested
sessions).
The virtual printing feature is supported only when you install it from Horizon Agent. It is not
supported if you install it with VMware Tools.
vRealize Operations
Desktop Agent
Provides information that allows vRealize Operations for View to monitor View desktops.
VMware Horizon 7 Persona
Management
Synchronizes the user profile on the local desktop with a remote profile repository, so that users have
access to their profiles whenever they log in to a desktop.
Scanner Redirection Redirects scanning and imaging devices that are connected to the client system so that they can be
used on the remote desktop or application.
This option is not selected by default. You must select the option to install it.
VMware Client IP
Transparency
Enables remote connections to Internet Explorer to use the Client's IP address instead of the remote
desktop machine's IP address.
This setup option is not selected by default. You must select the option to install it.
Smartcard Redirection Lets users authenticate with smart cards when they use the PCoIP or Blast Extreme display protocol.
This option is not selected by default.
Smartcard Redirection is supported on remote desktops that are deployed on single-user machines.
Serial Port Redirection Redirects serial COM ports that are connected to the client system so that they can be used on the
remote desktop.
This option is not selected by default. You must select the option to install it.
Serial port redirection is supported on remote desktops that are deployed on single-user machines.
VMware Audio Provides a virtual audio driver on the remote desktop.
Flash Redirection Redirects Flash multimedia content in an Internet Explorer 9, 10, or 11 browser to the client, for
performance optimization.
HTML5 Multimedia
Redirection
Redirects HTML5 multimedia content in a Chrome browser to the client, for performance optimization.
URL Content Redirection Redirects URL content in an Internet Explorer 9, 10, or 11 browser from client-to-client, for
performance optimization.
VMware Horizon View
Composer Agent
Lets this virtual machine be the parent VM of a View Composer linked-clone desktop pool. If you
select this option, you cannot select the VMware Horizon Instant Clone Agent option.
VMware Horizon Instant
Clone Agent
Lets this virtual machine be the parent VM of an instant-clone desktop pool. This option is not
selected by default. If you select this option, you cannot select the VMware Horizon View Composer
Agent option.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 26
Table 32. Horizon Agent Custom Setup Options in an IPv4 Environment (Continued)
Option Description
Local Printer Redirection Local printer redirection is designed for the following use cases:
nPrinters directly connected to USB or serial ports on the client device
nSpecialized printers such as bar code printers and label printers connected to the client
nNetwork printers on a remote network that are not addressable from the virtual session.
Fingerprint Scanner
Redirection
Redirects fingerprint scanner devices that are plugged into a serial port on a Windows client system
to virtual desktops, published desktops, and published applications.
VMware Virtualization Pack
for Skype for Business
Makes optimized audio and video calls with Skype for Business inside a virtual desktop. This option is
not selected by default. You must select the option to install it.
In an IPv6 environment, Core, VMware Horizon View Composer Agent, Virtual Printing, and VMware
Audio options are selected and installed by default.
Table 33. Horizon Agent Features That Are Installed Automatically (Not Optional)
Feature Description
PCoIP Agent Lets users connect to the View desktop using the PCoIP display
protocol.
Installing the PCoIP Agent feature disables sleep mode on
Windows desktops. When a user navigates to the Power
Options or Shut Down menu, sleep mode or standby mode is
inactive. Desktops do not go into sleep or standby mode after a
default period of inactivity. Desktops remain in active mode.
Windows Media Multimedia Redirection (MMR) Extends multimedia redirection to Windows 7 and later desktops
and clients. This feature delivers a multimedia stream directly to
the client computer, allowing the multimedia stream to be
processed on the client hardware instead of the remote ESXi
host.
Unity Touch Allows tablet and smart phone users to interact easily with
Windows applications that run on the remote desktop. Users can
browse, search, and open Windows applications and files,
choose favorite applications and files, and switch between
running applications, all without using the Start menu or Taskbar.
Virtual video driver Provides a virtual video driver on the remote desktop.
VMware Blast Installs the VMware Blast display protocol on remote desktops.
Core Installs the core functionality.
PSG Agent Installs the PCoIP Secure Gateway on remote desktops to
implement the PCoIP display protocol.
Install Horizon Agent Silently
You can use the silent installation feature of the Microsoft Windows Installer (MSI) to install Horizon Agent
on several Windows virtual machines or physical computers. In a silent installation, you use the command
line and do not have to respond to wizard prompts.
With silent installation, you can efficiently deploy View components in a large enterprise.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 27
If you do not want to install all features that are installed automatically or by default, you can use the
ADDLOCAL MSI property to selectively install individual setup options and features. For details about the
ADDLOCAL property, see Table 35.
Prerequisites
nVerify that you have prepared Active Directory. See the View Installation document.
nPrepare the guest operating system for desktop deployment. See Prepare a Guest Operating System
for Remote Desktop Deployment.
nTo use Windows Server as a single-session remote desktop (rather than as an RDS host), perform
the steps described in Prepare Windows Server Operating Systems for Desktop Use.
nIf the machine has the Microsoft Visual C++ Redistributable package installed, verify that the version
of the package is 2005 SP1 or later. If the package version is 2005 or earlier, you can either upgrade
or uninstall the package.
nDownload the Horizon Agent installer file from the VMware product page at
http://www.vmware.com/go/downloadview.
The installer filename is VMware-viewagent-y.y.y-xxxxxx.exe or VMware-viewagent-x86_64-
y.y.y-xxxxxx.exe, where y.y.y is the version number and xxxxxx is the build number.
nVerify that you have administrative rights on the virtual machine or physical PC.
nFamiliarize yourself with the Horizon Agent custom setup options. See Horizon Agent Custom Setup
Options.
nFamiliarize yourself with the MSI installer command-line options. See Microsoft Windows Installer
Command-Line Options.
nFamiliarize yourself with the silent installation properties available with Horizon Agent. See Silent
Installation Properties for Horizon Agent.
nFamiliarize yourself with the TCP ports that the Horizon Agent installation program opens on the
firewall. See the View Architecture Planning document for more information.
nVerify that the latest Windows Update patches are installed on the guest operating systems on which
you plan to install Horizon Agent silently. In certain cases, an interactive installation by an
administrator might be required to execute pending Windows Update patches. Verify that all OS
operations and subsequent reboots are completed.
Procedure
1Open a Windows command prompt on the virtual machine or physical PC.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 28
2Type the installation command on one line.
The following example installs Horizon Agent with the components Core, VMware Blast, PCoIP, Unity
Touch, VmVideo, PSG, View Composer Agent, Virtual Printing, USB redirection, and Real-Time
Audio-Video components.
VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn VDM_VC_MANAGED_AGENT=1
ADDLOCAL=Core,SVIAgent,ThinPrint,USB,RTAV"
The following example installs Horizon Agent on an unmanaged computer and registers the desktop
with the specified View Connection Server, cs1.companydomain.com. In addition, the installer installs
the Core, VMware Blast, PCoIP, Unity Touch, VmVideo, PSG, Virtual Printing, and USB redirection
components.
VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn VDM_VC_MANAGED_AGENT=0
VDM_SERVER_NAME=cs1.companydomain.com VDM_SERVER_USERNAME=admin.companydomain.com
VDM_SERVER_PASSWORD=secret ADDLOCAL=Core,ThinPrint,USB"
If you install Horizon Agent on a Windows Server machine, and you intend to configure the machine
as a single-user View desktop rather than as an RDS host, you must include the
VDM_FORCE_DESKTOP_AGENT=1 property in the installation command. This requirement applies to
machines that are managed by vCenter Server and unmanaged machines.
What to do next
If the virtual machine has multiple NICs, configure the subnet that Horizon Agent uses. See Configure a
Virtual Machine with Multiple NICs for Horizon Agent.
Microsoft Windows Installer Command-Line Options
To install Horizon 7 components silently, you must use Microsoft Windows Installer (MSI) command-line
options and properties. The Horizon 7 component installers are MSI programs and use standard MSI
features.
For details about MSI, see the Microsoft Web site. For MSI command-line options, see the Microsoft
Developer Network (MSDN) Library Web site and search for MSI command-line options. To see MSI
command-line usage, you can open a command prompt on the Horizon 7 component computer and type
msiexec /?.
To run a Horizon 7 component installer silently, you begin by silencing the bootstrap program that extracts
the installer into a temporary directory and starts an interactive installation.
At the command line, you must enter command-line options that control the installer's bootstrap program.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 29
Table 34. Command-Line Options for a Horizon 7 Component's Bootstrap Program
Option Description
/s Disables the bootstrap splash screen and extraction dialog, which prevents the display of
interactive dialogs.
For example: VMware-viewconnectionserver-y.y.y-xxxxxx.exe /s
The /s option is required to run a silent installation.
/v"
MSI_command_line_options"
Instructs the installer to pass the double-quote-enclosed string that you enter at the command
line as a set of options for MSI to interpret. You must enclose your command-line entries
between double quotes. Place a double quote after the /v and at the end of the command
line.
For example: VMware-viewagent-y.y.y-xxxxxx.exe /s /v"command_line_options"
To instruct the MSI installer to interpret a string that contains spaces, enclose the string in two
sets of double quotes. For example, you might want to install the Horizon 7 component in an
installation path name that contains spaces.
For example: VMware-viewconnectionserver-y.y.y-
xxxxxx.exe /s /v"command_line_options INSTALLDIR=""d:\abc\my folder"""
In this example, the MSI installer passes on the installation-directory path and does not
attempt to interpret the string as two command-line options. Note the final double quote that
encloses the entire command line.
The /v"command_line_options" option is required to run a silent installation.
You control the remainder of a silent installation by passing command-line options and MSI property
values to the MSI installer, msiexec.exe. The MSI installer includes the Horizon 7 component's
installation code. The installer uses the values and options that you enter in the command line to interpret
installation choices and setup options that are specific to the Horizon 7 component.
Table 35. MSI Command-Line Options and MSI Properties
MSI Option or
Property Description
/qn Instructs the MSI installer not to display the installer wizard pages.
For example, you might want to install Horizon Agent silently and use only default setup options and
features:
VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn"
Alternatively, you can use the /qb option to display a basic progress dialog box in a noninteractive,
automated installation.
The /qn or /qb option is required to run a silent installation.
For information about additional /q parameters, see the Microsoft Dev Center website.
INSTALLDIR Specifies an alternative installation path for the Horizon 7 component.
Use the format INSTALLDIR=path to specify an installation path. You can ignore this MSI property if you
want to install the Horizon 7 component in the default path.
This MSI property is optional.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 30
Table 35. MSI Command-Line Options and MSI Properties (Continued)
MSI Option or
Property Description
ADDLOCAL Determines the component-specific options to install.
In an interactive installation, the Horizon 7 installer displays custom setup options that you can select or
deselect. In a silent installation, you can use the ADDLOCAL property to selectively install individual setup
options by specifying the options on the command line. Options that you do not explicitly specify are not
installed.
In both interactive and silent installations, the Horizon 7 installer automatically installs certain features.
You cannot use ADDLOCAL to control whether or not to install these non-optional features.
Type ADDLOCAL=ALL to install all custom setup options that can be installed during an interactive
installation, including those that are installed by default and those that you must select to install, except
NGVC. NGVC and SVIAgent are mutually exclusive.
The following example installs Core, BlastProtocol, PCoIP, UnityTouch, VmVideo, PSG, and all features
that are supported on the guest operating system: VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn
ADDLOCAL=ALL"
If you do not use the ADDLOCAL property, the custom setup options that are installed by default and the
automatically installed features are installed. Custom setup options that are off (unselected) by default are
not installed.
The following example installs Core, BlastProtocol, PCoIP, UnityTouch, VmVideo, PSG, and the on-by-
default custom setup options that are supported on the guest operating system: VMware-viewagent-
y.y.y-xxxxxx.exe /s /v"/qn"
To specify individual setup options, type a comma-separated list of setup option names. Do not use
spaces between names. Use the format ADDLOCAL=value,value,value....
You must include Core when you use the ADDLOCAL=value,value,value... property.
The following example installs Horizon Agent with the Core, BlastProtocol, PCoIP, UnityTouch, VmVideo,
PSG, Instant Clone Agent, and Virtual Printing features:
VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn ADDLOCAL=Core,NGVC,ThinPrint"
The preceding example does not install other components, even those that are installed by default
interactively.
The ADDLOCAL MSI property is optional.
REBOOT You can use the REBOOT=ReallySuppress option to allow system configuration tasks to complete before
the system reboots.
This MSI property is optional.
/l*v log_file Writes logging information into the specified log file with verbose output.
For example: /l*v ""%TEMP%\vmmsi.log""
This example generates a detailed log file that is similar to the log generated during an interactive
installation.
You can use this option to record custom features that might apply uniquely to your installation. You can
use the recorded information to specify installation features in future silent installations.
The /l*v option is optional.
Silent Installation Properties for Horizon Agent
You can include specific properties when you silently install Horizon Agent from the command line. You
must use a PROPERTY=value format so that Microsoft Windows Installer (MSI) can interpret the properties
and values.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 31
The following table shows the Horizon Agent silent installation properties that you can use at the
command-line.
Table 36. MSI Properties for Silently Installing Horizon Agent
MSI Property Description Default Value
INSTALLDIR Path and folder in which the Horizon Agent software is installed.
For example:
INSTALLDIR=""D:\abc\my folder""
The sets of two double quotes that enclose the path permit the MSI
installer to ignore the space in the path.
This MSI property is optional.
%ProgramFiles
%\VMware\VMware
View\Agent
RDP_CHOICE Determines whether to enable Remote Desktop Protocol (RDP) on
the desktop.
A value of 1 enables RDP. A value of 0 leaves the RDP setting
disabled.
This MSI property is optional.
1
SUPPRESS_RUNONCE_CHECK Ignores pending Windows Update tasks scheduled at the next
operating system reboot in
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnc
e and RunOnceEx keys. Using this flag allows concurrent
installation but does not guarantee the installation outcome when
the system updates affect the Horizon Agent run-time
dependencies.
This MSI property is optional.
None
URL_FILTERING_ENABLED Specifies whether the URL Content Redirection feature is installed.
A value of 1 installs the feature. You must use group policy settings
to configure which URLs to redirect. See "Configuring URL Content
Redirection in the Configuring Remote Desktop Features in
Horizon 7 document.
This MSI property is optional.
0
VDM_SKIP_BROKER_REGISTRATION A value of 1 skips unmanaged desktops. None
VDM_VC_MANAGED_AGENT Determines whether vCenter Server manages the virtual machine
on which Horizon Agent is installed.
A value of 1 configures the desktop as a vCenter Server-managed
virtual machine.
A value of 0 configures the desktop as unmanaged by vCenter
Server.
This MSI property is required.
None
VDM_SERVER_NAME Host name or IP address of the Connection Server instance on
which the Horizon Agent installer registers an unmanaged desktop.
This property applies to unmanaged desktops only. For example:
VDM_SERVER_NAME=10.123.01.01
This MSI property is required for unmanaged desktops.
Do not use this MSI property for virtual desktops that are managed
by vCenter Server.
None
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 32
Table 36. MSI Properties for Silently Installing Horizon Agent (Continued)
MSI Property Description Default Value
VDM_SERVER_USERNAME User name of the administrator on the Connection Server instance.
This MSI property applies only to unmanaged desktops. For
example:
VDM_SERVER_USERNAME=domain\username
This MSI property is required for unmanaged desktops.
Do not use this MSI property for virtual desktops that are managed
by vCenter Server.
None
VDM_SERVER_PASSWORD Connection Server administrator user password. For example:
VDM_SERVER_PASSWORD=secret
This MSI property is required for unmanaged desktops.
Do not use this MSI property for virtual desktops that are managed
by vCenter Server.
None
VDM_IP_PROTOCOL_USAGE Specifies the IP version that Horizon Agent uses. Valid values are
IPv4 and IPv6.
IPv4
VDM_FIPS_ENABLED Specifies whether to enable or disable FIPS mode. A value of 1
enables FIPS mode. A value of 0 disables FIPS mode. If this
property is set to 1 and Windows is not in FIPS mode, the installer
will abort.
0
VDM_FLASH_URL_REDIRECTION Determines whether Horizon Agent can install the Flash URL
redirection feature. Specify 1 to enable installation or 0 to disable
installation.
This MSI property is optional.
0
INSTALL_VDISPLAY_DRIVER Configures the Horizon WDDM display driver. A value of 1 enables
the driver installation. A value of 0 or empty disables the driver
installation.
0
In a silent installation command, you can use the ADDLOCAL property to specify options that the
Horizon Agent installer configures.
The following table shows the Horizon Agent options that you can type at the command line. These
options have corresponding setup options that you can deselect or select during an interactive
installation.
For more information about the custom setup options, seeHorizon Agent Custom Setup Options.
When you do not use the ADDLOCAL property at the command line, Horizon Agent installs all of the
options that are installed by default during an interactive installation, if they are supported on the guest
operating system. When you use ADDLOCAL=ALL, Horizon Agent installs all of the following options, both
on-by-default and off-by-default, if they are supported on the guest operating system, except NGVC.
NGVC and SVIAgent are mutually exclusive. To install NGVC, you must specify it explicitly.
For more information, see the ADDLOCAL table entry in Microsoft Windows Installer Command-Line
Options.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 33
Table 37. Horizon Agent Silent Installation Options and Interactive Custom Setup Options
Silent Installation Option
Custom Setup Option in an Interactive
Installation
Installed by Default Interactively or When
ADDLOCAL Is Not Used
Core Core Yes
USB USB Redirection No
SVIAgent View Composer Agent Yes
NGVC Instant Clone Agent No
RTAV Real-Time Audio-Video Yes
ClientDriveRedirection Client Drive Redirection Yes
SerialPortRedirection Serial Port Redirection No
ScannerRedirection Scanner Redirection No
FlashURLRedirection Flash URL Redirection
This feature is hidden unless you use the
VDM_FLASH_URL_REDIRECTION=1 property on
the command line.
No
FLASHMMR Flash Redirection No
HTML5MMR HTML5 Multimedia Redirection No
ThinPrint Virtual Printing Yes
V4V vRealize Operations Desktop Agent Yes
VPA View Persona Management Yes
SmartCard PCoIP Smartcard
This feature is not installed by default in an
interactive installation.
No
VmwVaudio VMware Audio (virtual audio driver) Yes
TSMMR Windows Media Multimedia Redirection (MMR) Yes
RDP Enables RDP in the registry if you use the
RDP_CHOICE=1 property on the command line or
select RDP as the default display protocol when
you create or edit a desktop pool in Horizon
Administrator.
This feature is hidden during interactive
installations.
Yes
VMWMediaProviderProxy VMware Virtualization Pack for Skype for
Business
No
DeviceBridgeBAS Device Bridge BAS Plugin
This feature is hidden unless you have installed
BAS 2.0.0.7
No
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 34
Table 37. Horizon Agent Silent Installation Options and Interactive Custom Setup Options
(Continued)
Silent Installation Option
Custom Setup Option in an Interactive
Installation
Installed by Default Interactively or When
ADDLOCAL Is Not Used
RDSH3D 3D rendering on RDS hosts No
CIT (64 bit only) Client IP Transparency.
Only exists in the 64bit installer. If you try to
install the feature through the command line with
the 32bit installer, MSI will return an error.
No
If you use ADDLOCAL to specify features individually (you do not specify ADDLOCAL=ALL), you must always
specify Core.
Table 38. Horizon Agent Silent Installation Features That Are Installed Automatically
Silent Installation Feature Description
Core The core Horizon Agent functions.
If you specify ADDLOCAL=ALL, the Core features are installed.
BlastProtocol VMware Blast
PCoIP PCoIP Protocol Agent
VmVideo Virtual video driver
UnityTouch Unity Touch
PSG This feature sets a registry entry that tells Connection Server whether
Horizon Agent is using IPv4 or IPv6.
You install the Flash URL Redirection feature by using the VDM_FLASH_URL_REDIRECTION=1 property in a
silent installation. This feature is not installed during an interactive installation or by using ADDLOCAL=ALL
in a silent installation. For example:
VMware-viewagent-y.y.y-xxxxxx.exe /s /v"/qn VDM_VC_MANAGED_AGENT=1
VDM_FLASH_URL_REDIRECTION=1
ADDLOCAL=Core,SVIAgent,ThinPrint,USB,FlashURLRedirection,RTAV"
Configure a Virtual Machine with Multiple NICs for
Horizon Agent
When you install Horizon Agent on a virtual machine that has more than one NIC, you must configure the
subnet that Horizon Agent uses. The subnet determines which network address Horizon Agent provides
to the Connection Server instance for client protocol connections.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 35
Procedure
uOn the virtual machine on which Horizon Agent is installed, open a command prompt, type
regedit.exe and create a registry entry to configure the subnet.
For example, in an IPv4 network:
HKLM\Software\VMware, Inc.\VMware VDM\IpPrefix = n.n.n.n/m (REG_SZ)
In this example, n.n.n.n is the TCP/IP subnet and m is the number of bits in the subnet mask.
Note In releases earlier than Horizon 6 version 6.1, this registry path was
HKLM\Software\VMware, Inc.\VMware VDM\Node Manager\subnet = n.n.n.n/m (REG_SZ).
The old registry setting is not used with View Agent 6.1 or later. If you upgrade View Agent from an
earlier release to version 6.1 or later, make sure to use the current registry setting.
Optimize Guest Operating System Performance
You can perform certain steps to optimize guest operating system performance for remote desktop
deployment. All of the steps are optional.
These recommendations include turning off the screen saver and not specifying a sleep timer. Your
organization might require the use of screen savers. For example, you might have a GPO-managed
security policy that locks a desktop a certain time after the screen saver starts. In this case, use a blank
screen saver.
Prerequisites
nPrepare a guest operating system for remote desktop deployment.
nFamiliarize yourself with the procedure for disabling the Windows Customer Experience Improvement
Program. See Disable the Windows Customer Experience Improvement Program.
Procedure
nDisable any unused ports, such as COM1, COM2, and LPT.
nAdjust display properties.
a Choose a basic theme.
b Set the background to a solid color.
c Set the screen saver to None.
d Verify that hardware acceleration is enabled.
nSelect a high-performance power option and do not specify a sleep timer.
nDisable the Indexing Service component.
Note Indexing improves searches by cataloging files. Do not disable this feature for users who
search often.
nRemove or minimize System Restore points.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 36
nTurn off system protection on C:\.
nDisable any unnecessary services.
nSet the sound scheme to No Sounds.
nSet visual effects to Adjust for best performance.
nOpen Windows Media Player and use the default settings.
nTurn off automatic computer maintenance.
nAdjust performance settings for best performance.
nDelete any hidden uninstall folders in C:\Windows, such $NtUninstallKB893756$.
nDelete all event logs.
nRun Disk Cleanup to remove temporary files, empty the Recycle Bin, and remove system files and
other items that are no longer needed.
nRun Disk Defragmenter to rearrange fragmented data.
nUninstall Tablet PC Components, unless this feature is needed.
nDisable IPv6, unless it is needed.
nUse the File System Utility (fsutil) command to disable the setting that keeps track of the last time
a file was accessed.
For example: fsutil behavior set disablelastaccess 1
nStart the Registry Editor (regedit.exe) and change the TimeOutValue REG_DWORD in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Disk to 0x000000be(190).
nTurn off the Windows Customer Experience Improvement Program and disable related tasks from the
Task Scheduler.
nRestart Windows after you make the above changes.
What to do next
See Optimizing Windows for Instant-Clone and View Composer Linked-Clone Virtual Machines for
information on disabling certain Windows services and tasks to reduce the growth of instant clones and
View Composer linked clones. Disabling certain services and tasks can also result in performance
benefits for full virtual machines.
Disable the Windows Customer Experience Improvement
Program
Disabling the Windows Customer Experience Improvement Program and the related Task Scheduler
tasks that control this program can improve Windows 7, Windows 8/8.1, and Windows 10 system
performance in large desktop pools.
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows
operating systems.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 37
Procedure
1In the Windows 7 or Windows 8 guest operating system, start the control panel and click Action
Center > Change Action Center settings.
2Click Customer Experience Improvement Program settings.
3Select No, I don't want to participate in the program and click Save changes.
4Start the control panel and click Administrative Tools > Task Scheduler.
5In the Task Scheduler (Local) pane of the Task Scheduler dialog box, expand the Task Scheduler
Library > Microsoft > Windows nodes and open the Application Experience folder.
6Disable the AITAgent, ProgramDataUpdater, and if available, Microsoft Compatibility Appraiser
tasks.
7In the Task Scheduler Library > Microsoft > Windows node, open the Customer Experience
Improvement Program folder.
8Disable the Consolidator, KernelCEIPTask, and UsbCEIP tasks.
9In the Task Scheduler Library > Microsoft > Windows node, open the Autochk folder.
10 Disable the Proxy task.
What to do next
Perform other Windows optimization tasks. See Optimize Guest Operating System Performance.
Optimizing Windows for Instant-Clone and View
Composer Linked-Clone Virtual Machines
By disabling certain Windows 7, Windows 8/8.1, and Windows 10 services and tasks, you can reduce the
growth in disk usage of instant clones and View Composer linked clones. Disabling certain services and
tasks can also result in performance benefits for full virtual machines.
Benefits of Disabling Windows Services and Tasks
Windows 7, Windows 8/8.1, and Windows 10 schedule services and tasks that can cause instant clones
and View Composer linked clones to grow, even when the machines are idle. The incremental growth of
the OS disk can undo the storage savings that you achieve when you first create the clones. You can
reduce growth in disk size by disabling these Windows services.
Windows guest operating systems schedule services such as disk defragmentation to run by default.
These services run in the background if you do not disable them.
Services that affect OS disk growth also generate input/output operations. Disabling these services can
reduce IOPS (input/output operations per second) and improve performance for any type of desktop
machines.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 38
These best practices for optimizing Windows apply to most user environments. However, you must
evaluate the effect of disabling each service on your users, applications, and desktops. You might require
certain services to stay active.
For example, disabling Windows Update Service makes sense for instant clones because the OS is
refreshed each time a user logs off, and for View Composer linked clones if you refresh or recompose
regularly.
Windows Services and Tasks That Cause Disk Growth in Instant
Clones and Linked Clones
Certain services and tasks in Windows 7, Windows 8/8.1, and Windows 10 can cause the OS disk of an
instant clone or a View Composer linked clone to grow incrementally, even when the machine is idle. If
you disable these services and tasks, you can control the OS disk growth.
Services that affect OS disk growth also generate I/O operations. You can evaluate the benefits of
disabling these services for full clones as well.
Before you disable the Windows services that are shown in Table 39, verify that you took the optimization
steps in Optimize Guest Operating System Performance.
Table 39. Impact of Windows Services and Tasks on OS Disk Growth and IOPS
Service or Task Description
Default
Occurrence or
Startup
Impact on OS
Disk Impact on IOPS
Turn Off This
Service or Task?
Windows
Hibernation
Provides a power-
saving state by
storing open
documents and
programs in a file
before the
computer is
powered off. The
file is reloaded into
memory when the
computer is
restarted, restoring
the state when the
hibernation was
invoked.
Default power-plan
settings disable
hibernation.
High.
By default, the size
of the hibernation
file,
hiberfil.sys, is
the same as the
installed RAM on
the virtual
machine. This
feature affects all
guest operating
systems.
High.
When hibernation
is triggered, the
system writes a
hiberfil.sys file
the size of the
installed RAM.
Yes
Hibernation
provides no benefit
in a virtual
environment.
For instructions, see
Disable Windows
Hibernation in the
Parent Virtual
Machine.
Windows Scheduled
Disk
Defragmentation
Disk
defragmentation is
scheduled as a
background
process.
Once a week High.
Repeated
defragmentation
operations can
increase the size
of the OS disk by
several GB and do
little to make disk
access more
efficient .
High Yes
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 39
Table 39. Impact of Windows Services and Tasks on OS Disk Growth and IOPS (Continued)
Service or Task Description
Default
Occurrence or
Startup
Impact on OS
Disk Impact on IOPS
Turn Off This
Service or Task?
Windows Update
Service
Detects,
downloads, and
installs updates for
Windows and
other programs.
Automatic startup Medium to high.
Causes frequent
writes to the OS
disk because
update checks
occur often. The
impact depends on
the updates that
are downloaded.
Medium to high Yes, for instant
clones, and for View
Composer linked
clones that you
refresh or
recompose
regularly.
Windows Diagnostic
Policy Service
Detects,
troubleshoots, and
resolves problems
in Windows
components. If you
stop this service,
diagnostics no
longer function.
Automatic startup Medium to high.
The service is
triggered on
demand. The write
frequency varies,
depending on
demand.
Small to medium Yes, if you do not
need the diagnostic
tools to function on
the desktops.
Prefetch/Superfetch Stores specific
information about
applications that
you run to help
them start faster.
Always on, unless
it is disabled.
Medium
Causes periodic
updates to its
layout and
database
information and
individual prefetch
files, which are
generated on
demand.
Medium Yes, if application
startup times are
acceptable after you
disable this feature.
Windows Registry
Backup
(RegIdleBackup)
Automatically
backs up the
Windows registry
when the system
is idle.
Every 10 days at
12:00 am
Medium.
Each time this task
runs, it generates
registry backup
files.
Medium. Yes. Both instant
clones and View
Composer linked
clones let you revert
to a snapshot and
achieve the goal of
restoring the
registry.
System Restore Reverts the
Windows system
to a previous,
healthy state.
When Windows
starts up and once
a day thereafter.
Small to medium.
Captures a system
restore point
whenever the
system detects
that it is needed.
No major impact. Yes. Both instant
clones and View
Composer linked
clones let you revert
to a healthy state.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 40
Table 39. Impact of Windows Services and Tasks on OS Disk Growth and IOPS (Continued)
Service or Task Description
Default
Occurrence or
Startup
Impact on OS
Disk Impact on IOPS
Turn Off This
Service or Task?
Windows Defender Provides anti-
spyware features.
When Windows
starts up. Performs
a quick scan once
a day. Checks for
updates before
each scan.
Medium to high.
Performs definition
updates,
scheduled scans,
and scans that are
started on
demand.
Medium to high. Yes, if other anti-
spyware software is
installed.
Microsoft Feeds
Synchronization
task
(msfeedssync.exe)
Periodically
updates RSS
feeds in Windows
Internet Explorer
Web browsers.
This task updates
RSS feeds that
have automatic
RSS feeds
synchronization
turned on. The
process appears in
Windows Task
Manager only
when Internet
Explorer is
running.
Once a day. Medium.
Affects OS-disk
growth if persistent
disks are not
configured. If
persistent disks
are configured, the
impact is diverted
to the persistent
disks.
Medium Yes, if your users do
not require
automatic RSS feed
updates on their
desktops.
Disable Scheduled Disk Defragmentation on a Windows Parent
Virtual Machine
When you prepare a parent or master image virtual machine for instant clones or View Composer linked
clones, it is recommended that you disable scheduled defragmentation. Windows schedule weekly disk
defragmentations by default. Defragmentation significantly increase the size of a clone's virtual disk and
does not make disk access more efficient for instant clones or View Composer linked clones.
The clones share the parent or master image virtual machine's OS disk but each clone maintains
changes to the file system in its own virtual disk. Any activity, including defragmentation, will increase the
size of each clone's individual virtual disk and therefore increase storage consumption. As a best practice,
defragment the parent or master image virtual machine before you take a snapshot and create the pool.
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows
operating systems.
Procedure
1In vSphere Client, select the parent virtual machine and select Open Console.
2Log in as an administrator.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 41
3Click Start and type defrag in the Search programs and files box.
4In the Programs pane, click Disk Defragmenter.
5In the Disk Defragmenter dialog box, click Defragment disk.
The Disk Defragmenter consolidates defragmented files on the virtual machine's hard disk.
6In the Disk Defragmenter dialog box, click Configure schedule.
7Deselect Run on a schedule (recommended) and click OK.
Disable Windows Update
Disabling the Windows Update feature avoids some I/O operations to the file system and can reduce the
growth of an instant clone's or a View Composer linked clone's virtual disk.
Evaluate the needs of your environment before disabling Windows Update. If you disable this feature, you
can manually download the updates to the parent or master image virtual machine and then use the
push-image operation for instant clones or recompose for View Composer linked clones to apply the
updates to all the clones.
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows
operating systems.
Procedure
1In vSphere Client, select the parent virtual machine and select Open Console.
2Log in as an administrator.
3Click Start > Control Panel > System and Security > Turn automatic updating on or off.
4In the Important updates menu, select Never check for updates.
5Deselect Give me recommended updates the same way I receive important updates.
6Deselect Allow all users to install updates on this computer and click OK.
Disable the Diagnostic Policy Service on Windows Virtual
Machines
Disabling the Windows Diagnostic Policy Service avoids some I/O operations to the file system and can
reduce the growth of an instant clone's or a View Composer linked clone's virtual disk.
Do no disable the Windows Diagnostic Policy Service if your users require the diagnostic tools on their
desktops.
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows
operating systems.
Procedure
1In vSphere Client, select the parent virtual machine and select Open Console.
2Log in as an administrator.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 42
3Click Start > Control Panel > System and Security > Administrative Tools.
4Select Services and click Open.
5Double-click Diagnostic Policy Service.
6In the Diagnostic Policy Service Properties (Local Computer) dialog, click Stop.
7In the Startup type menu, select Disabled.
8Click OK.
Disable the Prefetch and Superfetch Features on Windows Virtual
Machines
Disabling the prefetch and superfetch features avoids some I/O operations to the file system and can
reduce the growth of an instant clone's or a View Composer linked clone's virtual disk.
To disable the prefetch and superfetch features, you must edit a Windows registry key and disable the
Prefetch service on the virtual machine.
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows
operating systems.
Prerequisites
See the Microsoft TechNet Web site for information on how to use the Windows Registry Editor.
Procedure
1Start the Windows Registry Editor on the local Windows virtual machine.
2Navigate to the registry key called PrefetchParameters.
The registry key is located in the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\PrefetchParameters.
3Set the EnablePrefetcher and EnableSuperfetch values to 0.
4Click Start > Control Panel > System and Security > Administrative Tools.
5Select Services and click Open.
6Double-click the Superfetch service.
7In the Superfetch Properties (Local Computer) dialog, click Stop.
8In the Startup type menu, select Disabled.
9Click OK.
Disable Windows Registry Backup on Windows Virtual Machines
Disabling the Windows registry backup feature, RegIdleBackup, avoids some I/O operations to the file
system and can reduce the growth of an instant clone's or a View Composer linked clone's virtual disk.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 43
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows
operating systems.
Procedure
1In vSphere Client, select the parent virtual machine and select Open Console.
2Log in as an administrator.
3Click Start > Control Panel > System and Security > Administrative Tools.
4Select Task Scheduler and click Open.
5In the left pane, expand Task Scheduler Library, Microsoft, Windows.
6Double-click Registry and select RegIdleBackup.
7In the Actions pane, click Disable.
Disable the System Restore on Windows Virtual Machines
Disabling the Windows System Restore feature avoids some I/O operations to the file system and can
reduce the growth of an instant clone's or a View Composer linked clone's virtual disk.
With System Restore, you can revert a machine's state to a previous point in time. You can achieve the
same result with the push image operation for instant clones and the recompose or refresh operation for
View Composer linked clones. Furthermore, with instant clones, when a user logs off, the machine is
recreated, making a system restore unnecessary
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows
operating systems.
Procedure
1In vSphere Client, select the parent virtual machine and select Open Console.
2Log in as an administrator.
3Click Start > Control Panel > System and Security > Administrative Tools.
4Select Task Scheduler and click Open.
5In the left pane, expand Task Scheduler Library, Microsoft, Windows.
6Double-click SystemRestore and select SR.
7In the Actions pane, click Disable.
Disable Windows Defender on Windows Virtual Machines
Disabling Windows Defender avoids some I/O operations to the file system and can reduce the growth of
an instant clone's or a View Composer linked clone's virtual disk.
If Windows Defender is the only anti-spyware installed on the virtual machine, you might prefer to keep
Windows Defender active on the desktops in your environment.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 44
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows
operating systems.
Procedure
1In vSphere Client, select the parent virtual machine and select Open Console.
2Log in as an administrator.
3Click Start and type Windows Defender in the Search programs and files box.
4Click Tools > Options > Administrator.
5Deselect Use this program and click Save.
Disable Microsoft Feeds Synchronization on Windows Virtual
Machines
Windows Internet Explorer uses the Microsoft Feeds Synchronization task to update RSS feeds in users'
Web browsers. Disabling this task avoids some I/O operations to the file system and can reduce the
growth of an instant clone's or a View Composer linked clone's virtual disk.
Procedure
1In vSphere Client, select the parent virtual machine and select Open Console.
2Log in as an administrator.
3Click Start > Control Panel > Network and Internet > Internet Options.
4Click the Content tab.
5Under Feeds and Web Slices, click Settings.
6Deselect Automatically check feeds and Web Slices for updates and click OK.
7In the Internet Properties dialog, click OK.
Preparing a Parent Virtual Machine
To deploy an instant-clone or a View Composer linked-clone desktop pool, you must first prepare a parent
virtual machine in vCenter Server. This virtual machine is also known as the master image.
nConfigure a Parent Virtual Machine
After creating a virtual machine that you plan to use as a parent, configure the Windows
environment. This virtual machine is also known as a master image.
nActivating Windows on Instant Clones and View Composer Linked Clones
To make sure that Windows 7, Windows 8/8.1, Windows 10, and Windows Server clones are
properly activated when the clones are created, you must use Microsoft volume activation on the
parent virtual machine. The volume-activation technology requires a volume license key.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 45
nDisable Windows Hibernation in the Parent Virtual Machine
The Windows hibernation feature creates a hidden system file, Hiberfil.sys and uses this file to
store information that is needed for hybrid sleep. Disabling hibernation reduces the size of an instant
clone's or a View Composer linked clone's virtual disk.
nConfigure Local Storage for View Composer Linked Clones
For a View Composer linked-clone desktop pool, you can configure the parent virtual machine to
store virtual-machine swap files on a local datastore. The linked clones' swap files will reside on
local storage.
nRecord the Paging File Size of a View Composer Parent Virtual Machine
When you create a View Composer linked-clone desktop pool, you can redirect the clones' paging
and temp files to a separate disk. You must configure this disk to be larger than the size of the
paging file on the parent virtual machine.
nIncrease the Timeout Limit for ClonePrep and QuickPrep Customization Scripts
ClonePrep and QuickPrep post-synchronization or power-off scripts have a timeout limit of 20
seconds. You can increase this limit by changing the ExecScriptTimeout Windows registry value
on the parent virtual machine.
Configure a Parent Virtual Machine
After creating a virtual machine that you plan to use as a parent, configure the Windows environment.
This virtual machine is also known as a master image.
Prerequisites
nVerify that you prepared a virtual machine to use for deploying remote desktops. See Creating a
Virtual Machine for Cloning.
The parent virtual machine, can either belong to the same Active Directory domain as the domain that
the desktop machines will join or be a member of a workgroup.
nVerify that the virtual machine was not converted from an instant clone or a View Composer linked
clone.
Important You also cannot use an instant clone or a View Composer linked clones as a parent
virtual machine.
nWhen you install Horizon Agent on the parent virtual machine, select the VMware Horizon Instant
Clone Agent option for instant clones or the VMware Horizon View Composer Agent option. See
Install Horizon Agent on a Virtual Machine.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 46
To update Horizon Agent in a large environment, you can use standard Windows update mechanisms
such as Altiris, SMS, LanDesk, BMC, or other systems management software. You can also use the
push image or the recompose operation to update Horizon Agent.
Note For View Composer linked clones, do not change the log on account for the VMware View
Composer Guest Agent Server service in a parent virtual machine. By default, this is the Local
System account. If you change this account, the linked clones created from the parent will not start.
nTo deploy Windows machines, configure a volume license key and activate the parent virtual
machine's operating system with volume activation. See Activating Windows on Instant Clones and
View Composer Linked Clones.
nVerify that you followed the best practices for optimizing the operating system. See Optimizing
Windows for Instant-Clone and View Composer Linked-Clone Virtual Machines.
nFamiliarize yourself with the procedure for disabling searching Windows Update for device drivers.
See the Microsoft Technet article, "Disable Searching Windows Update for Device Drivers" at
http://technet.microsoft.com/en-us/library/cc730606(v=ws.10).aspx.
Procedure
nRemove the DHCP lease on the parent virtual machine to avoid copying a leased IP address to the
linked clones in the pool.
a On the parent virtual machine, open a command prompt.
b Type the ipconfig /release command.
nVerify that the system disk contains a single volume.
You cannot deploy linked clones from a parent virtual machine that contains more than one volume.
Multiple virtual disks are supported.
Note For View Composer linked clones, if the parent virtual machine contains multiple virtual disks,
when you create a desktop pool, do not select a drive letter for the View Composer persistent disk or
disposable data disk that already exists on the parent virtual machine or that conflicts with a drive
letter that is used for a network-mounted drive.
nVerify that the virtual machine does not contain an independent disk.
An independent disk is excluded when you take a snapshot of the virtual machine. Clones are based
on a snapshot and therefore will not contain the independent disk.
nFor View Composer linked clones, if you plan to configure disposable data disks when you create
linked-clone machines, remove default user TEMP and TMP variables from the parent virtual machine.
You can also remove the pagefile.sys file to avoid duplicating the file on all the linked clones. If you
leave the pagefile.sys file on the parent virtual machine, a read-only version of the file is inherited
by the linked clones, while a second version of the file is used on the disposable data disk.
nDisable the hibernation option to reduce the size of each clone's virtual disk.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 47
nBefore you take a snapshot of the parent virtual machine, disable searching Windows Update for
device drivers.
This Windows feature can interfere with the customization process. As each clone is customized,
Windows might search for the best drivers on the Internet for that clone, resulting in delays.
nIn vSphere Client, disable the vApp Options setting on the parent virtual machine.
nOn Windows 8.1, Windows Server 2008 R2, and Windows Server 2012 R2 machines, disable the
scheduled maintenance task that recovers disk space by removing unused features.
For example: Schtasks.exe /change /disable /tn
"\Microsoft\Windows\AppxDeploymentClient\Pre-staged app cleanup"
For example, in the case of View Composer linked clones, this maintenance task can, remove the
Sysprep customization script after the linked clones are created, which would cause subsequent
recompose operations to fail with customization operation timeout errors. For more information, see
the Microsoft KB article available at http://support.microsoft.com/kb/2928948.
What to do next
Use vSphere Client or vSphere Web Client to take a snapshot of the parent virtual machine in its
powered-down state. This snapshot is provides the base image for the clones.
Important Before you take a snapshot, shut down the parent virtual machine.
Activating Windows on Instant Clones and View Composer Linked
Clones
To make sure that Windows 7, Windows 8/8.1, Windows 10, and Windows Server clones are properly
activated when the clones are created, you must use Microsoft volume activation on the parent virtual
machine. The volume-activation technology requires a volume license key.
To activate Windows with volume activation, you use Key Management Service (KMS), which requires a
KMS license key. See your Microsoft dealer to acquire a volume license key and configure volume
activation.
Note Multiple Activation Key (MAK) licensing is not supported.
Before you create an instant-clone or View Composer linked-clone desktop pool, you must use volume
activation to activate Windows on the parent virtual machine.
The following steps describe how activation takes place:
1 Invoke a script to remove the existing license.
2 Restart Windows.
3 Invoke a script that uses KMS licensing to activate Windows.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 48
KMS treats each activated clone as a computer with a newly issued license.
Note If you set up a new KMS server and use QuickPrep to create linked-clone desktop pools, the KMS
client count might not increment and the linked-clones might not be able to activate Windows. For more
information, see the VMware Knowledge Base (KB) article http://kb.vmware.com/kb/2048742.
Disable Windows Hibernation in the Parent Virtual Machine
The Windows hibernation feature creates a hidden system file, Hiberfil.sys and uses this file to store
information that is needed for hybrid sleep. Disabling hibernation reduces the size of an instant clone's or
a View Composer linked clone's virtual disk.
Caution When you make hibernation unavailable, hybrid sleep does not work. Users can lose data if a
power loss occurs.
Procedure
1In vSphere Client, select the parent virtual machine and select Open Console.
2Log in as an administrator.
3Disable the hibernation option.
a Click Start and type cmd in the Start Search box.
b In the search results list, right-click Command Prompt and click Run as Administrator.
c At the User Account Control prompt, click Continue.
d At the command prompt, type powercfg.exe /hibernate off and press Enter.
e Type exit and press Enter.
Configure Local Storage for View Composer Linked Clones
For a View Composer linked-clone desktop pool, you can configure the parent virtual machine to store
virtual-machine swap files on a local datastore. The linked clones' swap files will reside on local storage.
In this procedure, you configure local storage for the virtual-machine swap files, not the paging and temp
files in the guest OS. When you create a linked-clone pool, you also can redirect guest OS paging and
temp files to a separate disk. See Worksheet for Creating a Linked-Clone Desktop Pool.
Procedure
1Configure a swapfile datastore on the ESXi host or cluster on which you will deploy the linked-clone
pool.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 49
2When you create the parent virtual machine in vCenter Server, store the virtual-machine swap files on
the swapfile datastore on the local ESXi host or cluster:
a In vSphere Client, select the parent virtual machine.
b Click Edit Settings and click the Options tab.
c Click Swapfile location and click Store in the host's swapfile datastore.
For detailed instructions, see the VMware vSphere documentation.
Record the Paging File Size of a View Composer Parent Virtual
Machine
When you create a View Composer linked-clone desktop pool, you can redirect the clones' paging and
temp files to a separate disk. You must configure this disk to be larger than the size of the paging file on
the parent virtual machine.
When a linked clone that is configured with a separate disk for the disposable files is powered off, the disk
is recreated. This feature can slow the growth in the size of a linked clone. However, this feature can work
only if you configure the disposable-file disk to be large enough to hold the clone's paging file.
Before you can configure the disposable-file disk, record the maximum paging-file size in the parent
virtual machine. The linked clones have the same paging-file size as the parent virtual machine.
As a best practice, remove the pagefile.sys file from the parent virtual machine before you take a
snapshot, to avoid duplicating the file on all the linked clones. See Configure a Parent Virtual Machine.
Note This feature is not that same as configuring local storage for the virtual-machine swap files. See
Configure Local Storage for View Composer Linked Clones.
Procedure
1In vSphere Client, right-click the parent virtual machine and click Open Console.
2Select Start > Settings > Control Panel > System.
3Click the Advanced tab.
4In the Performance pane, click Settings.
5Click the Advanced tab.
6In the Virtual memory pane, click Change.
The Virtual Memory page appears.
7Set the paging file size to a larger value than the size of the memory that is assigned to the virtual
machine.
Important If the Maximum size (MB) setting is smaller than the virtual-machine memory size, type
a larger value and save the new value.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 50
8Keep a record of the Maximum size (MB) setting that is configured in the Paging file size for selected
drive pane.
What to do next
When you configure a linked-clone pool from this parent virtual machine, configure a disposable-file disk
that is larger than the paging-file size.
Increase the Timeout Limit for ClonePrep and QuickPrep
Customization Scripts
ClonePrep and QuickPrep post-synchronization or power-off scripts have a timeout limit of 20 seconds.
You can increase this limit by changing the ExecScriptTimeout Windows registry value on the parent
virtual machine.
Instead of increasing the timeout limit you can also use your customization script to launch another script
or process that performs the long-running task.
Note Most QuickPrep customization scripts can finish running within the 20-second limit. Test your
scripts before you increase the limit.
Procedure
1On the parent virtual machine, start the Windows Registry Editor.
a Select Start > Command Prompt.
b At the command prompt, type regedit.
2In the Windows registry, locate the vmware-viewcomposer-ga registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmware-viewcomposer-ga
3Click Edit and modify the registry value.
Value Name: ExecScriptTimeout
Value Type: REG_DWORD
Value unit: milliseconds
The default value is 20000 milliseconds.
Creating Virtual Machine Templates
You must create a virtual machine template before you can create an automated pool that contains full
virtual machines.
A virtual machine template is a master copy of a virtual machine that can be used to create and provision
new virtual machines. Typically, a template includes an installed guest operating system and a set of
applications.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 51
You create virtual machine templates in vSphere Client. You can create a virtual machine template from a
previously configured virtual machine, or you can convert a previously configured virtual machine to a
virtual machine template.
See the vSphere Basic System Administration guide for information on using vSphere Client to create
virtual machine templates. See Automated Pools That Contain Full Virtual Machines for information on
creating automated pools.
Note A virtual machine template is not for creating an instant-clone or a View Composer linked-clone
desktop pool.
Creating Customization Specifications
When you customize a clone using Sysprep, you need to provide a customization specification.
Sysprep is available for View Composer linked-clone desktop pools and automated full-clone desktop
pools, but not instant-clone desktop pools. You create customization specifications by using the
Customization Specification wizard in vSphere. See the vSphere Virtual Machine Administration
document for information on using the Customization Specification wizard.
It is recommended that you test a customization specification in vSphere before you use it to create a
desktop pool. When you use a Sysprep customization specification to join a Windows desktop to a
domain, you must use the fully qualified domain name (FQDN) of the Active Directory domain. You cannot
use the NetBIOS name.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 52
Creating Instant-Clone Desktop
Pools 4
To provide users access to instant-clone desktops, you must create an instant-clone desktop pool.
This chapter includes the following topics:
nInstant-Clone Desktop Pools
nImage Publishing and Rebalancing an Instant-Clone Desktop Pool
nAdd an Instant-Clone Domain Administrator
nWorksheet for Creating an Instant-Clone Desktop Pool
nCreate an Instant-Clone Desktop Pool
nClonePrep Guest Customization
nChange the Image of an Instant-Clone Desktop Pool
nMonitor a Push-Image Operation
nReschedule or Cancel a Push-Image Operation
nPerform Maintenance on Instant-Clone Hosts
nInstant-Clone Maintenance Utilities
Instant-Clone Desktop Pools
An instant-clone desktop pool is an automated desktop pool. vCenter Server creates the desktop VMs
based on the settings that you specify when you create the pool.
Similar to View Composer linked clones, an instant-clone desktop pool is based on a parent VM in
vCenter Server, known as the master image. For instant-clone desktops, a parent VM is an internal VM
that Horizon 7 creates and maintains, which is based on the master image. You cannot modify this
internal parent VM. However, you can make changes to the master image.
Instant clones share a virtual disk of the master image and therefore consume less storage than full VMs.
In addition, instant clones share the memory of the master image. Instant clones are created using the
vmFork technology. An instant-clone desktop pool has the following key characteristics:
nThe provisioning of instant clones is significantly faster than View Composer linked clones.
VMware, Inc. 53
nInstant clones are always created in a powered-on state, ready for users to connect to. Guest
customization and joining the Active Directory domain are completed as part of the initial power-on
workflow.
nFor dedicated instant-clone desktop pools, users are assigned a particular remote desktop and return
to the same desktop at each login. When a user logs out, a resync operation on the master image
retains the VM name and the Mac IP address of the VM after logoff.
nFor floating instant-clone desktop pools, users are assigned random desktops from the pool. When a
user logs out, the desktop VM is deleted. New clones are created according to the provisioning policy,
which can be on-demand or up-front.
nWith the push-image operation, you can re-create the pool from any snapshot of any master image.
You can use a push image to roll out operating system and application patches.
nWhen clones are created, Horizon 7 selects a datastore to achieve the best distribution of the clones
across the datastores. No manual rebalancing is necessary.
nView storage accelerator is automatically enabled.
nTransparent page sharing is automatically enabled.
nInstant Clones require static port binding with fixed port allocation. Do not change the port binding to
ephemeral. If you get an error message with static port binding, see the VMware Knowledge Base
(KB) article http://kb.vmware.com/kb/2150925.
nInstant clones and Storage vMotion are compatible. When you create an instant-clone desktop pool
on a Storage DRS datastore, the Storage DRS cluster does not appear in the list in the desktop pool
creation wizard. However, you can select individual Storage DRS datastores.
Because Horizon 7 can create instant clones quickly, you do not need to provision desktops up front or
have many ready desktops. Compared with View Composer linked clones, instant clones can make the
task of managing large desktop pools easier and also reduce the amount of hardware resources that is
required.
Instant clones have the following compatibility requirements:
nvSphere 6.0 Update 1 or later.
nVirtual machine hardware version 11 or later.
As a best practice, configure distributed virtual switches in the vSphere environment. It is mandatory to
configure distributed virtual switches in the vSphere environment for dedicated instant clones.
In Horizon 7, instant clones have the following restrictions:
nInstant-clone desktops cannot have persistent disks. Users can use network share or VMware App
Volumes to store persistent user data. For more information about App Volumes, see
https://www.vmware.com/products/appvolumes.
nVirtual Volumes and VAAI (vStorage APIs for Array Integration) native NFS snapshots are not
supported.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 54
nSysprep and Quickprep are not available for desktop customization. Use ClonePrep, which is
specifically designed for instant clones.
nWindows 8 or Windows 8.1 are not supported.
nIPv6 is not supported.
nPersona Management is not available.
nYou cannot specify a minimum number of ready (provisioned) machines during instant-clone
maintenance operations. This feature is not needed because the high speed of creating instant
clones means that some desktops are always available even during maintenance operations.
The disk space reclamation feature that is available to View Composer linked clones is not needed
because instant clones are refreshed when users log out. For instant clones, reclaiming unused disk
space in a VM does not have a significant impact on storage consumption.
Image Publishing and Rebalancing an Instant-Clone
Desktop Pool
The clones in an instant-clone desktop pool are based on the same image. When an instant clone is
created, the desktop pool are rebalanced across datastores automatically.
An image is a snapshot of a parent VM in vCenter Server. Publishing an image is a process by which
internal VMs needed for instant cloning are created. This process only happens once per image and may
take some time. Creating an instant-clone desktop pool involves the following operations:
1 Horizon 7 publishes the image that you select. In vCenter Server, four folders
(ClonePrepInternalTemplateFolder, ClonePrepParentVmFolder,
ClonePrepReplicaVmFolder, and ClonePrepResyncVmFolder) are created if they do not exist, and
some internal VMs that are required for cloning are created. In Horizon Administrator, you can see the
progress of this operation on the Summary tab of the desktop pool. During publishing, the Pending
Image pane shows the name and state of the image.
Note Do not tamper with the four folders or the internal VMs that they contain. Otherwise, errors
might occur. The internal VMs are removed when they are no longer needed. Normally the VMs are
removed within 5 minutes of pool deletion or a push-image operation. However, sometimes the
removal can take up to 30 minutes. If there are no internal VMs in all four folders, these folders are
unprotected and you can delete these folders.
2 The clones are created. This process is fast. During this process, the Current Image pane in Horizon
Administrator shows the name and state of the image.
After the pool is created, you can change the image through the push-image operation. As with the
creation of a pool, the new image is first published. Then the clones are recreated.
If you edit a pool to add or remove datastores, rebalancing of the VMs happens automatically when a new
clone is created. If you want rebalancing to happen faster, take the following actions:
nIf you remove a datastore, manually remove the desktops on that datastore so that the new desktops
are created on the remaining datastores.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 55
nIf you add a datastore, manually remove some desktops from the original datastores so that the new
desktops are created on the new datastore. You can also remove all desktops or simply do a push
image with the same image so that when the clones are recreated, they are evenly distributed across
the datastores.
Add an Instant-Clone Domain Administrator
Before you create an instant-clone desktop pool, you must add an instant-clone domain administrator to
Horizon 7.
The instant-clone domain administrator must have certain Active Directory domain privileges.
For more information, see "Create a User Account for Instant-Clone Operations" in the View Installation
document.
Procedure
1In Horizon Administrator, select View Configuration > Instant Clone Domain Admins.
2Click Add.
3Enter the login name and password for of the instant-clone domain administrator.
Worksheet for Creating an Instant-Clone Desktop Pool
When you create an instant-clone desktop pool, the Add Desktop Pool wizard prompts you to configure
certain options. You can use this worksheet to record your configuration options before you create the
pool.
Before creating an instant-clone desktop pool, take a snapshot of the parent VM in vCenter Server. You
must shut down the parent VM in vCenter Server before taking the snapshot. The snapshot is the master
image for the clones in vCenter Server.
Note You cannot create an instant-clone desktop pool from a VM template.
Table 41. Worksheet: Configuration Options for Creating an Instant-Clone Desktop Pool
Option Description
Fill In Your Value
Here
User assignment Select Floating or Dedicated.
In a floating user assignment, users are assigned random desktops from the
pool.
In a dedicated user assignment, each user is assigned a particular remote
desktop and returns to the same desktop at each login. Between each login and
logout, the computer name and MAC address is retained for the same desktop.
Any other changes that the user makes to the desktop are not preserved.
vCenter Server Select Instant clones and select the vCenter Server that manages the instant-
clone VMs.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 56
Table 41. Worksheet: Configuration Options for Creating an Instant-Clone Desktop Pool
(Continued)
Option Description
Fill In Your Value
Here
Desktop Pool ID The unique name that identifies the pool in Horizon Administrator.
If you have multiple Connection Server configurations, make sure that another
Connection Server configuration does not use the same pool ID. A Connection
Server configuration can consist of a single Connection Server or multiple
Connection Servers
Display name The pool name that users see when they log in from a client. If you do not
specify a name, the pool ID is used.
Access group Select an access group for the pool, or leave the pool in the default root access
group.
If you use an access group, you can delegate managing the pool to an
administrator who has a specific role. For details, see the role-based delegated
administration chapter in the View Administration document.
Note Access groups are different from vCenter Server folders that store
desktop VMs. You select a vCenter Server folder later in the wizard.
State If set to Enabled, the pool is ready for use after provisioning. If set to Disabled,
the pool is not available to users. During provisioning, if you disable the pool,
provisioning stops.
Connection Server
restrictions
You can restrict access to the pool to certain Connection Servers by clicking
Browse and selecting one or more Connection Servers.
If you intend to provide access to desktops through VMware Identity Manager,
and you configure Connection Server restrictions, the VMware Identity Manager
app might display desktops to users when those desktops are actually restricted.
VMware Identity Manager users will be unable to launch these desktops.
Category Folder Specifies the name of the category folder that contains a Start menu shortcut for
the desktop pool entitlement on Windows client devices. For more information,
see Configuring Start Menu Shortcuts for Desktop and Application Pools.
Automatically logoff after
disconnect
nImmediately. Users are logged off when they disconnect.
nNever. Users are never logged off.
nAfter. The time after which users are logged off when they disconnect. Type
the duration in minutes.
The logoff time applies to future disconnections. If a desktop session is
already disconnected when you set a logoff time, the logoff duration for that
user starts when you set the logoff time, not when the session was originally
disconnected. For example, if you set this value to 5 minutes, and a session
was disconnected 10 minutes earlier, Horizon 7 will log off that session 5
minutes after you set the value.
Allow user to initiate
separate sessions from
different client devices
With this option selected, a user connecting to the same desktop pool from
different client devices gets different desktop sessions. The user can only
reconnect to an existing session from the same client device. When this setting
is not selected, users are always reconnected to their existing session no matter
which client device is used.
Default display protocol Select the default display protocol. The choices are Microsoft RDP, PCoIP, and
VMware Blast.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 57
Table 41. Worksheet: Configuration Options for Creating an Instant-Clone Desktop Pool
(Continued)
Option Description
Fill In Your Value
Here
Allow users to choose
protocol
Specify whether users can choose display protocols other than the default.
Do not allow users to choose a display protocol.
3D Renderer Select 3D graphics rendering for desktops.
3D rendering is supported on Windows 7 or later guests running on VMs with
virtual hardware version 8 or later. The hardware-based renderer is supported (at
minimum) on virtual hardware version 9 in a vSphere 5.1 environment. The
software renderer is supported (at minimum) on virtual hardware version 8 in a
vSphere 5.0 environment.
On ESXi 5.0 hosts, the renderer allows a maximum VRAM size of 128MB. On
ESXi 5.1 and later hosts, the maximum VRAM size is 512MB. On hardware
version 11 (HWv11) virtual machines in vSphere 6.0, the VRAM value (video
memory) has changed. Select the Manage Using vSphere Client option and
configure video memory for these machines in vSphere Web Client. For details,
see "Configuring 3D Graphics" in the vSphere Virtual Machine Administration
guide.
3D rendering is disabled if you select Microsoft RDP as the default display
protocol and do not allow users to choose a display protocol.
nNVIDIA GRID vGPU. 3D rendering is enabled for NVIDIA GRID vGPU. The
ESXi host reserves GPU hardware resources on a first-come, first-served
basis as virtual machines are powered on. See Preparing for NVIDIA GRID
vGPU Capabilities. You cannot use vSphere Distributed Resource Scheduler
(DRS) when you select this option.
To use NVIDIA GRID vGPU for an instant-clone desktop pool, the
recommendation is to select VMware Blast as a protocol and not allow the
user to choose their own display protocols.
nDisabled. 3D rendering is inactive. Default is disabled.
HTML Access Select Enabled to allow users to connect to remote desktops from a Web
browser. For more information about this feature, see Using HTML Access,
available from
https://www.vmware.com/support/viewclients/doc/viewclients_pubs.html.
To use HTML Access with VMware Identity Manager, you must pair Connection
Server with a SAML authentication server, as described in the View
Administration document. VMware Identity Manager must be installed and
configured for use with Connection Server.
Allow Session
Collaboration
Select Enabled to allow users of the desktop pool to invite other users to join
their remote desktop sessions. Session owners and session collaborators must
use the VMware Blast protocol.
Adobe Flash quality Select the quality of Adobe Flash content on Web pages.
nDo not control. The Web page settings determine the quality.
nLow. This setting consumes the least amount of bandwidth. If no quality
level is specified, this is the default level.
nMedium. This setting consumes a moderate amount of bandwidth.
nHigh. This setting consumes the most amount of bandwidth.
For more information, see Adobe Flash Quality and Throttling.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 58
Table 41. Worksheet: Configuration Options for Creating an Instant-Clone Desktop Pool
(Continued)
Option Description
Fill In Your Value
Here
Adobe Flash throttling Select the frame rate of Adobe Flash movies. If you enable this setting, you can
reduce or increase the number of frames displayed per second by selecting the
throttling level.
nDisabled. No throttling is performed.
nConservative. Timer interval is 100 milliseconds. This setting results in the
lowest number of dropped frames.
nModerate. Timer interval is 500 milliseconds.
nAggressive. Timer interval is 2500 milliseconds. This setting results in the
highest number of dropped frames.
For more information, see Adobe Flash Quality and Throttling.
Stop provisioning on error Specify whether Horizon 7 stops provisioning desktop VMs if an error occurs and
prevents the error from affecting multiple VMs.
Naming pattern Specify a pattern that Horizon 7 uses as a prefix in all the desktop VM names,
followed by a unique number.
For more information, see Using a Naming Pattern for Automated Desktop
Pools.
Max number of machines Specify the total number of desktop VMs in the pool.
Number of spare
(powered on) machines
Specify the number of desktop VMs to keep available to users. For details, see
Naming Machines Manually or Providing a Naming Pattern.
Provision machines on
demand
Min number of machines
Provision all machines up
front
Specify whether to provision all desktop VMs when the pool is created or to
provision the VMs when they are needed.
nProvision all machines up front. When the pool is created, Horizon 7
provisions the number of VMs you specify in Max number of machines.
nProvision machines on demand. When the pool is created, Horizon 7
creates the number of VMs based on the Min number of machines value or
the Number of spare (powered on) machines value, whichever is higher.
Additional VMs are created to maintain this minimum number of available
VMs as users connect to desktops.
Select separate
datastores for replica and
OS disks
Specify whether to store the replica and OS disks on a datastore that is different
from the datastores that the instant clones are on.
If you select this option, you can select the options to select one or more instant-
clone datastores or replica disk datastores.
For more information, see Storing Replicas and Clones on Separate Datastores
for Instant Clones and View Composer Linked Clones.
Parent VM in vCenter Select the parent VM in vCenter Server for the pool.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 59
Table 41. Worksheet: Configuration Options for Creating an Instant-Clone Desktop Pool
(Continued)
Option Description
Fill In Your Value
Here
Snapshot (default image) You can specify the number of monitors and resolution for your instant-clone
desktop pool by setting those parameters in the parent VM and taking a
snapshot. The required vRAM size is calculated based on your specifications.
Select the snapshot of the parent VM to use as the master image for the pool.
The instant-clone desktop pool that is created is based on the snapshot and
inherits those memory settings. For more information about configuring video
memory settings in vSphere Client, see the vSphere Single Host Management
guide in the vSphere documentation. For more information about changing the
resolution for your instant-clone desktop pool, see the VMware Knowledge Base
(KB) article http://kb.vmware.com/kb/2151745.
The snapshot lists the following details:
nNumber of monitors
nVRAM size
nResolution
VM folder location Select the folder in vCenter Server for the desktop VMs.
Cluster Select the vCenter Server cluster for the desktop VMs.
Resource pool Select the vCenter Server resource pool for the desktop VMs.
Datastores Select one or more datastores for the desktop VMs.
The Select Instant Clone Datastores window provides high-level guidelines for
estimating the pool's storage requirements. These guidelines help you determine
which datastores are large enough to store the clones. The Storage Overcommit
value is always set to Unbounded and is not configurable.
Note Instant clones and Storage vMotion are compatible. When you create an
instant-clone desktop pool on a Storage DRS datastore, the Storage DRS cluster
does not appear in the list of datastores. However, you can select individual
Storage DRS datastores.
Replica disk datastores Select one or more replica disk datastores on which to store the instant-clones.
This option appears if you select separate datastores for replica and OS disks.
A table on the Select Replica Disk Datastores page of the Add Farm wizard
provides high-level guidelines for estimate the farm's storage requirements.
These guidelines can help you determine which replica disk datastores are
enough to store the instant-clones.
Networks Select the networks to use for the instant-clone desktop pool. You can select
multiple vLAN networks to create a larger instant-clone desktop pool. The default
setting uses the network from the current master image.
A table on the Select Networks wizard provides the networks, ports, and port
bindings that are available to use. To use multiple networks, you must unselect
Use network from current parent VM and then select the networks to use with
the instant-clone farm.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 60
Table 41. Worksheet: Configuration Options for Creating an Instant-Clone Desktop Pool
(Continued)
Option Description
Fill In Your Value
Here
vGPU Profile The vGPU profile for the pool is the vGPU profile of the snapshot you selected.
The pool inherits this profile. This profile cannot be edited during the pool
creation process.
Mixed vGPU profiles on a single ESXi cluster are not supported.
After a pool is provisioned, you cannot edit the vGPU profile. To change the
vGPU profile, you must delete the pool and create a new pool with the desired
vGPU profile.
Domain Select an Active Directory domain. The drop-down list shows the domains that
you specify when you configure instant-clone domain administrators. See Add an
Instant-Clone Domain Administrator
AD container Specify the Active Directory container's relative distinguished name.
For example: CN=Computers
In the Add Desktop Pool window, you can browse the Active Directory tree for
the container. You can also copy, paste, or enter the path for the AD tree for the
container.
Allow reuse of pre-existing
computer accounts
Select this option to use existing computer accounts in Active Directory when the
virtual machine names of new instant clones match the existing computer
account names.
When an instant clone is created, if an existing AD computer account name
matches the instant-clone virtual machine name, Horizon 7 uses the existing
computer account after resetting the password. Otherwise, a new computer
account is created. When the instant clone is deleted, Horizon 7 does not delete
the corresponding computer accounts.
The existing computer accounts must be located in the Active Directory container
that you specify with the AD container setting.
When this option is disabled, a new AD computer account is created when
Horizon 7 creates an instant clone. If an existing computer account is found,
Horizon 7 uses the existing computer account after resetting the password.
When the instant clone is deleted, Horizon 7 deletes the corresponding computer
account. This option is disabled by default.
Power-off script Specify the path name of a script to run on the desktop VMs and the script
parameters before the VMs are powered off.
Post-synchronization
script
Specify the path name of a script to run on the desktop VMs and the script
parameters after the VMs are created.
Create an Instant-Clone Desktop Pool
The Add Desktop Pool wizards guides you through the steps of creating an instant-clone desktop pool.
Prerequisites
nVerify that the virtual switch that the instant-clone VMs connect to has enough ports to support the
expected number of VMs. Each network card on a VM requires one port.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 61
nVerify that you have the master image ready. For more information, see Chapter 3 Creating and
Preparing a Virtual Machine for Cloning.
nGather the configuration information for the pool. See Worksheet for Creating an Instant-Clone
Desktop Pool.
nVerify that you added an instant-clone domain administrator in Horizon Administrator. See Add an
Instant-Clone Domain Administrator.
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools.
2Click Add.
3Select Automated Desktop Pool.
4On the vCenter Server page, select Instant clones.
5Follow the prompts to create the pool.
Use the configuration information you gathered in the worksheet. You can go directly back to any
wizard page by clicking the page name in the navigation pane.
In Horizon Administrator, you can view the desktop VMs as they are added to the pool by selecting
Catalog > Desktop Pools.
After you create the pool, do not delete the master image or remove it from the vCenter Server inventory
as long as the pool exists. If you remove the master image VM from the vCenter Server inventory by
mistake, you must add it back and then do a push image using the current image.
What to do next
Entitle users to access the pool. See Add Entitlements to a Desktop or Application Pool.
ClonePrep Guest Customization
ClonePrep customizes instant clones during the creation process.
ClonePrep ensures that all instant clones join an Active Directory domain. The clones have the same
computer security identifiers (SIDs) as the master image. ClonePrep also preserves the globally unique
identifiers (GUIDs) of applications, although some applications might generate a new GUID during
customization.
When you add an instant-clone desktop pool, you can specify a script to run immediately after a clone is
created and another script to run before the clone is powered off.
How ClonePrep Runs Scripts
ClonePrep uses the Windows CreateProcess API to run scripts. Your script can invoke any process that
can be created with the CreateProcess API. For example, cmd, vbscript, exe, and batch-file processes
work with the API.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 62
Specifically, ClonePrep passes the path of the script as the second parameter to the CreateProcess API
and sets the first parameter to NULL. For example, if the script path is c:\myscript.cmd, the call to
CreateProcess is CreateProcess(NULL,c:\myscript.cmd,...).
Providing Paths to ClonePrep Scripts
You can specify the scripts when you create or edit the desktop pool. The scripts must reside on the
master image. You cannot use a UNC path to a network share.
If you use a scripting language that needs an interpreter to run the script, the script path must start with
the interpreter executable. For example, instead of specifying C:\script\myvb.vbs, you must specify
C:\windows\system32\cscript.exe c:\script\myvb.vbs.
Important Put the ClonePrep customization scripts in a secure folder to prevent unauthorized access.
ClonePrep Script Timeout Limit
By default, ClonePrep terminates a script if the execution takes longer than 20 seconds. You can increase
this timeout limit. For details, see Increase the Timeout Limit for ClonePrep and QuickPrep Customization
Scripts.
Alternatively, you can specify a script that runs another script or process that takes a long time to run.
ClonePrep Script Account
ClonePrep runs the scripts using the same account that the VMware Horizon Instant Clone Agent service
uses. By default, this account is Local System. Do not change this login account. If you do, the clones will
fail to start.
ClonePrep Process Privileges
For security reasons, certain Windows operating system privileges are removed from the
VMware Horizon Instant Clone Agent process that runs ClonePrep customization scripts. The scripts
cannot perform actions that require those privileges.
The process that runs ClonePrep scripts do not have the following privileges:
nSeCreateTokenPrivilege
nSeTakeOwnershipPrivilege
nSeSecurityPrivilege
nSeSystemEnvironmentPrivilege
nSeLoadDriverPrivilege
nSeSystemtimePrivilege
nSeUndockPrivilege
nSeManageVolumePrivilege
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 63
nSeLockMemoryPrivilege
nSeIncreaseBasePriorityPrivilege
nSeCreatePermanentPrivilege
nSeDebugPrivilege
nSeAuditPrivilege
ClonePrep Script Logs
ClonePrep writes messages to a log file. The log file is C:\Windows\Temp\vmware-viewcomposer-ga-
new.log.
Change the Image of an Instant-Clone Desktop Pool
You can change the image of an instant-clone desktop pool to push out changes or to revert to a previous
image. You can select any snapshot from any virtual machine to be the new image.
Once a pool is provisioned, you cannot edit the vGPU profile by editing the pool or changing the image of
the pool. When you push a new image to an instant clone pool, you must verify that the new image has
the same vGPU profile as the previous image, or your push image operation might fail. To change the
vGPU profile of an instant clone pool, you must delete the pool and create a new pool with the desired
vGPU profile.
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools
2Double-click the pool ID.
3Select Push Image > Schedule.
The Schedule Push Image window opens.
4Follow the prompts.
You can schedule the task to start immediately or sometime in the future. For clones with user
sessions, you can specify whether to force the users to log out or to wait. When the users log out,
Horizon 7 recreates the clones.
5On the Ready to Complete page, click Show Details to see the list of desktops in the pool.
After you initiate this operation, publishing of the new image starts immediately. Recreating the clones
starts at the time that you specify in the Schedule Push Image wizard.
Monitor a Push-Image Operation
You can monitor the progress of a push-image operation on an instant-clone desktop pool in Horizon
Administrator.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 64
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools.
2Double-click the pool ID.
The Summary tab shows the current image and pending image information.
3Click the Tasks tab.
The list of tasks that are associated with the push-image operation appears.
Reschedule or Cancel a Push-Image Operation
You can reschedule or cancel a push-image operation on an instant-clone desktop pool in Horizon
Administrator.
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools.
2Double-click the pool ID.
The Summary tab shows the current image and pending image information.
3Select Push Image > Reschedule or Push Image > Cancel.
4Follow the prompts.
If you cancel the push-image operation while clone creation is in progress, the clones that have the new
image remain in the pool and the pool has a mix of clones, some with the new image and the others with
the old image. To ensure that all the clones have the same image, you can remove all the clones.
Horizon 7 recreates the clones with the same image.
Perform Maintenance on Instant-Clone Hosts
You can performance maintenance on hosts where instant clones reside by putting the ESXi hosts into
maintenance mode. You can use vSphere Web Client to put the ESXi host into maintenance mode. By
default, the instant clones on these hosts will be vMotioned to another host in the cluster. However, the
master image, which is the parent VM in vCenter Server must be deleted before the host can enter
maintenance mode.
Starting with Horizon 7 version 7.1, when you put the ESXi host into maintenance mode, Horizon 7 will
automatically delete the master image so that the host can go into maintenance mode without any
manual intervention.
In releases earlier than Horizon 7 version 7.1, you have to manually delete the master image on the host.
To do this, you can use the instant-clone maintenance utilities. If you are using VMware Update Manager
(VUM), you must use the instant-clone maintenance utilities to delete the master image before you can
patch the ESXi hosts, regardless of the Horizon 7 version.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 65
To use the instant-clone utilities, see Instant-Clone Maintenance Utilities.
Note After the ESXi host is put into maintenance, you must wait approximately five minutes before
performing any actions on instant clones after the ESXi host performs entering or exiting operations.
Procedure
1Log in to vSphere Web Client.
2Select the ESXi host that you want to put into maintenance and clickMaintenance Mode > Enter
Maintenance Mode.
Instant-Clone Maintenance Utilities
On the Connection Server are two utilities that you can use for the maintenance of instant-clone VMs in
vCenter Server and the clusters that the VMs are in.
The utilities are IcMaint.cmd and IcUnprotect.cmd and are located in C:\Program
Files\VMware\VMware View\Server\tools\bin.
IcMaint.cmd
This command deletes the master images, which are the parent VMs in vCenter Server from the ESXi
host so that the host can be put into maintenance mode. The host is not automatically put into
maintenance mode. To perform maintenance on the host, the vCenter server administrator must manually
put the host into maintenance mode.
Syntax:
IcMaint.cmd -vc hostname_or_IP_address -uid user_ID -password password -hostName ESXi_hostname -
maintenance ON|OFF
Parameters:
n-vc host name or IP address of vCenter Server
n-uid vCenter Server user ID
n-password vCenter Server user password
n-hostname ESXi host name
n-maintenance ON|OFF
This parameter specifies whether the host is available for hosting the master image VM.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 66
After the command is run on the host, the InstantClone.Maintenance annotation value is set to 1 and
the master image VMs are deleted. After the master image VMs are deleted, the
InstantClone.Maintenance annotation value is set to 2 and no more master image VMs are created
on the host. When you run this command again with -maintenanceOFF, the
InstantClone.Maintenance annotation value is cleared for the host to become available for hosting
master image VMs.
All the parameters are required.
IcUnprotect.cmd
After ClonePrep creates folders and VMs, you can use this utility to unprotect folders and VMs, delete
VMs, and detect VMs whose master image or snapshot is deleted. ClonePrep is the mechanism that
customizes instant clones during the creation process.
Syntax:
IcUnprotect.cmd -vc hostname_or_IP_address -uid user_ID -password password[-includeFolders][-
skipCertVeri]
Parameters:
n-action
You can use the following options for this parameter:
nunprotect. Unprotect internal VMs.
ndelete. Delete internal VMs.
ndetect. Detect and list internal VMs whose master image or snapshot is deleted.
If you don't specify the -action parameter, the internal VMs are unprotected by default.
n-vc host name or IP address of vCenter Server
n-uid vCenter Server user ID
n-password vCenter Server user password
n-clientId instant-clone client ID (Optional)
If clientId is not specified, protection is removed from all ClonePrep VMs in all data centers.
n-domain domain name (Optional)
You can use multiple domain names separated by comma and no space.
n-host host name (Optional)
You can use multiple host names separated by comma and no space.
n-datastore datastore name (Optional)
You can use multiple datastore names separated by comma and no space.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 67
n-vmName VM name (Optional)
You can use multiple VM names separated by comma and no space.
n-vmType internal VM type (Optional)
You can use multiple VM types separated by comma and no space. You can use template, replica,
parent as options for this parameter.
n-includeFolders include folders
This parameter unprotects the folders in addition to the VMs.
n-skipCertVeri skip certification verification
IcUnprotect.cmd enforces host name verification. You must enter the correct host name of the
vCenter Server instead of its IP address when you specify the command parameters. To disable host
name verification and use the IP address of vCenter Server instead, use -skipCertVeri.
Specify the following parameters to delete all parent VMs in vCenter Server:
IcUnprotect -action delete -vc <IP address of vCenter Server> -uid <vCenter Server user ID> -password
<vCenter Server password> -clientId <instant clone client ID> -host <hostname 1>,<hostname 2> -vmType
parent
Specify the following parameters to delete specific parent VMs in vCenter Server:
IcUnprotect -action delete -vc <IP address of vCenter Server> -uid <vCenter Server user ID> -password
<vCenter Server password> -clientId <instant clone client ID> -host <hostname 1>,<hostname 2> (-vmType
parent) -vmName <parent VM name 1,parent VM name 2)
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 68
Creating Automated Desktop
Pools That Contain Full Virtual
Machines 5
With an automated desktop pool that contains full virtual machines, you create a virtual machine template
and Horizon 7 uses that template to create virtual machines for each desktop. You can optionally create
customization specifications to expedite automated pool deployments.
This chapter includes the following topics:
nAutomated Pools That Contain Full Virtual Machines
nWorksheet for Creating an Automated Pool That Contains Full Virtual Machines
nCreate an Automated Pool That Contains Full Virtual Machines
nClone an Automated Desktop Pool
nRebuild a Virtual Machine in a Full-Clone Desktop Pool
nDesktop Settings for Automated Pools That Contain Full Virtual Machines
nConfigure Full Clones with vSphere Virtual Machine Encryption
Automated Pools That Contain Full Virtual Machines
To create an automated desktop pool, Horizon 7 dynamically provisions machines based on settings that
you apply to the pool. Horizon 7 uses a virtual machine template as the basis of the pool. From the
template, Horizon 7 creates a new virtual machine in vCenter Server for each desktop.
Worksheet for Creating an Automated Pool That Contains
Full Virtual Machines
When you create an automated desktop pool, the Horizon Administrator Add Desktop Pool wizard
prompts you to configure certain options. Use this worksheet to prepare your configuration options before
you create the pool.
You can print this worksheet and write down the values you want to specify when you run the Add
Desktop Pool wizard.
VMware, Inc. 69
Table 51. Worksheet: Configuration Options for Creating an Automated Pool That Contains
Full Virtual Machines
Option Description Fill In Your Value Here
User assignment Choose the type of user assignment:
nIn a dedicated-assignment pool, each user is
assigned to a machine. Users receive the same
machine each time they log in to the pool.
nIn a floating-assignment pool, users receive
different machines each time they log in.
For details, see User Assignment in Desktop Pools.
Enable automatic assignment In a dedicated-assignment pool, a machine is
assigned to a user when the user first logs in to the
pool. You can also explicitly assign machines to
users.
If you do not enable automatic assignment, you must
explicitly assign a machine to each user.
You can assign machines manually even when
automatic assignment is enabled.
vCenter Server Select the vCenter Server that manages the virtual
machines in the pool.
Desktop Pool ID The unique name that identifies the pool in Horizon
Administrator.
If multiple vCenter Servers are running in your
environment, make sure that another vCenter Server
is not using the same pool ID.
A Connection Server configuration can be a
standalone Connection Server instance or a pod of
replicated instances that share a common View
LDAP configuration.
Display name The pool name that users see when they log in from
a client device. If you do not specify a display name,
the pool ID is displayed to users.
Access group Select an access group in which to place the pool or
leave the pool in the default root access group.
If you use an access group, you can delegate
managing the pool to an administrator who has a
specific role. For details, see the role-based
delegated administration chapter in the View
Administration document.
Note Access groups are different from vCenter
Server folders that store desktop virtual machines.
You select a vCenter Server folder later in the wizard
with other vCenter Server settings.
Delete machine after logoff If you select floating user assignment, choose
whether to delete machines after users log off.
Note You set this option on the Desktop Pool
Settings page.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 70
Table 51. Worksheet: Configuration Options for Creating an Automated Pool That Contains
Full Virtual Machines (Continued)
Option Description Fill In Your Value Here
Desktop Pool Settings Settings that determine the desktop state, power
status when a virtual machine is not in use, display
protocol, Adobe Flash quality, and so on.
For descriptions, see Desktop Pool Settings for All
Desktop Pool Types.
For a list of the settings that apply to automated
pools, see Desktop Settings for Automated Pools
That Contain Full Virtual Machines.
For more information about power policies and
automated pools, see Setting Power Policies for
Desktop Pools.
Stop provisioning on error You can direct Horizon 7 to stop provisioning or
continue to provision virtual machines in a desktop
pool after an error occurs during the provisioning of a
virtual machine. If you leave this setting selected, you
can prevent a provisioning error from recurring on
multiple virtual machines.
Virtual Machine Naming Choose whether to provision machines by manually
specifying a list of machine names or by providing a
naming pattern and the total number of machines.
For details, see Naming Machines Manually or
Providing a Naming Pattern.
Specify names manually If you specify names manually, prepare a list of
machine names and, optionally, the associated user
names.
Naming Pattern If you use this naming method, provide the pattern.
The pattern you specify is used as a prefix in all the
machine names, followed by a unique number to
identify each machine.
For details, see Using a Naming Pattern for
Automated Desktop Pools.
Maximum number of machines If you use a naming pattern, specify the total number
of machines in the pool.
You can also specify a minimum number of machines
to provision when you first create the pool.
Number of spare (powered on)
machines
If you specify names manually or use a naming
pattern, specify a number of machines to keep
available and powered on for new users. For details,
see Naming Machines Manually or Providing a
Naming Pattern.
When you specify names manually, this option is
called # Unassigned machines kept powered on.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 71
Table 51. Worksheet: Configuration Options for Creating an Automated Pool That Contains
Full Virtual Machines (Continued)
Option Description Fill In Your Value Here
Minimum number of machines If you use a naming pattern and provision machines
on demand, specify a minimum number of machines
in the pool.
The minimum number of machines is created when
you create the pool.
If you provision machines on demand, additional
machines are created as users connect to the pool
for the first time or as you assign machines to users.
Use vSphere Virtual SAN Specify whether to use Virtual SAN, if available.
Virtual SAN is a software-defined storage tier that
virtualizes the local physical storage disks available
on a cluster of ESXi hosts. For more information, see
Using Virtual SAN for High-Performance Storage and
Policy-Based Management.
Template Select the virtual machine template to use for
creating the pool.
vCenter Server folder Select the folder in vCenter Server in which the
desktop pool resides.
Host or cluster Select the ESXi host or cluster on which the virtual
machines run.
In vSphere 5.1 or later, you can select a cluster with
up to 32 ESXi hosts.
Resource pool Select the vCenter Server resource pool in which the
desktop pool resides.
Datastores Choose the type of datastore:
nIndividual datastore. Select individual
datastores on which to store the desktop pool.
nStorage DRS. Select the Storage Distributed
Resource Scheduler (DRS) cluster that contains
shared or local datastores. Storage DRS is a load
balancing utility that assigns and moves storage
workloads to available datastores.
If your desktop pool was upgraded from
Horizon 7 version 7.1 to Horizon 7 version 7.2,
and you want to modify the pool to use the
Storage DRS cluster, you must deselect the
existing datastores and select Storage DRS.
Note If you use Virtual SAN, select only one
datastore.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 72
Table 51. Worksheet: Configuration Options for Creating an Automated Pool That Contains
Full Virtual Machines (Continued)
Option Description Fill In Your Value Here
Use View Storage Accelerator Determine whether ESXi hosts cache common virtual
machine disk data. View Storage Accelerator can
improve performance and reduce the need for extra
storage I/O bandwidth to manage boot storms and
anti-virus scanning I/O storms.
This feature is supported on vSphere 5.0 and later.
This feature is enabled by default.
For details, see Configure View Storage Accelerator
for View Composer Linked Clones.
Transparent Page Sharing Scope Select the level at which to allow transparent page
sharing (TPS). The choices are Virtual Machine (the
default), Pool, Pod, or Global. If you turn on TPS for
all the machines in the pool, pod, or globally, the
ESXi host eliminates redundant copies of memory
pages that result if the machines use the same guest
operating system or applications.
Page sharing happens on the ESXi host. For
example, if you enable TPS at the pool level but the
pool is spread across multiple ESXi hosts, only virtual
machines on the same host and within the same pool
will share pages. At the global level, all machines
managed by Horizon 7 on the same ESXi host can
share memory pages, regardless of which pool the
machines reside in.
Note The default setting is not to share memory
pages among machines because TPS can pose a
security risk. Research indicates that TPS could
possibly be abused to gain unauthorized access to
data in very limited configuration scenarios.
Guest customization Select a customization specification (SYSPREP) from
the list to configure licensing, domain attachment,
DHCP settings, and other properties on the
machines.
Alternatively, you can customize the machines
manually after they are created.
Create an Automated Pool That Contains Full Virtual
Machines
You can create an automated desktop pool based on a virtual machine template that you select.
Horizon 7 dynamically deploys the desktops, creating a new virtual machine in vCenter Server for each
desktop.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 73
Prerequisites
nPrepare a virtual machine template that Horizon 7 will use to create the machines. Horizon 7 must be
installed on the template. See Chapter 3 Creating and Preparing a Virtual Machine for Cloning.
nIf you intend to use a customization specification, make sure that the specifications are accurate. In
vSphere Client, deploy and customize a virtual machine from your template using the customization
specification. Fully test the resulting virtual machine, including DHCP and authentication.
nVerify that you have a sufficient number of ports on the ESXi virtual switch that is used for the virtual
machines that are used as remote desktops. The default value might not be sufficient if you create
large desktop pools. The number of virtual switch ports on the ESXi host must equal or exceed the
number of virtual machines multiplied by the number of virtual NICs per virtual machine.
nGather the configuration information you must provide to create the pool. See Worksheet for Creating
an Automated Pool That Contains Full Virtual Machines.
nDecide how to configure power settings, display protocol, Adobe Flash quality, and other settings.
See Desktop Pool Settings for All Desktop Pool Types.
nIf you intend to provide access to your desktops and applications through VMware Identity Manager,
verify that you create the desktop and application pools as a user who has the Administrators role on
the root access group in Horizon Administrator. If you give the user the Administrators role on an
access group other than the root access group, VMware Identity Manager will not recognize the
SAML authenticator you configure in Horizon 7, and you cannot configure the pool in
VMware Identity Manager.
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools.
2Click Add.
3Select Automated Desktop Pool.
4On the vCenter Server page, choose Full virtual machines.
5Follow the prompts in the wizard to create the pool.
Use the configuration information that you gathered in the worksheet. You can go directly back to any
wizard page that you completed by clicking the page name in the navigation panel.
In Horizon Administrator, you can view the machines as they are added to the pool by selecting Catalog
> Desktop Pools.
What to do next
Entitle users to access the pool. See Add Entitlements to a Desktop or Application Pool.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 74
Clone an Automated Desktop Pool
You can clone an automated desktop pool from an existing pool. When you clone a pool, the existing
desktop pool's settings are copied into the Add Desktop Pool wizard, allowing you to create a new pool
without having to fill in each setting manually.
With this feature, you can streamline pool creation because you do not have to type every option in the
Add Desktop Pool wizard. You can ensure that desktop pool attributes are standardized by using the
pre-filled values in the wizard.
You can clone automated desktop pools that contain full virtual machines or View Composer linked
clones. You cannot clone automated desktop pools of instant clones, manual desktop pools, or RDS
desktop pools.
When you clone a desktop pool, you cannot change certain settings:
nDesktop pool type
nClone type, either linked clone or full virtual machine
nUser assignment, either dedicated or floating
nvCenter Server instance
Prerequisites
nVerify that the prerequisites for creating the original desktop pool are still valid.
For example, for a pool that contains full virtual machines, verify that a virtual machine template was
prepared.
For a linked-clone pool, verify that a parent virtual machine was prepared and a snapshot was taken
after the virtual machine was powered off.
When you clone a pool, you can use the same virtual machine template or parent virtual machine, or
you can select another one.
nFor prerequisites for cloning an automated, full-clone pool, see Create an Automated Pool That
Contains Full Virtual Machines.
nFor prerequisites for cloning a linked-cone pool, see Create a Linked-Clone Desktop Pool.
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools.
2Select the desktop pool that you want to clone and click Clone.
The Add Desktop Pool wizard appears.
3On the Add Desktop Pool page, type a unique pool ID.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 75
4On the Provisioning Settings page, provide unique names for the virtual machines.
Option Description
Use a naming pattern Type a virtual machine naming pattern.
Specify names manually Provide a list of unique names for the virtual machines.
5Follow the other prompts in the wizard to create the pool.
Change desktop pool settings and values as needed.
In Horizon Administrator, you can view the machines as they are added to the pool by selecting Catalog
> Desktop Pools.
What to do next
Entitle users to access the pool. See Add Entitlements to a Desktop or Application Pool.
Rebuild a Virtual Machine in a Full-Clone Desktop Pool
Rebuild a virtual machine in a full-clone desktop pool if you want to replace the virtual machine with a new
virtual machine and want to reuse the machine name. You can rebuild a virtual machine that is in an error
state to replace the virtual machine with an error free virtual machine of the same name. When you
rebuild a virtual machine, the virtual machine is deleted and then cloned with the same virtual machine
name and the AD computer accounts are reused. All user data or settings from the previous virtual
machine are lost and the new virtual machine is created using the desktop pool template.
Prerequisites
nCreate an automated full-clone desktop pool. See Create an Automated Pool That Contains Full
Virtual Machines.
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools.
2Select the desktop pool that contains the virtual machine you want to rebuild and click the Inventory
tab.
3Select the virtual machine that you want to rebuild and click Rebuild.
In vCenter Client, you can view the virtual machine as it is deleted and cloned again with the same
name. In Horizon Administrator, the status of the rebuilt virtual machine goes through the following
states: Deleting > Provisioning > Customizing > Available.
Desktop Settings for Automated Pools That Contain Full
Virtual Machines
You must specify desktop pool settings when you configure automated pools that contain full virtual
machines. Different settings apply to pools with dedicated user assignments and floating user
assignments.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 76
Table 52 lists the settings that apply to automated pools with dedicated assignments and floating
assignments.
For descriptions of each desktop pool setting, see Desktop Pool Settings for All Desktop Pool Types.
Table 52. Settings for Automated Pools That Contain Full Virtual Machines
Setting
Automated Pool, Dedicated
Assignment Automated Pool, Floating Assignment
State Yes Yes
Connection Server restrictions Yes Yes
Remote machine power policy Yes Yes
Automatic logoff after disconnect Yes Yes
Allow users to reset/restart their machines Yes Yes
Allow user to initiate separate sessions
from different client devices
Yes
Delete machine after logoff Yes
Default display protocol Yes Yes
Allow users to choose protocol Yes Yes
3D Renderer Yes Yes
Max number of monitors Yes Yes
Max resolution of any one monitor Yes Yes
Adobe Flash quality Yes Yes
Adobe Flash throttling Yes Yes
Override global Mirage settings Yes Yes
Mirage Server configuration Yes Yes
Configure Full Clones with vSphere Virtual Machine
Encryption
You can configure full clones to use the vSphere Virtual Machine Encryption feature. You can create full-
clone desktops that have the same encryption keys or, full-clone desktops with different keys.
Prerequisites
nvSphere 6.5 or later.
nCreate the Key Management Server (KMS) cluster with key management servers.
nTo create a trust between KMS and vCenter Server, accept the self signed CA certificate or create a
CA signed certificate.
nIn vSphere Web Client, create the VMcrypt/VMEncryption storage profile.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 77
nHorizon 7
Note For details about the Virtual Machine Encryption feature in vSphere, see the vSphere Security
document in the vSphere documentation.
Procedure
1To configure full clones that use the same encryption keys, create a parent template for all desktops
to have the same encryption keys.
The clone inherits the parent encryption state including keys.
a In vSphere Web Client, create a parent VM with the vmencrypt storage policy or create a parent
VM and then apply the vmencrypt storage policy.
b Convert the parent VM to a virtual machine template.
c Create full-clone desktops that point to the parent template so that all desktops have the same
encryption keys.
Note Do not select the Content Based Read Cache (CBRC) feature when you create the full-clone
desktop pool. The CBRC and Virtual Machine Encryption features are not compatible.
2To configure full clones that use different encryption keys, you must change the storage policy for
each full-clone desktop.
a In vSphere Web Client, create the full-clone desktop pool and then edit the full-clone desktops.
You can also edit existing full-clone desktops.
b Navigate to each full-clone desktop and edit the storage policy and change the storage policy to
vmencrypt.
Each full-clone desktop gets a different encryption key.
Note Full-clone desktops with CBRC digestive disks that exist cannot get the vmencrypt storage
policy. The vmencrypt storage policy applies only when the parent VM does not have any snapshots.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 78
Creating Linked-Clone Desktop
Pools 6
With a linked-clone desktop pool, Horizon 7 creates a desktop pool based on a parent virtual machine
that you select. The View Composer service dynamically creates a new linked-clone virtual machine in
vCenter Server for each desktop.
This chapter includes the following topics:
nLinked-Clone Desktop Pools
nWorksheet for Creating a Linked-Clone Desktop Pool
nCreate a Linked-Clone Desktop Pool
nClone an Automated Desktop Pool
nDesktop Pool Settings for Linked-Clone Desktop Pools
nView Composer Support for Linked-Clone SIDs and Third-Party Applications
nKeeping Linked-Clone Machines Provisioned for Use in Remote Desktop Sessions During View
Composer Operations
nUse Existing Active Directory Computer Accounts for Linked Clones
Linked-Clone Desktop Pools
To create a linked-clone desktop pool, View Composer generates linked-clone virtual machines from a
snapshot of a parent virtual machine. View dynamically provisions the linked-clone desktops based on
settings that you apply to the pool.
Because linked-clone desktops share a base system-disk image, they use less storage than full virtual
machines.
Worksheet for Creating a Linked-Clone Desktop Pool
When you create a linked-clone desktop pool, the View Administrator Add Desktop Pool wizard prompts
you to configure certain options. Use this worksheet to prepare your configuration options before you
create the pool.
You can print this worksheet and write down the values you want to specify when you run the Add
Desktop Pool wizard.
VMware, Inc. 79
Before you create a linked-clone pool, you must use vCenter Server to take a snapshot of the parent
virtual machine that you prepare for the pool. You must shut down the parent virtual machine before you
take the snapshot. View Composer uses the snapshot as the base image from which the clones are
created.
Note You cannot create a linked-clone pool from a virtual machine template.
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
Option Description Fill In Your Value Here
User assignment Choose the type of user assignment:
nIn a dedicated-assignment pool, each user is assigned
to a machine. Users receive the same machine each
time they log in.
nIn a floating-assignment pool, users receive different
machines each time they log in.
For details, see User Assignment in Desktop Pools.
Enable automatic assignment In a dedicated-assignment pool, a machine is assigned to a
user when the user first logs in to the pool. You can also
explicitly assign machines to users.
If you do not enable automatic assignment, you must
explicitly assign a machine to each user.
vCenter Server Select the vCenter Server that manages the virtual
machines in the pool.
Desktop Pool ID The unique name that identifies the pool in View
Administrator.
If multiple View Connection Server configurations are
running in your environment, make sure that another View
Connection Server configuration is not using the same pool
ID.
A View Connection Server configuration can be a
standalone View Connection Server instance or a pod of
replicated instances that share a common View LDAP
configuration.
Display name The pool name that users see when they log in from a client
device. If you do not specify a display name, the pool ID is
displayed to users.
Access group Select an access group in which to place the pool or leave
the pool in the default root access group.
If you use an access group, you can delegate managing the
pool to an administrator who has a specific role. For details,
see the role-based delegated administration chapter in the
View Administration document.
Note Access groups are different from vCenter Server
folders that store virtual machines that are used as
desktops. You select a vCenter Server folder later in the
wizard with other vCenter Server settings.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 80
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Delete or refresh machine on
logoff
If you select floating user assignment, choose whether to
refresh machines, delete machines, or do nothing after
users log off.
Note You set this option on the Desktop Pool Settings
page.
Desktop Pool Settings Settings that determine the machine state, power status
when a virtual machine is not in use, display protocol,
Adobe Flash quality, and so on.
For descriptions, see Desktop Pool Settings for All Desktop
Pool Types.
For a list of the settings that apply to linked-clone pools, see
Desktop Pool Settings for Linked-Clone Desktop Pools.
For more information about power policies and automated
pools, see Setting Power Policies for Desktop Pools.
Stop provisioning on error You can direct View to stop provisioning or continue to
provision virtual machines in a desktop pool after an error
occurs during the provisioning of a virtual machine. If you
leave this setting selected, you can prevent a provisioning
error from recurring on multiple virtual machines.
Virtual machine naming Choose whether to provision machines by manually
specifying a list of machine names or by providing a naming
pattern and the total number of machines.
For details, see Naming Machines Manually or Providing a
Naming Pattern.
Specify names manually If you specify names manually, prepare a list of machine
names and, optionally, the associated user names.
Naming pattern If you use this naming method, provide the pattern.
The pattern you specify is used as a prefix in all the
machine names, followed by a unique number to identify
each machine.
For details, see Using a Naming Pattern for Automated
Desktop Pools.
Max number of machines If you use a naming pattern, specify the total number of
machines in the pool.
You can also specify a minimum number of machines to
provision when you first create the pool.
Number of spare (powered on)
machines
If you specify names manually or use a naming pattern,
specify a number of machines to keep available and
powered on for new users. For details, see Naming
Machines Manually or Providing a Naming Pattern.
When you specify names manually, this option is called #
Unassigned machines kept powered on.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 81
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Minimum number of ready
(provisioned) machines during
View Composer maintenance
operations
If you specify names manually or use a naming pattern,
specify a minimum number of machines that are
provisioned for use in remote desktop sessions while View
Composer maintenance operations take place.
This setting allows users to maintain existing connections or
make new connection requests while View Composer
refreshes, recomposes, or rebalances the machines in the
pool. The setting does not distinguish between spare
machines that are ready to accept new connections and
machines that are already connected in existing desktop
sessions.
This value must be smaller than the Max number of
machines, which you specify if you provision machines on
demand.
See Keeping Linked-Clone Machines Provisioned for Use in
Remote Desktop Sessions During View Composer
Operations.
Provision machines on demand
or
Provision all machines up front
If you use a naming pattern, choose whether to provision all
machines when the pool is created or provision machines
as they are needed.
nProvision all machines up front. When the pool is
created, the system provisions the number of machines
you specify in Max number of machines.
nProvision machines on demand. When the pool is
created, the system creates the number of machines
that you specify in Min number of machines.
Additional machines are created as users connect to
the pool for the first time or as you assign machines to
users.
Min number of machines If you use a naming pattern and provision desktops on
demand, specify a minimum number of machines in the
pool.
The system creates the minimum number of machines
when you create the pool. This number is maintained even
when other settings such as Delete or refresh machine on
logoff cause machines to be deleted.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 82
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Redirect Windows profile to a
persistent disk
If you select dedicated user assignments, choose whether
to store Windows user-profile data on a separate View
Composer persistent disk or the same disk as the OS data.
Separate persistent disks let you preserve user data and
settings. View Composer refresh, recompose, and
rebalance operations do not affect persistent disks. You can
detach a persistent disk from a linked clone and recreate
the linked-clone virtual machine from the detached disk. For
example, when a machine or pool is deleted, you can
detach the persistent disk and recreate the desktop,
preserving the original user data and settings.
If you store the Windows profile in the OS disk, user data
and settings are removed during refresh, recompose, and
rebalance operations.
Disk size and drive letter for
persistent disk
If you store user profile data on a separate View Composer
persistent disk, provide the disk size in megabytes and the
drive letter.
Note Do not select a drive letter that already exists on the
parent virtual machine or that conflicts with a drive letter that
is used for a network-mounted drive.
Disposable File Redirection Choose whether to redirect the guest OS's paging and temp
files to a separate, nonpersistent disk. If you do, provide the
disk size in megabytes.
With this configuration, when a linked clone is powered off,
the disposable-file disk is replaced with a copy of the
original disk that was created with the linked-clone pool.
Linked clones can increase in size as users interact with
their desktops. Disposable file redirection can save storage
space by slowing the growth of linked clones.
Disk size and drive letter for
disposable file disk
If you redirect disposable files to a nonpersistent disk,
provide the disk size in megabytes and the drive letter.
The disk size should be larger than page-file size of the
guest OS. To determine the page-file size, see Record the
Paging File Size of a View Composer Parent Virtual
Machine.
When you configure the disposable file disk size, consider
that the actual size of a formatted disk partition is slightly
smaller than the value you provide in View Administrator.
You can select a drive letter for the disposable file disk. The
default value, Auto, directs View to assign the drive letter.
Note Do not select a drive letter that already exists on the
parent virtual machine or that conflicts with a drive letter that
is used for a network-mounted drive.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 83
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Use vSphere Virtual SAN Specify whether to use VMware Virtual SAN, if available.
Virtual SAN is a software-defined storage tier that virtualizes
the local physical storage disks available on a cluster of
ESXi hosts. For more information, see Using Virtual SAN for
High-Performance Storage and Policy-Based Management.
Select separate datastores for
persistent and OS disks
(Available only if you do not use Virtual SAN) If you redirect
user profiles to separate persistent disks, you can store the
persistent disks and OS disks on different datastores.
Select separate datastores for
replica and OS disks
(Available only if you do not use Virtual SAN or Virtual
Volumes) You can store the replica (master) virtual machine
disk on a high performance datastore and the linked clones
on separate datastores.
For details, see Storing Replicas and Clones on Separate
Datastores for Instant Clones and View Composer Linked
Clones.
If you store replicas and OS disks on separate datastores,
native NFS snapshots cannot be used. Native cloning on a
NAS device can only take place if the replica and OS disks
are stored on the same datastores.
Parent VM Select the parent virtual machine for the pool.
Snapshot (default image) Select the snapshot of the parent virtual machine to use as
the base image for the pool.
Do not delete the snapshot and parent virtual machine from
vCenter Server, unless no linked clones in the pool use the
default image, and no more linked clones will be created
from this default image. The system requires the parent
virtual machine and snapshot to provision new linked clones
in the pool, according to pool policies. The parent virtual
machine and snapshot are also required for View Composer
maintenance operations.
VM folder location Select the folder in vCenter Server in which the desktop
pool resides.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 84
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Host or cluster Select the ESXi host or cluster on which the desktop virtual
machines run.
With Virtual SAN datastores (a vSphere 5.5 Update 1
feature), you can select a cluster with up to 20 ESXi hosts.
With Virtual Volumes datastores (a vSphere 6.0 feature),
you can select a cluster with up to 32 ESXi hosts.
In vSphere 5.1 or later, you can select a cluster with up to
32 ESXi hosts if the replicas are stored on VMFS5 or later
datastores or NFS datastores. If you store replicas on a
VMFS version earlier than VMFS5, a cluster can have at
most eight hosts.
In vSphere 5.0, you can select a cluster with more than
eight ESXi hosts if the replicas are stored on NFS
datastores. If you store replicas on VMFS datastores, a
cluster can have at most eight hosts. See Configuring
Desktop Pools on Clusters With More Than Eight Hosts.
Resource pool Select the vCenter Server resource pool in which the
desktop pool resides.
Datastores Select one or more datastores on which to store the
desktop pool.
A table on the Select Linked Clone Datastores page of
the Add Desktop Pool wizard provides high-level guidelines
for estimating the pool's storage requirements. These
guidelines can help you determine which datastores are
large enough to store the linked-clone disks. For details,
see Storage Sizing for Instant-Clone and View Composer
Linked-Clone Desktop Pools.
You can use shared or local datastores for an individual
ESXi host or for ESXi clusters. If you use local datastores in
an ESXi cluster, you must consider the vSphere
infrastructure constraints that are imposed on your desktop
deployment. See Storing View Composer Linked Clones on
Local Datastores.
With Virtual SAN datastores (a vSphere 5.5 Update 1
feature), you can select a cluster with up to 20 ESXi hosts.
With Virtual Volumes datastores (a vSphere 6.0 feature),
you can select a cluster with up to 32 ESXi hosts.
In vSphere 5.1 or later, a cluster can have more than eight
ESXi hosts if the replicas are stored on datastores that are
VMFS5 or later or NFS. In vSphere 5.0, a cluster can have
more than eight ESXi hosts only if the replicas are stored on
NFS datastores. See Configuring Desktop Pools on
Clusters With More Than Eight Hosts.
For more information about the disks that are created for
linked clones, see View Composer Linked-Clone Data
Disks.
Note If you use Virtual SAN, select only one datastore.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 85
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Storage Overcommit Determine the storage-overcommit level at which linked-
clones are created on each datastore.
As the level increases, more linked clones fit on the
datastore and less space is reserved to let individual clones
grow. A high storage-overcommit level lets you create linked
clones that have a total logical size larger than the physical
storage limit of the datastore. For details, see Set the
Storage Overcommit Level for Linked-Clone Virtual
Machines.
Note This setting has no effect if you use Virtual SAN.
Use View Storage Accelerator Determine whether to use View Storage Accelerator, which
allows ESXi hosts to cache common virtual machine disk
data. View Storage Accelerator can improve performance
and reduce the need for extra storage I/O bandwidth to
manage boot storms and anti-virus scanning I/O storms.
This feature is supported on vSphere 5.0 and later.
This feature is enabled by default.
For details, see Configure View Storage Accelerator for
View Composer Linked Clones.
Use native NFS snapshots
(VAAI)
(Available only if you do not use Virtual SAN) If your
deployment includes NAS devices that support the vStorage
APIs for Array Integration (VAAI), you can use native
snapshot technology to clone virtual machines.
You can use this feature only if you select datastores that
reside on NAS devices that support native cloning
operations through VAAI.
You cannot use this feature if you store replicas and OS
disks on separate datastores. You cannot use this feature
on virtual machines with space-efficient disks.
This feature is supported on vSphere 5.0 and later.
For details, see Using VAAI Storage for View Composer
Linked Clones.
Reclaim VM disk space (Available only if you do not use Virtual SAN or Virtual
Volumes) Determine whether to allow ESXi hosts to reclaim
unused disk space on linked clones that are created in
space-efficient disk format. The space reclamation feature
reduces the total storage space required for linked-clone
desktops.
This feature is supported on vSphere 5.1 and later. The
linked-clone virtual machines must be virtual hardware
version 9 or later.
For details, see Reclaim Disk Space on View Composer
Linked Clones.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 86
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Initiate reclamation when
unused space on VM exceeds:
(Available only if you do not use Virtual SAN or Virtual
Volumes) Type the minimum amount of unused disk space,
in gigabytes, that must accumulate on a linked-clone OS
disk to trigger space reclamation. When the unused disk
space exceeds this threshold, View initiates the operation
that directs the ESXi host to reclaim space on the OS disk.
This value is measured per virtual machine. The unused
disk space must exceed the specified threshold on an
individual virtual machine before View starts the space
reclamation process on that machine.
For example: 2 GB.
The default value is 1 GB.
Blackout Times Configure days and times during which View Storage
Accelerator regeneration and the reclamation of virtual
machine disk space do not take place.
To ensure that ESXi resources are dedicated to foreground
tasks when necessary, you can prevent the ESXi hosts from
performing these operations during specified periods of time
on specified days.
For details, see Set Storage Accelerator and Space
Reclamation Blackout Times for View Composer Linked
Clones.
Transparent Page Sharing
Scope
Select the level at which to allow transparent page sharing
(TPS). The choices are Virtual Machine (the default), Pool,
Pod, or Global. If you turn on TPS for all the machines in
the pool, pod, or globally, the ESXi host eliminates
redundant copies of memory pages that result if the
machines use the same guest operating system or
applications.
Page sharing happens on the ESXi host. For example, if
you enable TPS at the pool level but the pool is spread
across multiple ESXi hosts, only virtual machines on the
same host and within the same pool will share pages. At the
global level, all machines managed by Horizon 7 on the
same ESXi host can share memory pages, regardless of
which pool the machines reside in.
Note The default setting is not to share memory pages
among machines because TPS can pose a security risk.
Research indicates that TPS could possibly be abused to
gain unauthorized access to data in very limited
configuration scenarios.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 87
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Domain Select the Active Directory domain and user name.
View Composer requires certain user privileges to create a
linked-clone pool. The domain and user account are used
by QuickPrep or Sysprep to customize the linked-clone
machines.
You specify this user when you configure View Composer
settings for vCenter Server. You can specify multiple
domains and users when you configure View Composer
settings. When you use the Add Desktop Pool wizard to
create a pool, you must select one domain and user from
the list.
For information about configuring View Composer, see the
View Administration document.
AD container Provide the Active Directory container relative distinguished
name.
For example: CN=Computers
When you run the Add Desktop Pool wizard, you can
browse your Active Directory tree for the container.
Allow reuse of pre-existing
computer accounts
Select this option to use existing computer accounts in
Active Directory for linked clones that are provisioned by
View Composer. This option lets you control the computer
accounts that are created in Active Directory.
When a linked clone is provisioned, if an existing AD
computer account name matches the linked clone machine
name, View Composer uses the existing computer account.
Otherwise, a new computer account is created.
The existing computer accounts must be located in the
Active Directory container that you specify with the Active
Directory container setting.
When this option is disabled, a new AD computer account is
created when View Composer provisions a linked clone.
This option is disabled by default.
For details, see Use Existing Active Directory Computer
Accounts for Linked Clones.
Use QuickPrep or a
customization specification
(Sysprep)
Choose whether to use QuickPrep or select a customization
specification (Sysprep) to configure licensing, domain
attachment, DHCP settings, and other properties on the
machines.
Sysprep is supported for linked clones only on vSphere 4.1
or later software.
After you use QuickPrep or Sysprep when you create a
pool, you cannot switch to the other customization method
later on, when you create or recompose machines in the
pool.
For details, see Choosing QuickPrep or Sysprep to
Customize Linked-Clone Machines.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 88
Table 61. Worksheet: Configuration Options for Creating a Linked-Clone Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Power-off script QuickPrep can run a customization script on linked-clone
machines before they are powered off.
Provide the path to the script on the parent virtual machine
and the script parameters.
Post-synchronization script QuickPrep can run a customization script on linked-clone
machines after they are created, recomposed, and
refreshed.
Provide the path to the script on the parent virtual machine
and the script parameters.
Create a Linked-Clone Desktop Pool
You can create an automated, linked-clone desktop pool based on a parent virtual machine that you
select. The View Composer service dynamically creates a new linked-clone virtual machine in vCenter
Server for each desktop.
To create an automated pool that contains full virtual machines, see Automated Pools That Contain Full
Virtual Machines.
Prerequisites
nVerify that the View Composer service is installed, either on the same host as vCenter Server or on a
separate host, and that a View Composer database is configured. See the View Installation
document.
nVerify that View Composer settings for vCenter Server are configured in View Administrator. See the
View Administration document.
nVerify that you have a sufficient number of ports on the ESXi virtual switch that is used for the virtual
machines that are used as remote desktops. The default value might not be sufficient if you create
large desktop pools. The number of virtual switch ports on the ESXi host must equal or exceed the
number of virtual machines multiplied by the number of virtual NICs per virtual machine.
nVerify that you prepared a parent virtual machine. Horizon Agent must be installed on the parent
virtual machine. See Chapter 3 Creating and Preparing a Virtual Machine for Cloning.
nTake a snapshot of the parent virtual machine in vCenter Server. You must shut down the parent
virtual machine before you take the snapshot. View Composer uses the snapshot as the base image
from which the clones are created.
Note You cannot create a linked-clone pool from a virtual machine template.
nGather the configuration information you must provide to create the pool. See Worksheet for Creating
a Linked-Clone Desktop Pool.
nDecide how to configure power settings, display protocol, Adobe Flash quality, and other settings.
See Desktop Pool Settings for All Desktop Pool Types.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 89
nIf you intend to provide access to your desktops and applications through VMware Identity Manager,
verify that you create the desktop and application pools as a user who has the Administrators role on
the root access group in Horizon Administrator. If you give the user the Administrators role on an
access group other than the root access group, VMware Identity Manager will not recognize the
SAML authenticator you configure in Horizon 7, and you cannot configure the pool in
VMware Identity Manager.
Important While a linked-clone pool is created, do not modify the parent virtual machine in vCenter
Server. For example, do not convert the parent virtual machine to a template. The View Composer service
requires that the parent virtual machine remain in a static, unaltered state during pool creation.
Procedure
1In View Administrator, select Catalog > Desktop Pools.
2Click Add.
3Select Automated Desktop Pool.
4On the vCenter Server page, choose View Composer linked clones.
5Follow the prompts in the wizard to create the pool.
Use the configuration information you gathered in the worksheet. You can go directly back to any
wizard page you completed by clicking the page name in the navigation panel.
On the vCenter Settings page, you must click Browse and select the vCenter Server settings in
sequence. You cannot skip a vCenter Server setting:
a Parent VM
b Snapshot
c VM folder location
d Host or cluster
e Resource pool
f Datastores
In View Administrator, you can view the machines as they are added to the pool by selecting Catalog >
Desktop Pools.
The linked clones might restart one or more times while they are provisioned. If a linked clone is in an
error state, the View automatic recovery mechanism attempts to power on, or shut down and restart, the
linked clone. If repeated recovery attempts fail, the linked clone is deleted.
View Composer also creates a replica virtual machine that serves as the master image for provisioning
the linked clones. To reduce space consumption, the replica is created as a thin disk. If all the virtual
machines are recomposed or deleted, and no clones are linked to the replica, the replica virtual machine
is deleted from vCenter Server.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 90
If you do not store the replica on a separate datastore, View Composer creates a replica on each
datastore on which linked clones are created.
If you store the replica on a separate datastore, one replica is created for the entire pool, even when
linked clones are created on multiple datastores.
What to do next
Entitle users to access the pool. See Add Entitlements to a Desktop or Application Pool.
Clone an Automated Desktop Pool
You can clone an automated desktop pool from an existing pool. When you clone a pool, the existing
desktop pool's settings are copied into the Add Desktop Pool wizard, allowing you to create a new pool
without having to fill in each setting manually.
With this feature, you can streamline pool creation because you do not have to type every option in the
Add Desktop Pool wizard. You can ensure that desktop pool attributes are standardized by using the
pre-filled values in the wizard.
You can clone automated desktop pools that contain full virtual machines or View Composer linked
clones. You cannot clone automated desktop pools of instant clones, manual desktop pools, or RDS
desktop pools.
When you clone a desktop pool, you cannot change certain settings:
nDesktop pool type
nClone type, either linked clone or full virtual machine
nUser assignment, either dedicated or floating
nvCenter Server instance
Prerequisites
nVerify that the prerequisites for creating the original desktop pool are still valid.
For example, for a pool that contains full virtual machines, verify that a virtual machine template was
prepared.
For a linked-clone pool, verify that a parent virtual machine was prepared and a snapshot was taken
after the virtual machine was powered off.
When you clone a pool, you can use the same virtual machine template or parent virtual machine, or
you can select another one.
nFor prerequisites for cloning an automated, full-clone pool, see Create an Automated Pool That
Contains Full Virtual Machines.
nFor prerequisites for cloning a linked-cone pool, see Create a Linked-Clone Desktop Pool.
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 91
2Select the desktop pool that you want to clone and click Clone.
The Add Desktop Pool wizard appears.
3On the Add Desktop Pool page, type a unique pool ID.
4On the Provisioning Settings page, provide unique names for the virtual machines.
Option Description
Use a naming pattern Type a virtual machine naming pattern.
Specify names manually Provide a list of unique names for the virtual machines.
5Follow the other prompts in the wizard to create the pool.
Change desktop pool settings and values as needed.
In Horizon Administrator, you can view the machines as they are added to the pool by selecting Catalog
> Desktop Pools.
What to do next
Entitle users to access the pool. See Add Entitlements to a Desktop or Application Pool.
Desktop Pool Settings for Linked-Clone Desktop Pools
You must specify machine and desktop pool settings when you configure automated pools that contain
linked clones created by View Composer. Different settings apply to pools with dedicated user
assignments and floating user assignments.
Table 62 lists the settings that apply to linked-clone pools with dedicated assignments and floating
assignments.
For descriptions of each setting, see Desktop Pool Settings for All Desktop Pool Types.
Table 62. Settings for Automated, Linked-Clone Desktop Pools
Setting
Linked-Clone Pool, Dedicated
Assignment
Linked-Clone Pool, Floating
Assignment
State Yes Yes
Connection Server restrictions Yes Yes
Category Folder Yes Yes
Remote machine power policy Yes Yes
Automatically logoff after disconnect Yes Yes
Allow users to reset/restart their machines Yes Yes
Allow user to initiate separate sessions
from different client devices
Yes
Delete or refresh machine on logoff Yes
Refresh OS disk after logoff Yes
Default display protocol Yes Yes
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 92
Table 62. Settings for Automated, Linked-Clone Desktop Pools (Continued)
Setting
Linked-Clone Pool, Dedicated
Assignment
Linked-Clone Pool, Floating
Assignment
Allow users to choose protocol Yes Yes
3D Renderer Yes Yes
Max number of monitors Yes Yes
Max resolution of any one monitor Yes Yes
Adobe Flash quality Yes Yes
Adobe Flash throttling Yes Yes
Override global Mirage settings Yes Yes
Mirage Server configuration Yes Yes
View Composer Support for Linked-Clone SIDs and Third-
Party Applications
View Composer can generate and preserve local computer security identifiers (SIDs) for linked-clone
virtual machines in some situations. View Composer can preserve globally unique identifiers (GUIDs) of
third-party applications, depending on the way that the applications generate GUIDs.
To understand how View Composer operations affect SIDs and application GUIDs, you should
understand how linked-clone machines are created and provisioned:
1 View Composer creates a linked clone by taking these actions:
a Creates the replica by cloning the parent virtual-machine snapshot.
b Creates the linked clone to refer to the replica as its parent disk.
2 View Composer and View customize the linked clone with QuickPrep or a Sysprep customization
specification, depending on which customization tool you select when you create the pool.
nIf you use Sysprep, a unique SID is generated for each clone.
nIf you use QuickPrep, no new SID is generated. The parent virtual machine's SID is replicated on
all provisioned linked-clone machines in the pool.
nSome applications generate a GUID during customization.
3 View creates a snapshot of the linked clone.
The snapshot contains the unique SID generated with Sysprep or common SID generated with
QuickPrep.
4 View powers on the machine according to the settings you select when you create the pool.
Some applications generate a GUID the first time the machine is powered on.
For a comparison of QuickPrep and Sysprep customization, see Choosing QuickPrep or Sysprep to
Customize Linked-Clone Machines.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 93
When you refresh the linked clone, View Composer uses the snapshot to restore the clone to its initial
state. Its SID is preserved.
If you use QuickPrep, when you recompose the linked clone, the parent virtual machine's SID is
preserved on the linked clone as long as you select the same parent virtual machine for the recompose
operation. If you select a different parent virtual machine for the recomposition, the new parent's SID is
replicated on the clone.
If you use Sysprep, a new SID is always generated on the clone. For details, see Recomposing Linked
Clones Customized with Sysprep.
Table 63 shows the effect of View Composer operations on linked-clone SIDs and third-party application
GUIDs.
Table 63. View Composer Operations, Linked-Clone SIDs, and Application GUIDs
Support for SIDs or GUIDs Clone Creation Refresh Recompose
Sysprep: Unique SIDs for
linked clones
With Sysprep customization,
unique SIDs are generated
for linked clones.
Unique SIDs are preserved. Unique SIDS are not
preserved.
QuickPrep: Common SIDs for
linked clones
With QuickPrep
customization, a common SID
is generated for all clones in a
pool.
Common SID is preserved. Common SID is preserved.
Third-party application GUIDs Each application behaves
differently.
Note Sysprep and
QuickPrep have the same
effect on GUID preservation.
The GUID is preserved if an
application generates the
GUID before the initial
snapshot is taken.
The GUID is not preserved if
an application generates the
GUID after the initial snapshot
is taken.
Recompose operations do not
preserve an application GUID
unless the application writes
the GUID on the drive specified
as a View Composer persistent
disk.
Choosing QuickPrep or Sysprep to Customize Linked-Clone
Machines
QuickPrep and Microsoft Sysprep provide different approaches to customizing linked-clone machines.
QuickPrep is designed to work efficiently with View Composer. Microsoft Sysprep offers standard
customization tools.
When you create linked-clone machines, you must modify each virtual machine so that it can function as
a unique computer on the network. View and View Composer provide two methods for personalizing
linked-clone machines.
Table 64 compares QuickPrep with customization specifications that are created with Microsoft Sysprep.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 94
Table 64. Comparing QuickPrep and Microsoft Sysprep
QuickPrep Customization Specification (Sysprep)
Designed to work with View Composer.
For details, see Customizing Linked-Clone Machines with
QuickPrep.
Can be created with the standard Microsoft Sysprep tools.
Uses the same local computer security identifier (SID) for all
linked clones in the pool.
Generates a unique local computer SID for each linked clone in
the pool.
Can run additional customization scripts before linked clones are
powered off and after linked clones are created, refreshed, or
recomposed.
Can run an additional script when the user first logs in.
Joins the linked clone computer to the Active Directory domain. Joins the linked-clone computer to the Active Directory domain.
The domain and administrator information in the Sysprep
customization specification is not used. The virtual machine is
joined to the domain using the guest customization information
that you enter in View Administrator when you create the pool.
For each linked clone, adds a unique ID to the Active Directory
domain account.
For each linked clone, adds a unique ID to the Active Directory
domain account.
Does not generate a new SID after linked clones are refreshed.
The common SID is preserved.
Generates a new SID when each linked clone is customized.
Preserves the unique SIDs during a refresh operation, but not
during a recompose or rebalance operation.
Does not generate a new SID after linked clones are
recomposed. The common SID is preserved.
Runs again after linked clones are recomposed, generating new
SIDs for the virtual machines.
For details, see Recomposing Linked Clones Customized with
Sysprep.
Runs faster than Sysprep. Can take longer than QuickPrep.
After you customize a linked-clone pool with QuickPrep or Sysprep, you cannot switch to the other
customization method when you create or recompose machines in the pool.
Customizing Linked-Clone Machines with QuickPrep
You can personalize the linked-clone machines that are created from a parent virtual machine by using
the QuickPrep system tool. View Composer executes QuickPrep when a linked-clone machine is created
or recomposed.
QuickPrep customizes a linked-clone machine in several ways:
nGives the computer a name that you specify when you create the linked-clone pool.
nCreates a computer account in Active Directory, joining the computer to the appropriate domain.
nMounts the View Composer persistent disk. The Windows user profile is redirected to this disk.
nRedirects temp and paging files to a separate disk.
These steps might require the linked clones to restart one or more times.
QuickPrep uses KMS volume license keys to activate Windows linked-clone machines. For details, see
the View Administration document.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 95
You can create your own scripts to further customize the linked clones. QuickPrep can run two types of
scripts at predefined times:
nAfter linked clones are created or recomposed
nImmediately before linked clones are powered off
For guidelines and rules for using QuickPrep customization scripts, see Running QuickPrep
Customization Scripts.
Note View Composer requires domain user credentials to join linked-clone machines to an Active
Directory domain. For details, see the View Administration document.
Running QuickPrep Customization Scripts
With the QuickPrep tool, you can create scripts to customize the linked-clone machines in a pool. You can
configure QuickPrep to run customization scripts at two predefined times.
When QuickPrep Scripts Run
The post-synchronization script runs after linked clones are created, recomposed, or rebalanced, and the
clones' status is Ready. The power-off script runs before linked clones are powered off. The scripts run in
the guest operating systems of the linked clones.
How QuickPrep Executes Scripts
The QuickPrep process uses the Windows CreateProcess API call to execute scripts. Your script can
invoke any process that can be created with the CreateProcess API. For example, cmd, vbscript, exe,
and batch-file processes work with the API.
In particular, QuickPrep passes the path that is specified for the script as the second parameter to the
CreateProcess API and sets the first parameter to NULL.
For example, if the script path is c:\myscript.cmd, the path appears as the second parameter in the
function in the View Composer log file: CreateProcess(NULL,c:\myscript.cmd,...).
Providing Paths to QuickPrep Scripts
You provide paths to the QuickPrep customization scripts when you create a linked-clone machine pool or
when you edit a pool's guest customization settings. The scripts must reside on the parent virtual
machine. You cannot use a UNC path to a network share.
If you use a scripting language that needs an interpreter to execute the script, the script path must start
with the interpreter binary.
For example, if you specify the path C:\script\myvb.vbs as a QuickPrep customization script, View
Composer Agent cannot execute the script. You must specify a path that starts with the interpreter binary
path:
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 96
C:\windows\system32\cscript.exe c:\script\myvb.vbs
Important Protect QuickPrep customization scripts from access by ordinary users. Place the scripts in a
secure folder.
QuickPrep Script Timeout Limit
View Composer terminates a post-synchronization or power-off script that takes longer than 20 seconds.
If your script takes longer than 20 seconds, you can increase the timeout limit. For details, see Increase
the Timeout Limit for ClonePrep and QuickPrep Customization Scripts.
Alternatively, you can use your script to launch another script or process that performs the long-running
task.
QuickPrep Script Account
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.
QuickPrep Process Privileges
For security reasons, certain Windows operating system privileges are removed from the View Composer
Guest Agent process that invokes QuickPrep customization scripts.
A QuickPrep customization script cannot perform any action that requires a privilege that is removed from
the View Composer Guest Agent process.
The following privileges are removed from the process that invokes QuickPrep scripts:
SeCreateTokenPrivilege
SeTakeOwnershipPrivilege
SeSecurityPrivilege
SeSystemEnvironmentPrivilege
SeLoadDriverPrivilege
SeSystemtimePrivilege
SeUndockPrivilege
SeManageVolumePrivilege
SeLockMemoryPrivilege
SeIncreaseBasePriorityPrivilege
SeCreatePermanentPrivilege
SeDebugPrivilege
SeAuditPrivilege
QuickPrep Script Logs
View Composer logs contain information about QuickPrep script execution. The log records the start and
end of execution and logs output or error messages. The log is located in the Windows temp directory:
C:\Windows\Temp\vmware-viewcomposer-ga-new.log
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 97
Recomposing Linked Clones Customized with Sysprep
If you recompose a linked-clone machine that was customized with Sysprep, View runs the Sysprep
customization specification again after the OS disk is recomposed. This operation generates a new SID
for the linked-clone virtual machine.
If a new SID is generated, the recomposed linked clone functions as a new computer on the network.
Some software programs such as system-management tools depend on the SID to identify the computers
under their management. These programs might not be able to identify or locate the linked-clone virtual
machine.
Also, if third-party software is installed on the system disk, the customization specification might
regenerate the GUIDs for that software after the recomposition.
A recomposition restores the linked clone to its original state, before the customization specification was
run the first time. In this state, the linked clone does not have a local computer SID or the GUID of any
third-party software installed in the system drive. View must run the Sysprep customization specification
after the linked clone is recomposed.
Keeping Linked-Clone Machines Provisioned for Use in
Remote Desktop Sessions During View Composer
Operations
If your users must be able to access remote desktops at all times, you must maintain a certain number of
machines that are provisioned for use in remote desktop sessions even when View Composer
maintenance operations take place. You can set a minimum number of machines that are not placed in
maintenance mode while View Composer refreshes, recomposes, or rebalances the linked-clone virtual
machines in a pool.
When you set a Minimum number of ready (provisioned) machines during View Composer
maintenance operations, View ensures that the specified number of machines stay provisioned, and are
not placed in maintenance mode, while View Composer proceeds through the maintenance operation.
This setting lets users maintain existing connections or make new connection requests during the View
Composer maintenance operation. The setting does not distinguish between spare machines that are
ready to accept new connections and machines that are already connected in existing desktop sessions.
You can specify this setting when you create or edit a linked-clone pool.
The following guidelines apply to this setting:
nTo allow a number of users to maintain their existing desktop connections and keep a minimum
number of spare (powered on) machines that can accept new connection requests, set the Minimum
number of ready (provisioned) machines during View Composer maintenance operations to a
large enough value to include both sets of machines.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 98
nIf you use a naming pattern to provision machines and provision machines on demand, set the
number of provisioned machines during View Composer operations to a smaller value than the
specified Max number of machines. If the maximum number were smaller, your pool could end up
with fewer total machines than the minimum number you want to keep provisioned during View
Composer operations. In this case, View Composer maintenance operations could not take place.
nIf you provision machines by manually specifying a list of machine names, do not reduce the total
pool size (by removing machine names) to a lower number than the minimum number of provisioned
machines. In this case, View Composer maintenance operations could not take place.
nIf you set a large minimum number of provisioned machines in relation to the pool size, View
Composer maintenance operations might take longer to complete. While View maintains the
minimum number of provisioned machines during a maintenance operation, the operation might not
reach the concurrency limit that is specified in the Max concurrent View Composer maintenance
operations setting.
For example, if a pool contains 20 machines and the minimum number of provisioned machines is 15,
View Composer can operate on at most five machines at a time. If the concurrency limit for View
Composer maintenance operations is 12, the concurrency limit is never reached.
nIn this setting name, the term "ready" applies to the state of the linked-clone virtual machine, not the
machine status that is displayed in View Administrator. A virtual machine is ready when it is
provisioned and ready to be powered on. The machine status reflects the View-managed condition of
the machine. For example, a machine can have a status of Connected, Disconnected, Agent
Unreachable, Deleting, and so on, and still be considered "ready".
Use Existing Active Directory Computer Accounts for
Linked Clones
When you create or edit a desktop pool or an automated farm, you can configure View Composer to use
existing computer accounts in Active Directory for newly provisioned linked clones.
By default, View Composer generates a new Active Directory computer account for each linked clone that
it provisions. The Allow reuse of pre-existing computer accounts option lets you control the computer
accounts that are created in Active Directory by ensuring that View Composer uses existing AD computer
accounts.
With this option enabled, when a linked clone is provisioned, View Composer checks if an existing AD
computer account name matches the linked clone machine name. If a match exists, View Composer uses
the existing AD computer account. If View Composer does not find a matching AD computer account
name, View Composer generates a new AD computer account for the linked clone.
You can set the Allow reuse of pre-existing computer accounts option when you create or edit a
desktop pool or an automated farm. If you edit a pool or a farm and set this option, the setting affects
linked-clone machines that are provisioned in the future. Linked clones that are already provisioned are
not affected.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 99
When you set the Allow reuse of pre-existing computer accounts option, you can limit the Active
Directory permissions assigned to the View Composer user account that generates the desktop pool or
farm. Only the following Active Directory permissions are required:
nList Contents
nRead All Properties
nRead Permissions
nReset Password
You can only limit the Active Directory permissions if you are sure that all machines you intend to
provision have existing computer accounts allocated in Active Directory. View Composer generates a new
AD computer account if no matching name is found. Additional permissions such as Create Computer
Objects are required to create new computer accounts. For a complete list of permissions required for the
View Composer user account, see the View Administration document.
This option cannot be disabled if View Composer is currently using at least one existing AD computer
account.
The following procedure applies to linked-clone desktop pools. The steps are similar for automated farms.
Prerequisites
Verify that the existing computer accounts are located in the Active Directory container that you specify
with the Active Directory container setting. If the existing accounts are located in a different container,
provisioning fails for linked clones with those account names, and an error message states that the
existing computer accounts already exist in Active Directory.
For example, if you select the Allow reuse of pre-existing computer accounts option and specify that
the Active Directory container is the default value, CN=Computers, and the existing computer accounts
are located in OU=mydesktops, provisioning fails for those accounts.
Procedure
1In Active Directory, create the computer accounts to use for the linked-clone machines.
For example: machine1, machine2, machine3
The computer account names must use consecutive integers so that they match the names that are
generated during machine provisioning in View.
2In View Administrator, create a pool by using the Add Desktop Pool wizard or edit the pool in the Edit
dialog box.
3On the Provisioning Settings page or tab, select Use a naming pattern.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 100
4In the Naming Pattern text box, type a machine name that matches the Active Directory computer
account name.
For example: machine
View appends unique numbers to the pattern to provide a unique name for each machine.
For example: machine1, machine2, machine3
5On the Guest Customization page or tab, select the Allow reuse of pre-existing computer
accounts option.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 101
Creating Manual Desktop Pools 7
In a manual desktop pool, each remote desktop that is accessed by an end user is a separate machine.
When you create a manual desktop pool, you select existing machines. You can create a pool that
contains a single desktop by creating a manual desktop pool and selecting a single machine.
This chapter includes the following topics:
nManual Desktop Pools
nWorksheet for Creating a Manual Desktop Pool
nCreate a Manual Desktop Pool
nCreate a Manual Pool That Contains One Machine
nDesktop Pool Settings for Manual Pools
Manual Desktop Pools
To create a manual desktop pool, View provisions desktops from existing machines. You select a
separate machine for each desktop in the pool.
View can use several types of machines in manual pools:
nVirtual machines that are managed by vCenter Server
nVirtual machines that run on a virtualization platform other than vCenter Server
nPhysical computers
For information about creating a manual desktop pool that uses Linux virtual machines, see the Setting
Up Horizon 7 for Linux Desktops guide.
Worksheet for Creating a Manual Desktop Pool
When you create a manual desktop pool, the View Administrator Add Desktop Pool wizard prompts you
to configure certain options. Use this worksheet to prepare your configuration options before you create
the pool.
VMware, Inc. 102
You can print this worksheet and write down the values you want to specify when you run the Add
Desktop Pool wizard.
Note In a manual pool, you must prepare each machine to deliver remote desktop access.
Horizon Agent must be installed and running on each machine.
Table 71. Worksheet: Configuration Options for Creating a Manual Desktop Pool
Option Description Fill In Your Value Here
User assignment Choose the type of user assignment:
nIn a dedicated-assignment pool, each user is
assigned to a machine. Users receive the same
machine each time they log in.
nIn a floating-assignment pool, users receive
different machines each time they log in.
For details, see User Assignment in Desktop Pools.
vCenter Server The vCenter Server that manages the machines.
This option appears only if the machines are virtual
machines that are managed by vCenter Server.
Machine Source The virtual machines or physical computers that you
want to include in the desktop pool.
1 Decide which type of machine you want to use.
You can use either virtual machines that are
managed by vCenter Server or unmanaged
virtual machines and physical computers.
2 Prepare a list of the vCenter Server virtual
machines or unmanaged virtual machines and
physical computers that you want to include in
the desktop pool.
3 Install Horizon Agent on each machine that you
want to include in the desktop pool.
To use PCoIP with machines that are unmanaged
virtual machines or physical computers, you must use
Teradici hardware.
Note When you enable Windows Server desktops in
View Administrator, View Administrator displays all
available Windows Server machines, including
machines on which View Connection Server and
other View servers are installed, as potential machine
sources.
You cannot select machines for the desktop pool if
View server software is installed on the machines.
Horizon Agent cannot coexist on the same virtual or
physical machine with any other View software
component, including View Connection Server,
security server, View Composer, or Horizon Client.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 103
Table 71. Worksheet: Configuration Options for Creating a Manual Desktop Pool
(Continued)
Option Description Fill In Your Value Here
Desktop Pool ID The pool name that users see when they log in and
that identifies the pool in View Administrator.
If multiple vCenter Servers are running in your
environment, make sure that another vCenter Server
is not using the same pool ID.
Desktop Pool Settings Settings that determine the machine state, power
status when a virtual machine is not in use, display
protocol, Adobe Flash quality, and so on.
For details, see Desktop Pool Settings for All Desktop
Pool Types.
For a list of the settings that apply to manual pools,
see Desktop Pool Settings for Manual Pools.
Transparent Page Sharing Scope Select the level at which to allow transparent page
sharing (TPS). The choices are Virtual Machine (the
default), Pool, Pod, or Global. If you turn on TPS for
all the machines in the pool, pod, or globally, the
ESXi host eliminates redundant copies of memory
pages that result if the machines use the same guest
operating system or applications.
Page sharing happens on the ESXi host. For
example, if you enable TPS at the pool level but the
pool is spread across multiple ESXi hosts, only virtual
machines on the same host and within the same pool
will share pages. At the global level, all machines
managed by Horizon 7 on the same ESXi host can
share memory pages, regardless of which pool the
machines reside in.
Note The default setting is not to share memory
pages among machines because TPS can pose a
security risk. Research indicates that TPS could
possibly be abused to gain unauthorized access to
data in very limited configuration scenarios.
Create a Manual Desktop Pool
You can create a manual desktop pool that provisions desktops from existing virtual machines or physical
computers. You must select the machines that will be included in the desktop pool.
For manual pools with virtual machines that are managed by vCenter Server, View ensures that a spare
machine is powered on so that users can connect to it. The spare machine is powered on no matter
which power policy is in effect.
Prerequisites
nPrepare the machines to deliver remote desktop access. In a manual pool, you must prepare each
machine individually. Horizon Agent must be installed and running on each machine.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 104
To prepare virtual machines managed by vCenter Server, see Chapter 3 Creating and Preparing a
Virtual Machine for Cloning.
To prepare unmanaged virtual machines and physical computers, see Chapter 11 Preparing
Unmanaged Machines.
nGather the configuration information that you must provide to create the pool. See Worksheet for
Creating a Manual Desktop Pool.
nDecide how to configure power settings, display protocol, Adobe Flash quality, and other settings.
See Desktop Pool Settings for All Desktop Pool Types.
Procedure
1In View Administrator, select Catalog > Desktop Pools.
2Click Add.
3Select Manual Desktop Pool.
4Follow the prompts in the wizard to create the pool.
Use the configuration information that you gathered in the worksheet. You can go directly back to any
wizard page that you completed by clicking the page name in the navigation panel.
In View Administrator, you can view the machines as they are added to the pool by selecting Catalog >
Desktop Pools.
What to do next
Entitle users to access the pool. See Add Entitlements to a Desktop or Application Pool.
Create a Manual Pool That Contains One Machine
You can create a pool that contains a single machine when a user requires a unique, dedicated desktop,
or when, at different times, multiple users must access a costly application with a single-host license.
You can provision an individual machine in its own pool by creating a manual desktop pool and selecting
a single machine.
To mimic a physical computer that can be shared by multiple users, specify a floating assignment for the
users entitled to access the pool.
Whether you configure the single-machine pool with dedicated or floating assignment, power operations
are initiated by session management. The virtual machine is powered on when a user requests the
desktop and powered off or suspended when the user logs off.
If you configure the Ensure machines are always powered on policy, the virtual machine remains
powered on. If the user shuts down the virtual machine, it immediately restarts.
Prerequisites
nPrepare the machine to deliver remote desktop access. Horizon Agent must be installed and running
on the machine.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 105
To prepare a virtual machine managed by vCenter Server, see Chapter 3 Creating and Preparing a
Virtual Machine for Cloning.
To prepare an unmanaged virtual machine or physical computer, see Chapter 11 Preparing
Unmanaged Machines.
nGather the configuration information you must provide to create the manual pool. See Worksheet for
Creating a Manual Desktop Pool.
nDecide how to configure power settings, display protocol, Adobe Flash quality, and other settings.
See Desktop Pool Settings for All Desktop Pool Types.
Procedure
1In View Administrator, select Catalog > Desktop Pools.
2Click Add.
3Select Manual Desktop Pool.
4Select the type of user assignment.
Option Description
Dedicated The machine is assigned to one user. Only that user can log in to the desktop.
Floating The machine is shared by all users who are entitled to the pool. Any entitled user
can log in to the desktop as long as another user is not logged in.
5On the Machine Source page, select the machine to be included in the desktop pool.
6Follow the prompts in the wizard to create the pool.
Use the configuration information you gathered in the worksheet. You can go directly back to any
wizard page you completed by clicking the page name in the navigation panel.
In View Administrator, you can view the machine being added to the pool by selecting Catalog > Desktop
Pools.
What to do next
Entitle users to access the pool. See Add Entitlements to a Desktop or Application Pool.
Desktop Pool Settings for Manual Pools
You must specify machine and pool settings when you configure manual desktop pools. Not all settings
apply to all types of manual pools.
Table 72 lists the settings that apply to manual desktop pools that are configured with these properties:
nDedicated user assignments
nFloating user assignments
nManaged machines (vCenter Server virtual machines)
nUnmanaged machines
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 106
These settings also apply to a manual pool that contains a single machine.
For descriptions of each desktop pool setting, see Desktop Pool Settings for All Desktop Pool Types.
Table 72. Settings for Manual Desktop Pools
Setting
Manual
Managed Pool,
Dedicated
Assignment
Manual Managed Pool,
Floating Assignment
Manual Unmanaged Pool,
Dedicated Assignment
Manual Unmanaged Pool,
Floating Assignment
State Yes Yes Yes Yes
Connection Server
restrictions
Yes Yes Yes Yes
Remote machine
power policy
Yes Yes
Automatically
logoff after
disconnect
Yes Yes Yes Yes
Allow users to
reset/restart their
machines
Yes Yes
Allow user to
initiate separate
sessions from
different client
devices
Yes Yes
Default display
protocol
Yes Yes Yes
To use PCoIP with a
machine that is not
managed by vCenter
Server, you must install
Teradici hardware on the
machine.
Yes
To use PCoIP with a
machine that is not managed
by vCenter Server, you must
install Teradici hardware on
the machine.
Allow users to
choose protocol
Yes Yes Yes Yes
3D Renderer Yes Yes
Max number of
monitors
Yes Yes
Max resolution of
any one monitor
Yes Yes
Adobe Flash
quality
Yes Yes Yes Yes
Adobe Flash
throttling
Yes Yes Yes Yes
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 107
Table 72. Settings for Manual Desktop Pools (Continued)
Setting
Manual
Managed Pool,
Dedicated
Assignment
Manual Managed Pool,
Floating Assignment
Manual Unmanaged Pool,
Dedicated Assignment
Manual Unmanaged Pool,
Floating Assignment
Override global
Mirage settings
Yes Yes Yes Yes
Mirage Server
configuration
Yes Yes Yes Yes
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 108
Configuring Desktop Pools 8
When you create a desktop pool, you select configuration options that determine how the pool is
managed and how users interact with the desktops.
These tasks apply to desktop pools that are deployed on single-user machines. They do not apply to RDS
desktop pools. However, the Adobe Flash quality and throttling settings apply to all types of desktop
pools, including RDS.
This chapter includes the following topics:
nUser Assignment in Desktop Pools
nNaming Machines Manually or Providing a Naming Pattern
nManually Customizing Machines
nDesktop Pool Settings for All Desktop Pool Types
nAdobe Flash Quality and Throttling
nSetting Power Policies for Desktop Pools
nConfiguring 3D Rendering for Desktops
nPrevent Access to Horizon 7 Desktops Through RDP
nDeploying Large Desktop Pools
User Assignment in Desktop Pools
For manual desktop pools and automated desktop pools of full virtual machines, View Composer linked
clones, or instant clones, you can choose floating or dedicated user assignment for the desktops.
With a dedicated assignment, each desktop is assigned to a specific user. A user logging in for the first
time gets a desktop that is not assigned to another user. Thereafter, this user will always get this desktop
after logging in, and this desktop is not available to any other user. Between each login and logout, the
computer name and MAC address is retained for the same desktop. Any other changes that the user
makes to the desktop are not preserved.
With a floating assignment, users get a random desktop every time they log in. When a user logs off, the
desktop is returned to the pool.
VMware, Inc. 109
With floating instant clones, the desktop is always deleted and recreated from the current image when a
user logs out. With View Composer linked clones, you can configure floating-assignment machines to be
deleted when users log out. Automatic deletion lets you keep only as many virtual machines as you need
at one time.
With floating-assignment, you might be able to reduce software licensing costs.
Naming Machines Manually or Providing a Naming Pattern
With an automated desktop pool of full virtual machines or View Composer linked clones, you can specify
a list of names for the desktop machines or provide a naming pattern. With an instant-clone desktop pool,
you can only specify a naming pattern when provisioning the pool.
If you name machines by specifying a list, you can use your company's naming scheme, and you can
associate each machine name with a user.
If you provide a naming pattern, View can dynamically create and assign machines as users need them.
Table 81 compares the two naming methods, showing how each method affects the way you create and
administer a desktop pool.
Table 81. Naming machines Manually or Providing a machine-Naming Pattern
Feature Using a Machine-Naming Pattern Naming Machines Manually
Machine names The machine names are generated by
appending a number to the naming pattern.
For details, see Using a Naming Pattern for
Automated Desktop Pools.
You specify a list of machine names.
In a dedicated-assignment pool, you can
pair users with machines by listing user
names with the machine names.
For details, see Specify a List of Machine
Names.
Pool size You specify a maximum number of machines. Your list of machine names determines
the number of machines.
To add machines to the pool You can increase the maximum pool size. You can add machine names to the list.
For details, see Add Machines to an
Automated Pool Provisioned by a List of
Names.
On-demand provisioning Available.
View dynamically creates and provisions the
specified minimum and spare number of
machines as users first log in or as you
assign machines to users.
View can also create and provision all the
machines when you create the pool.
Not available.
View creates and provisions all the
machines that you specify in your list
when the pool is created.
Initial customization Available.
When a machine is provisioned, View can run
a customization specification that you select.
Available.
When a machine is provisioned, View can
run a customization specification that you
select.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 110
Table 81. Naming machines Manually or Providing a machine-Naming Pattern (Continued)
Feature Using a Machine-Naming Pattern Naming Machines Manually
Manual customization of dedicated
machines
Not available to instant clones.
To customize machines and return desktop
access to your users, you must remove and
reassign the ownership of each machine.
Depending on whether you assign machines
on first log in, you might have to perform
these steps twice. You cannot start machines
in maintenance mode. After the pool is
created, you can manually put the machines
into maintenance mode.
You can customize and test machines
without having to reassign ownership.
When you create the pool, you can start
all machines in maintenance mode to
prevent users from accessing them. You
can customize the machines and exit
maintenance mode to return access to
your users.
For details, see Manually Customizing
Machines.
Dynamic or fixed pool size Dynamic.
If you remove a user assignment from a
machine in a dedicated-assignment pool, the
machine is returned to the pool of available
machines.
If you choose to delete machines on logoff in
a floating-assignment pool, the pool size can
grow or shrink depending on the number of
active user sessions.
Note Instant-clone pools can only be
floating-assignment pools. The machines are
always deleted on logoff.
Fixed.
The pool contains the number of
machines you provide in the list of
machine names.
You cannot select the Delete machine on
logoff setting if you name machines
manually.
Spare machines You can specify a number of spare machines
that View keeps powered on for new users.
View creates new machines to maintain the
specified number. View stops creating spare
machines when it reaches the maximum pool
size.
View keeps the spare machines powered on
even when the pool power policy is Power
off or Suspend, or when you do not set a
power policy.
Note Instant-clone pools do not have a
power policy.
You can specify a number of spare
machines that View keeps powered on for
new users.
View does not create new spare machines
to maintain the specified number.
View keeps the spare machines powered
on even when the pool power policy is
Power off or Suspend, or when you do
not set a power policy.
User assignment You can use a naming pattern for dedicated-
assignment and floating-assignment pools.
You can specify machine names for
dedicated-assignment and floating-
assignment pools.
Note In a floating-assignment pool, you
cannot associate user names with
machine names. The machines are not
dedicated to the associated users. In a
floating-assignment pool, all machines
that are not currently in use remain
accessible to any user who logs in.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 111
Specify a List of Machine Names
You can provision an automated desktop pool by manually specifying a list of machine names. This
naming method lets you use your company's naming conventions to identify the machines in a pool.
When you explicitly specify machine names, users can see familiar names based on their company's
organization when they log in to their remote desktops.
Follow these guidelines for manually specifying machine names:
nType each machine name on a separate line.
nA machine name can have up to 15 alphanumeric characters.
nYou can add a user name to each machine entry. Use a comma to separate the user name from the
machine name.
In this example, two machines are specified. The second machine is associated with a user:
Desktop-001
Desktop-002,abccorp.com\jdoe
Note In a floating-assignment pool, you cannot associate user names with machine names. The
machines are not dedicated to the associated users. In a floating-assignment pool, all machines that are
not currently in use remain accessible to any user who logs in.
Prerequisites
Make sure that each machine name is unique. You cannot use the names of existing virtual machines in
vCenter Server.
Procedure
1Create a text file that contains the list of machine names.
If you intend to create a desktop pool with only a few machines, you can type the machine names
directly in the Add Desktop Pool wizard. You do not have to create a separate text file.
2In View Administrator start the Add Desktop Pool wizard to begin creating an automated desktop
pool.
3On the Provisioning Settings page, select Specify names manually and click Enter names.
4Copy your list of machine names in the Enter Machine Names page and click Next.
The Enter Machine Names wizard displays the desktop list and indicates validation errors with a
red !.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 112
5Correct invalid machine names.
a Place your cursor over an invalid name to display the related error message at the bottom of the
page.
b Click Back.
c Edit the incorrect names and click Next.
6Click Finish.
7(Optional) Select Start machines in maintenance mode.
This option lets you customize the machines before users can log in and use them.
8Follow the prompts in the wizard to finish creating the desktop pool.
View creates a machine for each name in the list. When an entry includes a machine and user name,
View assigns the machine to that user.
After the desktop pool is created, you can add machines by importing another list file that contains
additional machine names and users. See "Add Machines to an Automated Pool Provisioned by a List of
Names" in the View Administration document.
Using a Naming Pattern for Automated Desktop Pools
You can provision the machines in a pool by providing a naming pattern and the total number of machines
you want in the pool. By default, View uses your pattern as a prefix in all the machine names and
appends a unique number to identify each machine.
Length of the Naming Pattern in a Machine Name
Machine names have a 15-character limit, including your naming pattern and the automatically generated
number.
Table 82. Maximum Length of the Naming Pattern in a Machine Name
If You Set This Number of Machines in the Pool This Is the Maximum Prefix Length
1-99 13 characters
100-999 12 characters
1,000 or more 11 characters
Names that contain fixed-length tokens have different length limits. See Length of the Naming Pattern
When You Use a Fixed-Length Token.
Using a Token in a Machine Name
You can place the automatically generated number anywhere else in the name by using a token. When
you type the pool name, type n surrounded by curly brackets to designate the token.
For example: amber-{n}-desktop
When a machine is created, View replaces {n} with a unique number.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 113
You can generate a fixed-length token by typing {n:fixed=number of digits}.
View replaces the token with numbers containing the specified number of digits.
For example, if you type amber-{n:fixed=3}, View replaces {n:fixed=3} with a three-digit number and
creates these machine names: amber-001, amber-002, amber-003, and so on.
Length of the Naming Pattern When You Use a Fixed-Length Token
Names that contain fixed-length tokens have a 15-character limit, including your naming pattern and the
number of digits in the token.
Table 83. Maximum Length of the Naming Pattern When You Use a Fixed-Length Token
Fixed-Length Token Maximum Length of the Naming Pattern
{n:fixed=1} 14 characters
{n:fixed=2} 13 characters
{n:fixed=3} 12 characters
Machine-Naming Example
This example shows how to create two automated desktop pools that use the same machine names, but
different sets of numbers. The strategies that are used in this example achieve a specific user objective
and show the flexibility of the machine-naming methods.
The objective is to create two pools with the same naming convention such as VDIABC-XX, where XX
represents a number. Each pool has a different set of sequential numbers. For example, the first pool
might contain machines VDIABC-01 through VDIABC-10. The second pool contains machines
VDIABC-11 through VDIABC-20.
You can use either machine-naming method to satisfy this objective.
nTo create fixed sets of machines at one time, specify machine names manually.
nTo create machines dynamically when users log in for the first time, provide a naming pattern and use
a token to designate the sequential numbers.
Specifying the Names Manually
1 Prepare a text file for the first pool that contains a list of machine names from VDIABC-01 through
VDIABC-10.
2 In View Administrator, create the pool and specify machine names manually.
3 Click Enter Names and copy your list into the Enter Machine Names list box.
4 Repeat these steps for the second pool, using the names VDIABC-11 through VDIABC-20.
For detailed instructions, see Specify a List of Machine Names.
You can add machines to each pool after it is created. For example, you can add machines VDIABC-21
through VDIABC-30 to the first pool, and VDIABC-31 through VDIABC-40 to the second pool. See Add
Machines to an Automated Pool Provisioned by a List of Names.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 114
Providing a Naming Pattern With a Token
1 In View Administrator, create the first pool and use a naming pattern to provision the machine names.
2 In the naming-pattern text box, type VDIABC-0{n}.
3 Limit the pool's maximum size to 9.
4 Repeat these steps for the second pool, but in the naming-pattern text box, type VDIABC-1{n}.
The first pool contains machines VDIABC-01 through VDIABC-09. The second pool contains machines
VDIABC-11 through VDIABC-19.
Alternatively, you can configure the pools to contain up to 99 machines each by using a fixed-length token
of 2 digits:
nFor the first pool, type VDIABC-0{n:fixed=2}.
nFor the second pool, type VDIABC-1{n:fixed=2}.
Limit each pool's maximum size to 99. This configuration produces machines that contain a 3-digit
sequential naming pattern.
First pool:
VDIABC-001
VDIABC-002
VDIABC-003
Second pool:
VDIABC-101
VDIABC-102
VDIABC-103
For details about naming patterns and tokens, see Using a Naming Pattern for Automated Desktop Pools.
Add Machines to an Automated Pool Provisioned by a List of
Names
To add machines to an automated desktop pool provisioned by manually specifying machine names, you
provide another list of new machine names. This feature lets you expand a desktop pool and continue to
use your company's naming conventions.
In Horizon 7.0, this feature is not supported for instant clones.
Follow these guidelines for manually adding machine names:
nType each machine name on a separate line.
nA machine name can have up to 15 alphanumeric characters.
nYou can add a user name to each machine entry. Use a comma to separate the user name from the
machine name.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 115
In this example, two machines are added. The second machine is associated with a user:
Desktop-001
Desktop-002,abccorp.com/jdoe
Note In a floating-assignment pool, you cannot associate user names with machine names. The
machines are not dedicated to the associated users. In a floating-assignment pool, all machines that are
not currently in use remain accessible to any user who logs in.
Prerequisites
Verify that you created the desktop pool by manually specifying machine names. You cannot add
machines by providing new machine names if you created the pool by providing a naming pattern.
Procedure
1Create a text file that contains the list of additional machine names.
If you intend to add only a few machines, you can type the machine names directly in the Add
Desktop Pool wizard. You do not have to create a separate text file.
2In View Administrator, select Catalog > Desktop Pools.
3Select the desktop pool to be expanded.
4Click Edit.
5Click the Provisioning Settings tab.
6Click Add Machines.
7Copy your list of machine names in the Enter Machine Names page and click Next.
The Enter Machine Names wizard displays the machine list and indicates validation errors with a red
X.
8Correct invalid machine names.
a Place your cursor over an invalid name to display the related error message at the bottom of the
page.
b Click Back.
c Edit the incorrect names and click Next.
9Click Finish.
10 Click OK.
In vCenter Server, you can monitor the creation of the new virtual machines.
In View Administrator, you can view the machines as they are added to the desktop pool by selecting
Catalog > Desktop Pools.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 116
Change the Size of an Automated Pool Provisioned by a Naming
Pattern
When you provision an automated desktop pool by using a naming pattern, you can increase or decrease
the size of the pool by changing the maximum number of machines.
Prerequisites
nVerify that you provisioned the desktop pool by using a naming pattern. If you specify machine names
manually, see Add Machines to an Automated Pool Provisioned by a List of Names.
nVerify that the desktop pool is automated.
Procedure
1In View Administrator, select Catalog > Desktop Pools.
2Select the desktop pool and click Edit.
3On the Provisioning Settings tab, type the new number of machines in the desktop pool in the Max
number of machines text box.
If you increase the desktop pool size, new machines can be added to the pool up to the maximum
number.
If you decrease the size of a floating-assignment pool, unused machines are deleted. If more users are
logged into the pool than the new maximum, the pool size decreases after users log off.
If you decrease the size of a dedicated-assignment pool, unassigned machines are deleted. If more users
are assigned to machines than the new maximum, the pool size decreases after you unassign users.
Note When you decrease the size of a desktop pool, the actual number of machines might be larger
than Max number of machines if more users are currently logged in or assigned to machines than the
value that is specified in Max number of machines.
Manually Customizing Machines
After you create an automated pool, you can customize particular machines without reassigning
ownership. By starting the machines in maintenance mode, you can modify and test the machines before
you release them to users.
Note This feature is not available to an instant-clone desktop pool.
Customizing Machines in Maintenance Mode
Maintenance mode prevents users from accessing their desktops. If you start machines in maintenance
mode, Horizon 7 places each machine in maintenance mode when the machine is created.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 117
In a dedicated-assignment pool, you can use maintenance mode to log in to a machine without having to
reassign ownership to your own administrator account. When you finish the customization, you do not
have to return ownership to the user assigned to the machine.
In a floating-assignment pool, you can test machines in maintenance mode before you let users log in.
To perform the same customization on all machines in an automated pool, customize the virtual machine
you prepare as a template or parent. View deploys your customization to all the machines. When you
create the pool, you can also use a Sysprep customization specification to configure all the machines with
licensing, domain attachment, DHCP settings, and other computer properties.
Note You can start machines in maintenance mode if you manually specify machine names for the pool,
not if you name machines by providing a naming pattern.
Customize Individual Machines
You can customize individual machines after a pool is created by starting the machines in maintenance
mode.
Procedure
1In Horizon Administrator, begin creating an automated desktop pool by starting the Add Desktop
Pool wizard.
2On the Provisioning Settings page, select Specify names manually.
3Select Start machines in maintenance mode.
4Complete the Add Desktop Pool wizard to finish creating the desktop pool.
5In vCenter Server, log in, customize, and test the individual virtual machines.
You can customize the machines manually or by using standard Windows systems-management
software such as Altiris, SMS, LanDesk, or BMC.
6In Horizon Administrator, select the desktop pool.
7Use the filter tool to select specific machines to release to your users.
8Click More Commands > Exit Maintenance Mode.
What to do next
Notify your users that they can log in to their desktops.
Desktop Pool Settings for All Desktop Pool Types
You must specify machine and desktop pool settings when you configure automated pools that contain
full virtual machines, linked-clone desktop pools, manual desktop pools, and instant-clone desktop pools.
Not all settings apply to all types of desktop pools.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 118
Table 84. Desktop Pool Setting Descriptions
Setting Options
State nEnabled. After being created, the desktop pool is enabled and ready for immediate use.
nDisabled. After being created, the desktop pool is disabled and unavailable for use, and provisioning
is stopped for the pool. This is an appropriate setting if you want to conduct post deployment activities
such as testing or other forms of baseline maintenance.
When this state is in effect, remote desktops are unavailable for use.
Connection Server
restrictions
nNone. The desktop pool can be accessed by any Connection Server instance.
nWith tags. Select one or more Connection Server tags to make the desktop pool accessible only to
Connection Server instances that have those tags. You can use the check boxes to select multiple
tags.
If you intend to provide access to your desktops through VMware Identity Manager, and you configure
Connection Server restrictions, the VMware Identity Manager app might display desktops to users when
those desktops are actually restricted. VMware Identity Manager users will be unable to launch these
desktops.
Category Folder Specifies the name of the category folder that contains a Start menu shortcut for the desktop pool
entitlement on Windows client devices. For more information, see Configuring Start Menu Shortcuts for
Desktop and Application Pools.
Remote machine
power policy
Determines how a virtual machine behaves when the user logs off of the associated desktop.
For descriptions of the power-policy options, see Power Policies for Desktop Pools.
For more information about how power policies affect automated pools, see Setting Power Policies for
Desktop Pools.
Not applicable to instant-clone desktop pools. Instant clones are always powered on.
Automatically logoff
after disconnect
nImmediately. Users are logged off as soon as they disconnect.
nNever. Users are never logged off.
nAfter. The time after which users are logged off when they disconnect. Type the duration in minutes.
The log off time applies to future disconnections. If a desktop session was already disconnected when
you set a log off time, the log off duration for that user starts when you set the log off time, not when
the session was originally disconnected. For example, if you set this value to five minutes, and a
session was disconnected 10 minutes earlier, View will log off that session five minutes after you set
the value.
Allow users to
reset/restart their
machines
Allow users to reset or restart their own desktops.
Allow user to initiate
separate sessions
from different client
devices
When this setting is selected, a user connecting to the same desktop pool from different client devices will
get different desktop sessions. The user can only reconnect to an existing session from the client device
where that session was initiated. When this setting is not selected, the user will be reconnected to his or
her existing session no matter which client device is used.
Delete machine after
logoff
Select whether to delete floating-assignment, full virtual machines.
nNo. Virtual machines remain in the desktop pool after users log off.
nYes. Virtual machines are powered off and deleted as soon as users log off.
For instant-clone desktops, the machine is always deleted and recreated after logoff.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 119
Table 84. Desktop Pool Setting Descriptions (Continued)
Setting Options
Delete or refresh
machine on logoff
Select whether to delete, refresh, or leave alone floating-assignment, linked-clone virtual machines.
nNever. Virtual machines remain in the pool and are not refreshed after users log off.
nDelete immediately. Virtual machines are powered off and deleted as soon as users log off. When
users log off, virtual machines immediately go into a Deleting state.
nRefresh immediately. Virtual machines are refreshed as soon as users log off. When users log off,
virtual machines immediately go into maintenance mode to prevent other users from logging in as the
refresh operation begins.
For instant-clone desktops, the machine is always deleted and recreated after logoff.
Refresh OS disk after
logoff
Select whether and when to refresh the OS disks for dedicated-assignment, linked-clone virtual machines.
nNever. The OS disk is never refreshed.
nAlways. The OS disk is refreshed every time the user logs off.
nEvery. The OS disk is refreshed at regular intervals of a specified number of days. Type the number of
days.
The number of days is counted from the last refresh, or from the initial provisioning if no refresh has
occurred yet. For example, if the specified value is 3 days, and three days have passed since the last
refresh, the machine is refreshed after the user logs off.
nAt. The OS disk is refreshed when its current size reaches a specified percentage of its maximum
allowable size. The maximum size of a linked clone's OS disk is the size of the replica's OS disk. Type
the percentage at which refresh operations occur.
With the At option, the size of the linked clone's OS disk in the datastore is compared to its maximum
allowable size. This disk-utilization percentage does not reflect disk usage that you might see inside
the machine's guest operating system.
When you refresh the OS disks in a linked-clone pool with dedicated assignment, the View Composer
persistent disks are not affected.
For instant-clone desktops, the machine is always deleted and recreated after logoff.
Default display
protocol
Select the display protocol that you want Connection Server to use to communicate with clients.
VMware Blast The VMware Blast Extreme protocol is built on the H.264 protocol and
supports the broadest range of client devices, including smart phones,
tablets, ultra-low-cost PCs, and Macs, across any network. This protocol
consumes the least CPU resources and so provides longer battery life on
mobile devices.
PCoIP PCoIP is supported as the display protocol for virtual and physical
machines that have Teradici hardware. PCoIP provides an optimized PC
experience for the delivery of images, audio, and video content for a wide
range of users on the LAN or across the WAN.
Microsoft RDP Microsoft Remote Desktop Connection (RDC) uses RDP to transmit data.
RDP is a multichannel protocol that allows a user to connect to a computer
remotely.
Allow users to choose
protocol
Allow users to override the default display protocol for their desktops by using Horizon Client.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 120
Table 84. Desktop Pool Setting Descriptions (Continued)
Setting Options
3D Renderer You can select whether to enable 3D graphics rendering if your pool comprises Windows 7 or later
desktops. You can configure the 3D Renderer to use software rendering or hardware rendering based on
physical GPU graphics cards installed on ESXi 5.1 or later hosts.
To enable this feature, you must select PCoIP or VMware Blast as the protocol and disable the Allow
users to choose protocol setting (select No).
With the hardware-based 3D Renderer options, users can take advantage of graphics applications for
design, modeling, and multimedia. With the software 3D Renderer option, users can take advantage of
graphics enhancements in less demanding applications such as AERO, Microsoft Office, and Google
Earth. For system requirements, see Configuring 3D Rendering for Desktops.
If your View deployment does not run on vSphere 5.0 or later, this setting is not available and is inactive in
View Administrator.
When you select this feature, if you select the Automatic, Software, or Hardware option, you can
configure the amount of VRAM that is assigned to machines in the pool. The maximum number of
monitors is 2 and the maximum resolution is 1920 x 1200.
If you select Manage using vSphere Client, or NVIDIA GRID vGPU, you must configure the amount of
3D memory and the number of monitors in vCenter Server. You can select at most four monitors for your
machines that are used as remote desktops, depending on the monitor resolution.
Note When you configure or edit this setting, you must power off existing virtual machines, verify that the
machines are reconfigured in vCenter Server, and power on the machines to cause the new setting to take
effect. Restarting a virtual machine does not cause the new setting to take effect.
For more information, see Configuring 3D Rendering for Desktops, 3D Renderer Options. and Best
Practices for Configuring 3D Rendering.
For instant-clone desktop pools, NVIDIA GRID vGPU is the only 3D Renderer option available.
Max number of
monitors
If you select PCoIP or VMware Blast as the display protocol, you can select the Maximum number of
monitors on which users can display the desktop.
You can select up to four monitors.
When the 3D Renderer setting is not selected, the Max number of monitors setting affects the amount of
VRAM that is assigned to machines in the pool. When you increase the number of monitors, more memory
is consumed on the associated ESXi hosts.
When the 3D Renderer setting is not selected, up to three monitors are supported at 3840 x 2160
resolution on a Windows 7 guest operating system with Aero disabled. For other operating systems, or for
Windows 7 with Aero enabled, one monitor is supported at 3840 x 2160 resolution.
When the 3D Renderer setting is selected, one monitor is supported at 3840 x 2160 resolution. Multiple
monitors are best supported at a lower resolution. Select fewer monitors if you select a higher resolution.
Note You must power off and on existing virtual machines for this setting to take effect. Restarting a
virtual machine does not cause the setting to take effect.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 121
Table 84. Desktop Pool Setting Descriptions (Continued)
Setting Options
Max resolution of any
one monitor
If you select PCoIP or VMware Blast as the display protocol, you should specify the Maximum resolution
of any one monitor.
The Maximum resolution of any one monitor is set to 1920 x 1200 pixels by default, but you can
configure this value.
When the 3D Renderer setting is not selected, the Max resolution of any one monitor setting affects the
amount of VRAM that is assigned to machines in the pool. When you increase the resolution, more
memory is consumed on the associated ESXi hosts.
When the 3D Renderer setting is not selected, up to three monitors are supported at 3840 x 2160
resolution on a Windows 7 guest operating system with Aero disabled. For other operating systems, or for
Windows 7 with Aero enabled, one monitor is supported at 3840 x 2160 resolution.
When the 3D Renderer setting is selected, one monitor is supported at 3840 x 2160 resolution. Multiple
monitors are best supported at a lower resolution. Select fewer monitors if you select a higher resolution.
Note You must power off and on existing virtual machines for this setting to take effect. Restarting a
virtual machine does not cause the setting to take effect.
HTML Access Select Enabled to allow users to connect to remote desktops from within their Web browsers.
When a user logs in through the VMware Horizon Web portal page or the VMware Identity Manager app
and selects a remote desktop, the HTML Access agent enables the user to connect to the desktop over
HTTPS. The desktop is displayed in the user's browser. Other display protocols, such as PCoIP or RDP,
are not used. Horizon Client software does not have to be installed on the client devices.
To use HTML Access, you must install HTML Access in your View deployment. For more information, see
Using HTML Access, available from
https://www.vmware.com/support/viewclients/doc/viewclients_pubs.html.
To use HTML Access with VMware Identity Manager, you must pair Connection Server with a SAML
Authentication server, as described in the View Administration document. VMware Identity Manager must
be installed and configured for use with Connection Server.
Allow Session
Collaboration
Select Enabled to allow users of the pool to invite other users to join their remote desktop sessions.
Session owners and session collaborators must use the VMware Blast display protocol.
Adobe Flash quality Determines the quality of Adobe Flash content that is displayed on Web pages.
nDo not control. Quality is determined by Web page settings.
nLow. This setting results in the most bandwidth savings. If no quality level is specified, the system
defaults to Low.
nMedium. This setting results in moderate bandwidth savings.
nHigh. This setting results in the least bandwidth savings.
For more information, see Adobe Flash Quality and Throttling.
Adobe Flash throttling Determines the frame rate of Adobe Flash movies. If you enable this setting, you can reduce or increase
the number of frames displayed per second by selecting an aggressiveness level.
nDisabled. No throttling is performed. The timer interval is not modified.
nConservative. Timer interval is 100 milliseconds. This setting results in the lowest number of dropped
frames.
nModerate. Timer interval is 500 milliseconds.
nAggressive. Timer interval is 2500 milliseconds. This setting results in the highest number of dropped
frames.
For more information, see Adobe Flash Quality and Throttling.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 122
Table 84. Desktop Pool Setting Descriptions (Continued)
Setting Options
Override global
Mirage settings
To specify the same Mirage server for all desktop pools, use the global View configuration setting rather
than this pool-specific setting.
Not available to instant-clone desktop pools.
Mirage Server
configuration
Allows you to specify the URL of a Mirage server, using the format mirage://server-name:port or
mirages://server-name:port. Here server-name is the fully qualified domain name. If you do not
specify the port number, the default port number 8000 is used.
Specifying the Mirage server in View Administrator is an alternative to specifying the Mirage server when
installing the Mirage client. To find out which versions of Mirage support having the server specified in
View Administrator, see the Mirage documentation, at
https://www.vmware.com/support/pubs/mirage_pubs.html.
Not available to instant-clone desktop pools.
Adobe Flash Quality and Throttling
You can specify a maximum allowable level of quality for Adobe Flash content that overrides Web page
settings. If Adobe Flash quality for a Web page is higher than the maximum level allowed, quality is
reduced to the specified maximum. Lower quality results in more bandwidth savings.
To make use of Adobe Flash bandwidth-reduction settings, Adobe Flash must not be running in full
screen mode.
Table 85 shows the available Adobe Flash render-quality settings.
Table 85. Adobe Flash Quality Settings
Quality Setting Description
Do not control Quality is determined by Web page settings.
Low This setting results in the most bandwidth savings.
Medium This setting results in moderate bandwidth savings.
High This setting results in the least bandwidth savings.
If no maximum level of quality is specified, the system defaults to a value of Low.
Adobe Flash uses timer services to update what is shown on the screen at a given time. A typical Adobe
Flash timer interval value is between 4 and 50 milliseconds. By throttling, or prolonging, the interval, you
can reduce the frame rate and thereby reduce bandwidth.
Table 86 shows the available Adobe Flash throttling settings.
Table 86. Adobe Flash Throttling Settings
Throttling Setting Description
Disabled No throttling is performed. The timer interval is not modified.
Conservative Timer interval is 100 milliseconds. This setting results in the lowest number of dropped
frames.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 123
Table 86. Adobe Flash Throttling Settings (Continued)
Throttling Setting Description
Moderate Timer interval is 500 milliseconds.
Aggressive Timer interval is 2500 milliseconds. This setting results in the highest number of dropped
frames.
Audio speed remains constant regardless of which throttling setting you select.
Configure Adobe Flash Quality and Throttling
You can set Adobe Flash quality and throttling modes to reduce the amount of bandwidth that is used by
Adobe Flash content in remote desktops. This reduction can improve the overall browsing experience and
make other applications that run in the remote desktop more responsive.
Prerequisites
Familiarize yourself with Adobe Flash quality and throttling settings. See Adobe Flash Quality and
Throttling.
Procedure
1In Horizon Administrator, select Catalog > Desktop Pools.
2Select a desktop pool and click Edit.
3On the Desktop Pool Settings tab, select a quality mode from the Adobe Flash quality menu and a
throttling mode from the Adobe Flash throttling menu.
4Click OK.
Note Adobe Flash bandwidth-reduction settings do not take effect until Horizon Client reconnects with
the remote desktop.
Setting Power Policies for Desktop Pools
You can configure a power policy for the virtual machines in a desktop pool if the virtual machines are
managed by vCenter Server except instant clones.
Power policies control how a virtual machine behaves when its associated desktop is not in use. A
desktop is considered not in use before a user logs in and after a user disconnects or logs off. Power
policies also control how a virtual machine behaves after administrative tasks such as refresh,
recompose, and rebalance are completed.
You configure power policies when you create or edit desktop pools in Horizon Administrator.
Note You cannot configure power policies for desktop pools that have unmanaged machines or instant
clones. Instant clones are always powered on.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 124
Power Policies for Desktop Pools
Power policies control how a virtual machine behaves when the associated remote desktop is not in use.
You set power policies when you create or edit a desktop pool. Table 87 describes the available power
policies.
Table 87. Power Policies
Power Policy Description
Take no power action Horizon 7 does not enforce any power policy after a user logs
off. This setting has two consequences.
nHorizon 7 does not change the power state of the virtual
machine after a user logs off.
For example, if a user shuts down the virtual machine, the
virtual machine remains powered off. If a user logs off
without shutting down, the virtual machine remains powered
on. When a user reconnects to the desktop, the virtual
machine restarts if it was powered off.
nHorizon 7 does not enforce any power state after an
administrative task is completed.
For example, a user might log off without shutting down. The
virtual machine remains powered on. When a scheduled
recomposition takes place, the virtual machine is powered
off. After the recomposition is completed, Horizon 7 does
nothing to change the power state of the virtual machine. It
remains powered off.
Ensure machines are always powered on The virtual machine remains powered on, even when it is not in
use. If a user shuts down the virtual machine, it immediately
restarts. The virtual machine also restarts after an administrative
task such as refresh, recompose, or rebalance is completed.
Select Ensure machines are always powered on if you run
batch processes or system management tools that must contact
the virtual machines at scheduled times.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 125
Table 87. Power Policies (Continued)
Power Policy Description
Suspend The virtual machine enters a suspended state when a user logs
off, but not when a user disconnects.
You can also configure machines in a dedicated pool to be
suspended when a user disconnects without logging off. To
configure this policy, you must set an attribute in View LDAP.
See Configure Dedicated Machines To Be Suspended After
Users Disconnect.
When multiple virtual machines are resumed from a suspended
state, some virtual machines might have delays in powering on.
Whether any delays occur depends on the ESXi host hardware
and the number of virtual machines that are configured on an
ESXi host. Users connecting to their desktops from
Horizon Client might temporarily see a desktop-not-available
message. To access their desktops, users can connect again.
Power off The virtual machine shuts down when a user logs off, but not
when a user disconnects.
Note When you add a machine to a manual pool, Horizon 7 powers on the machine to ensure that it is
fully configured, even when you select the Power off or Take no power action power policy. After
Horizon Agent is configured, it is marked as Ready, and the normal power-management settings for the
pool apply.
For manual pools with machines that are managed by vCenter Server, Horizon 7 ensures that a spare
machine is powered on so that users can connect to it. The spare machine is powered on no matter
which power policy is in effect.
Table 88 describes when Horizon 7 applies the configured power policy.
Table 88. When Horizon 7 Applies the Power Policy
Desktop Pool Type The power policy is applied ...
Manual pool that contains one machine (vCenter Server-
managed virtual machine)
Power operations are initiated by session management. The
virtual machine is powered on when a user requests the desktop
and powered off or suspended when the user logs off.
Note The Ensure machines are always powered on policy
always applies, whether the single-machine pool uses floating or
dedicated assignment, and whether the machine is assigned or
unassigned.
Automated pool with dedicated assignment To unassigned machines only.
On assigned machines, power operations are initiated by
session management. Virtual machines are powered on when a
user requests an assigned machine and are powered off or
suspended when the user logs off.
Note The Ensure machines are always powered on policy
applies to assigned and unassigned machines.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 126
Table 88. When Horizon 7 Applies the Power Policy (Continued)
Desktop Pool Type The power policy is applied ...
Automated pool with floating assignment When a machine is not in use and after a user logs off.
When you configure the Power off or Suspend power policy for
a floating-assignment desktop pool, set Automatically logoff
after disconnect to Immediately to prevent discarded or
orphaned sessions.
Manual pool with dedicated assignment To unassigned machines only.
On assigned machines, power operations are initiated by
session management. Virtual machines are powered on when a
user requests an assigned machine and are powered off or
suspended when the user logs off.
Note The Ensure machines are always powered on policy
applies to assigned and unassigned machines.
Manual pool with floating assignment When a machine is not in use and after a user logs off.
When you configure the Power off or Suspend power policy for
a floating-assignment desktop pool, set Automatically logoff
after disconnect to Immediately to prevent discarded or
orphaned sessions.
How Horizon 7 applies the configured power policy to automated pools depends on whether a machine is
available. See How Power Policies Affect Automated Desktop Pools for more information.
Configure Dedicated Machines To Be Suspended After Users
Disconnect
The Suspend power policy causes virtual machines to be suspended when a user logs off, but not when
a user disconnects. You can also configure machines in a dedicated pool to be suspended when a user
disconnects from a desktop without logging off. Using suspend when users disconnect helps to conserve
resources.
To enable suspend on disconnect for dedicated machines, you must set an attribute in View LDAP.
Procedure
1Start the ADSI Edit utility on your Connection Server host.
2In the console tree, select Connect to.
3In the Select or type a domain or server field, type the server name as localhost:389
4Under Connection point, click Select or type a distinguished name or naming context, type the
distinguished name as DC=vdi,DC=vmware,DC=int, and click OK.
The ADAM ADSI Edit main window appears.
5Expand the ADAM ADSI tree and expand OU=Properties.
6Select OU=Global and select CN=Common in the right pane
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 127
7Select Action > Properties, and under the pae-NameValuePair attribute, add the new entry
suspendOnDisconnect=1.
8Restart the VMware Horizon View Connection Server service or Connection Server.
How Power Policies Aect Automated Desktop Pools
How Horizon 7 applies the configured power policy to automated pools depends on whether a machine is
available.
A machine in an automated pool is considered available when it meets the following criteria:
nIs active
nDoes not contain a user session
nIs not assigned to a user
The Horizon Agent service running on the machine confirms the availability of the machine to Connection
Server.
When you configure an automated pool, you can specify the minimum and maximum number of virtual
machines that must be provisioned and the number of spare machines that must be kept powered on and
available at any given time.
Power Policy Examples for Automated Pools with Floating
Assignments
When you configure an automated pool with floating assignments, you can specify that a particular
number of machines must be available at a given time. The spare, available machines are always
powered on, no matter how the pool policy is set.
Power Policy Example 1
Table 89 describes the floating-assignment, automated pool in this example. The pool uses a machine-
naming pattern to provision and name the machines.
Table 89. Desktop Pool Settings for Automated Pool with Floating Assignment Example 1
Desktop Pool Setting Value
Number of machines (minimum) 10
Number of machines (maximum) 20
Number of spare, powered-on machines 2
Remote machine power policy Power off
When this desktop pool is provisioned, 10 machines are created, two machines are powered on and
immediately available, and eight machines are powered off.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 128
For each new user that connects to the pool, a machine is powered on to maintain the number of spare,
available machines. When the number of connected users exceeds eight, additional machines, up to the
maximum of 20, are created to maintain the number of spare machines. After the maximum number is
reached, the machines of the first two users who disconnect remain powered on to maintain the number
of spare machines. The machine of each subsequent user is powered off according to the power policy.
Power Policy Example 2
Table 810 describes the floating-assignment, automated pool in this example. The pool uses a machine-
naming pattern to provision and name the machines.
Table 810. Desktop Pool Settings for Automated Pool with Floating Assignments Example 2
Desktop Pool Setting Value
Number of machines (minimum) 5
Number of machines (maximum) 5
Number of spare, powered-on machines 2
Remote machine power policy Power off
When this desktop pool is provisioned, five machines are created, two machines are powered on and
immediately available, and three machines are powered off.
If a fourth machine in this pool is powered off, one of the existing machines is powered on. An additional
machine is not powered on because the maximum of number of machines has already been reached.
Power Policy Example for Automated Pools with Dedicated
Assignments
Unlike a powered-on machine in an automated pool with floating assignments, a powered-on machine in
an automated pool with dedicated assignments is not necessarily available. It is available only if the
machine is not assigned to a user.
Table 811 describes the dedicated-assignment, automated pool in this example.
Table 811. Desktop Pool Settings for Automated Pool with Dedicated Assignments Example
Desktop Pool Setting Value
Number of machines (minimum) 3
Number of machines (maximum) 5
Number of spare, powered-on machines 2
Remote machine power policy Ensure machines are always powered on
When this desktop pool is provisioned, three machines are created and powered on. If the machines are
powered off in vCenter Server, they are immediately powered on again, according to the power policy.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 129
After a user connects to a machine in the pool, the machine becomes permanently assigned to that user.
After the user disconnects from the machine, the machine is no longer available to any other user.
However, the Ensure machines are always powered on policy still applies. If the assigned machine is
powered off in vCenter Server, it is immediately powered on again.
When another user connects, a second machine is assigned. Because the number of spare machines
falls below the limit when the second user connects, another machine is created and powered on. An
additional machine is created and powered on each time a new user is assigned until the maximum
machine limit is reached.
Preventing Horizon 7 Power Policy Conflicts
When you use Horizon Administrator to configure a power policy, you must compare the power policy to
the settings in the guest operating system's Power Options control panel to prevent power policy conflicts.
A virtual machine can become temporarily inaccessible if the power policy configured for the machine is
not compatible with a power option configured for the guest operating system. If there are other machines
in the same pool, they can also be affected.
The following configuration is an example of a power policy conflict:
nIn Horizon Administrator, the power policy Suspend is configured for the virtual machine. This policy
causes the virtual machine to enter a suspended state when it is not in use.
nIn the Power Options control panel in the guest operating system, the option Put the Computer to
sleep is set to three minutes.
In this configuration, both Connection Server and the guest operating system can suspend the virtual
machine. The guest operating system power option might cause the virtual machine to be unavailable
when Connection Server expects it to be powered on.
Configuring 3D Rendering for Desktops
When you create or edit a desktop pool of virtual machines, you can configure 3D graphics rendering for
your desktops. Desktops can take advantage of Virtual Shared Graphics Acceleration (vSGA), Virtual
Dedicated Graphics Acceleration (vDGA), or shared GPU hardware acceleration (NVIDIA GRID vGPU).
vDGA and NVIDIA GRID vGPU are vSphere features that use physical graphics cards installed on the
ESXi hosts and manage the graphics processing unit (GPU) resources among the virtual machines.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 130
End users can take advantage of 3D applications for design, modeling, and multimedia, which typically
require GPU hardware to perform well. For users that do not require physical GPU, a software option
provides graphics enhancements that can support less demanding applications such as Windows AERO,
Microsoft Office, and Google Earth. Following are brief descriptions of the 3D graphics options:
NVIDIA GRID vGPU
(shared GPU hardware
acceleration)
Available with vSphere 6.0 and later, this feature allows a physical GPU on
an ESXi host to be shared among virtual machines. This feature offers
flexible hardware-accelerated 3D profiles ranging from lightweight 3D task
workers to high-end workstation graphics power users.
AMD Multiuser GPU
using vDGA
Available with vSphere 6.0 and later, this feature allows multiple virtual
machines to share an AMD GPU by making the GPU appear as multiple
PCI passthrough devices. This feature offers flexible hardware-accelerated
3D profiles, ranging from lightweight 3D task workers to high-end
workstation graphics power users.
Virtual Dedicated
Graphics Acceleration
(vDGA)
Available with vSphere 5.5 and later, this feature dedicates a single
physical GPU on an ESXi host to a single virtual machine. Use this feature
if you require high-end, hardware-accelerated workstation graphics.
Note Some Intel vDGA cards require a certain vSphere 6 version. See the
VMware Hardware Compatibility List at
http://www.vmware.com/resources/compatibility/search.php. Also, for Intel
vDGA, the Intel integrated GPU is used rather than discrete GPUs, as is
the case with other vendors.
Virtual Shared Graphics
Acceleration (vSGA)
Available with vSphere 5.1 and later, this feature allows multiple virtual
machines to share the physical GPUs on ESXi hosts. This feature is
suitable for mid-range 3D design, modeling, and multimedia applications.
Soft 3D Software-accelerated graphics, available with vSphere 5.0 and later, allows
you to run DirectX 9 and OpenGL 2.1 applications without requiring a
physical GPU. Use this feature for less demanding 3D applications such as
Windows Aero themes, Microsoft Office 2010, and Google Earth.
Because NVIDIA GRID vGPU, AMD Multiuser GPU using vDGA, and all vDGA solutions use PCI pass-
through on the ESXi host, live VMotion is not supported. vSGA and Soft 3D support live VMotion.
In some cases, if an application such as a video game or 3D benchmark forces the desktop to display in
full screen resolution, the desktop session can be disconnected. Possible workarounds include setting the
application to run in Windowed mode or matching the Horizon 7 session desktop resolution to the default
resolution expected by the application.
Requirements for All Types of 3D Rendering
To enable 3D graphics rendering, your pool deployment must meet the following requirements:
nThe virtual machines must be Windows 7 or later.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 131
nThe pool can use PCoIP, VMware Blast Extreme, or RDP as the default display protocol.
n3D rendering settings are disabled when the default display protocol is set to RDP and users are not
allowed to choose a protocol.
Important When you configure or edit the 3D Renderer setting, you must power off existing virtual
machines, verify that the machines are reconfigured in vCenter Server, and power on the machines to
cause the new setting to take effect. Restarting a virtual machine does not cause the new setting to take
effect.
Additional Requirements for NVIDIA GRID vGPU
With NVIDIA GRID vGPU, a single physical GPU on an ESXi host can be shared among virtual
machines. To support this type of shared GPU hardware acceleration, a pool must meet these additional
requirements:
nThe virtual machines must run on ESXi 6.0 or later hosts, be virtual hardware version 11 or later, and
be managed by vCenter Server 6.0 or later software.
You must configure the parent virtual machine or the virtual machine template to use a shared PCI
device before you create the desktop pool in Horizon 7. For detailed instructions, see the NVIDIA
GRID vGPU Deployment Guide for VMware Horizon 6.1.
nYou must install graphics drivers from the GPU vendor in the guest operating system of the virtual
machine.
Note For a list of supported GPU hardware, see the VMware Hardware Compatibility List at
http://www.vmware.com/resources/compatibility/search.php.
nYou must set the 3D Renderer option in Horizon Administrator to NVIDIA GRID vGPU.
Additional Requirements for AMD Multiuser GPU using vDGA
With AMD Multiuser GPU using vDGA, multiple virtual machines to share an AMD GPU by making the
GPU appear as multiple PCI passthrough devices. To support this type of shared GPU hardware
acceleration, a pool must meet these additional requirements:
nThe virtual machines must run on ESXi 6.0 or later hosts, be virtual hardware version 11 or later, and
be managed by vCenter Server 6.0 or later software.
nYou must enable GPU pass-through on the ESXi hosts, configure AMD SR-IOV (Single Root I/O
Virtualization), and configure the individual virtual machines to use dedicated PCI devices. See
Preparing to Use the Capabilities of AMD Multiuser GPU Using vDGA.
Note Only manual desktop pools are supported for this release.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 132
nYou must install graphics drivers from the GPU vendor in the guest operating system of the virtual
machine.
Note For a list of supported GPU hardware, see the VMware Hardware Compatibility List at
http://www.vmware.com/resources/compatibility/search.php.
nYou must set the 3D Renderer option in Horizon Administrator to Manage using vSphere Client.
Additional Requirements for Using vDGA
vDGA dedicates a single physical GPU on an ESXi host to a single virtual machine. To support vDGA, a
pool must meet these additional requirements:
nThe virtual machines must run on ESXi 5.5 or later hosts, be virtual hardware version 9 or later, and
be managed by vCenter Server 5.5 or later software.
You must enable GPU pass-through on the ESXi hosts and configure the individual virtual machines
to use dedicated PCI devices after the desktop pool is created in Horizon 7. You cannot configure the
parent virtual machine or template for vDGA and then create a desktop pool, because the same
physical GPU would be dedicated to every virtual machine in the pool. See "vDGA Installation" in the
VMware white paper about graphics acceleration.
For linked-clone virtual machines, vDGA settings are preserved after refresh, recompose, and
rebalance operations.
nYou must install graphics drivers from the GPU vendor in the guest operating system of the virtual
machine.
Note For a list of supported GPU hardware, see the VMware Hardware Compatibility List at
http://www.vmware.com/resources/compatibility/search.php.
nYou must set the 3D Renderer option to Manage using vSphere Client.
Additional Requirements for Using vSGA
vSGA allows multiple virtual machines to share the physical GPUs on ESXi hosts. To support vSGA, a
pool must meet these additional requirements:
nThe virtual machines must run on ESXi 5.1 or later hosts and be managed by vCenter Server 5.1 or
later software.
nGPU graphics cards and the associated vSphere Installation Bundles (VIBs) must be installed on the
ESXi hosts. For a list of supported GPU hardware, see the VMware Hardware Compatibility List at
http://www.vmware.com/resources/compatibility/search.php.
nWindows 7 machines must be virtual hardware version 8 or later. Windows 8 machines must be
virtual hardware version 9 or later. Windows 10 machines must be virtual hardware version 10 or
later.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 133
nYou can set the 3D Renderer option to any of the following settings: Manage using vSphere Client,
Automatic, or Hardware. See also Video RAM Configuration Options for the 3D Renderer.
Automatic uses hardware acceleration if there is a capable and available hardware GPU in the ESXi
host. If a hardware GPU is not available, the virtual machine uses software 3D rendering for any 3D
tasks.
Additional Requirements for Using Soft 3D
To support software 3D rendering, a pool must meet these additional requirements:
nThe virtual machines must run on ESXi 5.0 or later hosts and be managed by vCenter Server 5.0 or
later software.
nThe machines must be virtual hardware version 8 or later.
nYou must set the 3D Renderer option to Software. See also Video RAM Configuration Options for
the 3D Renderer.
Video RAM Configuration Options for the 3D Renderer
When you enable the 3D Renderer setting, if you select the Automatic, Software, or Hardware option,
you can configure the amount of VRAM that is assigned to the virtual machines in the pool by moving the
slider in the Configure VRAM for 3D guests dialog box. The minimum VRAM size is 64MB. The default
VRAM amount depends on the virtual hardware version:
nFor virtual hardware version 8 (vSphere 5.0) virtual machines, the default VRAM size is 64MB, and
you can configure a maximum size of 128MB.
nFor virtual hardware version 9 (vSphere 5.1) and 10 (vSphere 5.5 Update 1) virtual machines, the
default VRAM size is 96MB, and you can configure a maximum size of 512MB.
nFor virtual hardware version 11 (vSphere 6.0) virtual machines, the default VRAM size is 96MB, and
you can configure a maximum size of 128MB. In vSphere 6.0 and later virtual machines, this setting
refers only to the amount of display memory in the graphics card and therefore has a lower maximum
setting than earlier virtual hardware versions, which included both display memory and guest memory
for storing 3D objects.
The VRAM settings that you configure in Horizon Administrator take precedence over the VRAM settings
that can be configured for the virtual machines in vSphere Client or vSphere Web Client, unless you
select the Manage using vSphere Client option.
For more information about the Automatic, Software, or Hardware 3D rendering options, see 3D
Renderer Options.
3D Renderer Options
The 3D Renderer setting for desktop pools provides options that let you configure graphics rendering in
different ways.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 134
The following table describes the differences between the various types of 3D rendering options available
in Horizon Administrator but does not provide complete information for configuring virtual machines and
ESXi hosts for Virtual Shared Graphics Acceleration (vSGA), Virtual Dedicated Graphics Acceleration
(vDGA), AMD Multiuser GPU Using vDGA, and NVIDIA GRID vGPU. These tasks must be done with
vSphere Web Client before you attempt to create desktop pools in Horizon Administrator. For instructions
about these tasks for vSGA and vDGA, see the VMware white paper about graphics acceleration. For
instructions about NVIDIA GRID vGPU, see the NVIDIA GRID vGPU Deployment Guide for VMware
Horizon 6.1. For instructions about AMD Multiuser GPU Using vDGA, see the Preparing to Use the
Capabilities of AMD Multiuser GPU Using vDGA.
Table 812. 3D Renderer Options for Pools Running on vSphere 5.1 or Later
Option Description
Manage using
vSphere Client
The 3D Renderer option that is set in vSphere Web Client (or vSphere Client in vSphere 5.1 or later) for a
virtual machine determines the type of 3D graphics rendering that takes place. Horizon 7 does not control
3D rendering.
In the vSphere Web Client, you can configure the Automatic, Software, or Hardware options. These
options have the same effect as they do when you set them in Horizon Administrator.
Use this setting when configuring vDGA and AMD Multiuser GPU Using vDGA. This setting is also an
option for vSGA.
When you select the Manage using vSphere Client option, the Configure VRAM for 3D Guests, Max
number of monitors, and Max resolution of any one monitor settings are inactive in Horizon
Administrator. You can configure the amount of memory in vSphere Web Client.
Automatic 3D rendering is enabled. The ESXi host controls the type of 3D rendering that takes place.
For example, the ESXi host reserves GPU hardware resources on a first-come, first-served basis as virtual
machines are powered on. If all GPU hardware resources are already reserved when a virtual machine is
powered on, ESXi uses the software renderer for that machine.
This setting is an option when configuring vSGA.
The ESXi host allocates VRAM to a virtual machine based on the value that is set in the Configure VRAM
for 3D Guests dialog box.
Software 3D rendering is enabled. The ESXi host uses software 3D graphics rendering. If a GPU graphics card is
installed on the ESXi host, this pool will not use it.
Use this setting to configure Soft 3D.
The ESXi host allocates VRAM to a virtual machine based on the value that is set in the Configure VRAM
for 3D Guests dialog box.
Hardware 3D rendering is enabled. The ESXi host reserves GPU hardware resources on a first-come, first-served
basis as virtual machines are powered on.
This setting is an option when configuring vSGA.
The ESXi host allocates VRAM to a virtual machine based on the value that is set in the Configure VRAM
for 3D Guests dialog box.
Important If you configure the Hardware option, consider these potential constraints:
nIf a user tries to connect to a machine when all GPU hardware resources are reserved, the virtual
machine will not power on, and the user will receive an error message.
nIf you use vMotion to move the machine to an ESXi host that does not have GPU hardware
configured, the virtual machine will not power on.
When you configure hardware-based 3D rendering, you can examine the GPU resources that are
allocated to each virtual machine on an ESXi host. For details, see Examining GPU Resources on an ESXi
Host.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 135
Table 812. 3D Renderer Options for Pools Running on vSphere 5.1 or Later (Continued)
Option Description
NVIDIA GRID vGPU 3D rendering is enabled for NVIDIA GRID vGPU . The ESXi host reserves GPU hardware resources on a
first-come, first-served basis as virtual machines are powered on. If a user tries to connect to a machine
when all GPU hardware resources are being used by other virtual machines on the host, Connection
Server will attempt to move the virtual machine to another ESXi host in the cluster before powering on.
Use this setting when configuring NVIDIA GRID vGPU.
When you select the NVIDIA GRID vGPU option, the Configure VRAM for 3D Guests, Max number of
monitors, and Max resolution of any one monitor settings are inactive in Horizon Administrator. When
you configure the parent virtual machine or virtual machine template with vSphere Web Client, you are
prompted to reserve all memory.
Important If you configure the NVIDIA GRID vGPU option, consider these potential constraints:
nThe virtual machine cannot be suspended or resumed. Therefore the Remote Machine Power Policy
option for suspending the virtual machine is not available.
nIf you use vMotion to move the machine to an ESXi host that does not have GPU hardware
configured, the virtual machine will not power on. Live vMotion is not available.
nAll ESXi hosts in the cluster must be version 6.0 or later, and the virtual machines must be hardware
version 11 or later.
nIf an ESXi cluster contains a host that is NVIDIA GRID vGPU enabled and a host that is not NVIDIA
GRID vGPU enabled, the hosts display a yellow (warning) status in the Horizon Administrator
Dashboard. If a user tries to connect to a machine when all GPU hardware resources are being used
by other virtual machines on the host, Connection Server will attempt to move the virtual machine to
another ESXi host in the cluster before powering on. In this case, hosts that are not NVIDIA GRID
vGPU enabled cannot be used for this type of dynamic migration.
Disabled 3D rendering is inactive.
Table 813. 3D Renderer Options for Pools Running on vSphere 5.0
Option Description
Enabled The 3D Renderer option is enabled. The ESXi host uses software 3D graphics rendering.
When software rendering is configured, the default VRAM size is 64MB, the minimum size. In the
Configure VRAM for 3D Guests dialog box, you can use the slider to increase the amount of VRAM that
is reserved. With software rendering, the ESXi host allocates up to a maximum of 128MB per virtual
machine. If you set a higher VRAM size, it is ignored.
Disabled 3D rendering is inactive.
If a desktop pool is running on earlier vSphere version than 5.0, the 3D Renderer setting is inactive and
is not available in Horizon Administrator.
Best Practices for Configuring 3D Rendering
The 3D rendering options and other pool settings offer various advantages and drawbacks. Select the
option that best supports your vSphere hardware infrastructure and your users' requirements for graphics
rendering.
Note This topic provides an overview of the controls you find in Horizon Administrator. For detailed
information about all the various choices and requirements for 3D rendering, see the VMware white paper
about graphics acceleration.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 136
When to Choose the Automatic Option
The Automatic option is the best choice for many Horizon 7 deployments that require 3D rendering.
vSGA (Virtual Shared Graphics Acceleration)-enabled virtual machines can dynamically switch between
software and hardware 3D rendering, without your having to reconfigure. This option ensures that some
type of 3D rendering takes place even when GPU resources are completely reserved. In a mixed cluster
of ESXi 5.1 and ESXi 5.0 hosts, this option ensures that a virtual machine is powered on successfully and
uses 3D rendering even if, for example, vMotion moved the virtual machine to an ESXi 5.0 host.
The only drawback with the Automatic option is that you cannot easily tell whether a virtual machine is
using hardware or software 3D rendering.
When to Choose the Hardware Option
The Hardware option guarantees that every virtual machine in the pool uses hardware 3D rendering,
provided that GPU resources are available on the ESXi hosts. This option might be the best choice when
all your users run graphically intensive applications. You can use this option when configuring vSGA
(Virtual Shared Graphics Acceleration).
With the Hardware option, you must strictly control your vSphere environment. All ESXi hosts must be
version 5.1 or later and must have GPU graphics cards installed.
When all GPU resources on an ESXi host are reserved, Horizon 7 cannot power on a virtual machine for
the next user who tries to log in to a desktop. You must manage the allocation of GPU resources and the
use of vMotion to ensure that resources are available for your desktops.
When to Choose the Option to Manage Using vSphere Client
When you select the Manage using vSphere Client option, you can use vSphere Web Client to
configure individual virtual machines with different options and VRAM values.
nFor vSGA (Virtual Shared Graphics Acceleration), you can support a mixed configuration of 3D
rendering and VRAM sizes for virtual machines in a pool.
nFor vDGA (Virtual Dedicated Graphics Acceleration), each virtual machine must be individually
configured to share a specific PCI device with the ESXi host and all memory must be reserved. For
more information, see Preparing for vDGA Capabilities.
All ESXi hosts must be version 5.5 or later and must have GPU graphics cards installed.
Note Some Intel vDGA cards require a certain vSphere 6 version. See the VMware Hardware
Compatibility List at http://www.vmware.com/resources/compatibility/search.php. Also, for Intel vDGA,
the Intel integrated GPU is used rather than discrete GPUs, as is the case with other vendors.
Setting Up Virtual Desktops in Horizon 7
VMware, Inc. 137
nFor AMD Multiuser GPU using vDGA, each virtual machine must be individually configured to share a
specific PCI device with the ESXi host and all memory must be reserved. This feature allows a PCI
device to appear to be multiple separate physical PCI devices so that the GPU can be shared
between 2 to 15 users. For more information, see Preparing to Use the Capabilities of AMD Multiuser
GPU Using vDGA.
All ESXi hosts must be version 6.0 or later and must have GPU graphics cards installed.
You might also choose this option if you want to explicitly manage graphics settings of clones and linked
clones by having the clones inherit settings from the parent virtual machine.
When to Choose the NVIDIA GRID vGPU Option
With the NVIDIA GRID vGPU option, you can achieve a higher consolidation ratio of virtual machines on
an NVIDIA GRID vGPU-enabled ESXi host than is possible by using vDGA, while maintaining the same
performance level. As with vDGA (Dedicated Virtual Graphics), the ESXi and virtual machine also use
GPU pass-through for NVIDIA GRID vGPU.
Note To improve virtual machine consolidation ratios, you can set the ESXi host to use consolidation
mode. Edit the /etc/vmware/config file on the ESXi host and add the following entry:
vGPU.consolidation = "true"
By default, the ESXi host assigns virtual machines to the physical GPU with the fewest virtual machines
already assigned. This is called performance mode. If you would rather have the ESXi host assign virtual
machines to the same physical GPU until the maximum number of virtual machines is reached before
placing virtual machines on the next physical GPU, you can use consolidation mode.
Because a GPU does not need to be dedicated to one specific virtual machine, with the NVIDIA GRID
vGPU option, you can create and configure a parent virtual machine or virtual machine template to be
NVIDIA GRID vGPU-enabled and then create a desktop pool of virtual machines that can share the same
physical GPU.
If all GPU resources on an ESXi host are being used by other virtual machines, when the next user tries
to log in to a desktop, Horizon 7 can move the virtual machine to another NVIDIA GRID vGPU-enabled
ESXi server in the cluster and then power on the virtual machine. All ESXi hosts must be version 6.0 or
later and must have GPU graphics cards installed.