Creating Virtualized Desktops with the VMware VDI Solution

Published:26 April 2023 - 11 min. read

Verah Ombui Image

Verah Ombui

Read more tutorials by Verah Ombui!

Are you looking for a way to centralize your organization’s IT operations, providing your employees with flexible access to hardware resources with minimal costs? A Virtualized Desktop Infrastructure (VDI) will surely come in handy, and the VMware VDI solution is one to keep.

The VMware VDI solution lets you host multiple desktop environments on a single physical machine or server. And in this tutorial, you will learn to create and access virtualized desktops using the VMware VDI solution — VMware Horizon.

Read on and enjoy hassle-free centralized management of your computing infrastructure!

Prerequisites

This tutorial comprises hands-on demonstrations. To follow along, be sure you have the following:

  • A host computer running Windows Operating System (OS) but can also work with other OSs – This tutorial uses Windows 10 Pro v21H2 enabled with Hyper-V capabilities.

Related: How to Add a Computer to a Domain (GUI and PowerShell).

  • A Windows Server 2016 ISO image – This tutorial uses Windows Server 2016 Datacenter v10.0 Build 14393, but other server versions will work.
  • Virtual machines (VMs) joined in a domain – This tutorial uses Windows Server 2016 Server Edition.

Related: The Essential Guide to Hyper-V Windows 10 VMs.

  • A domain-joined thin client machine running Windows 10 Pro v21H2 operating system.

Installing VMware Horizon (a VMware VDI Solution)

Managing multiple desktops can get your head spinning. But not unless you have a VMware VDI solution to host virtualized desktops, the VMware Horizon View Connection Server.

This connection server broker the connections from the end users from the Horizon View Client to the backend VMs in the connection pools. You will install VMware Horizon View Connection Server on your domain-joined VM.

To install the VMware Horizon View Connection Server:

1. Open your preferred web browser, and visit the official VMware download page for the Horizon View Connection Server installer.

2. Next, scroll down to the Desktop & End-User Computing section, look for VMware Horizon, and click Download Product.

Your browser redirects to a page where you can see all versions of VMware Horizon (step three).

Accessing all VMware Horizon versions
Accessing all VMware Horizon versions

3. Look for VMware Horizon standard version, as shown below, and click GO TO DOWNLOADS.

 Accessing all software included in VMware Horizon
Accessing all software included in VMware Horizon

4. Now, look for Horizon Connection Server (64-bit), and click DOWNLOAD NOW to download the installer package.

Downloading the VMware Horizon Connection Server package
Downloading the VMware Horizon Connection Server package

5. Once downloaded, launch the installer to start the VMware Horizon Connection Server installation.

Running the VMware Horizon Connection Server installer
Running the VMware Horizon Connection Server installer

6. Now, choose the first option, and click Next to accept the license agreement.

Accepting the End User License Agreement
Accepting the End User License Agreement

7. Configure the installation options with the following:

  • Select the Horizon Standard Server installation option, and tick the Install HTML Access box. This option allows end users to connect to their desktops via a web browser.

  • Select either IPv4 or IPv6 as the Internet Protocol (IP) version. Remember to install all VMware Horizon components with the same IP version.
Once configured, click Next to continue.

Choosing installation options
Choosing installation options

8. For Data Recovery, input a data recovery password and a password reminder (optional), and click Next.

Ensure you keep the recovery password safe as it protects data backups of your Horizon Connection Server.

Setting a data recovery password
Setting a data recovery password

9. Next, choose to Configure the Windows Firewall automatically. This option allows you to configure the needed firewall exceptions automatically.

Configuring the firewall settings
Configuring the firewall settings

10. Choose the Initial Horizon Administrators configuration that allows you to scope the Horizon View administration, and click Next.

This option lets you scope to your target AD group to have the ability to administer the Horizon View environment.

Adding the Horizon Administrators credentials
Adding the Horizon Administrators credentials

11. Choose whether or not to join the VMware Customer Experience Improvement Program (CEIP) and click Next.

The VMware Horizon Connection server installation starts with your selected settings.

 Joining the customer experience improvement program
Joining the customer experience improvement program

12. Finally, click Finish to complete the installation and close the VMware Horizon View Connection Server installation wizard.

Finishing the VMware Horizon Connection Server installation
Finishing the VMware Horizon Connection Server installation

Installing the Remote Desktop Services (RDS)

With the Horizon Connection Server installed, the next step is to ensure your VMs have remote desktop connection capabilities. You will install and configure RDS hosts on the VMs you wish to use as desktops.

To install RDS in Windows Server 2016:

1. Open your Server Manager, click the Manage menu, and select Add Roles and Features.

 Accessing the Add Roles and Features Wizard
Accessing the Add Roles and Features Wizard

2. Click Next on the Before you begin screen to continue.

Acknowledging the initial page
Acknowledging the initial page

3. Under Installation Type, select the Remote Desktop Services installation option, and click Next.

Choosing the installation type
Choosing the installation type

4. Now, select the Standard deployment option, and click Next. With this option, you can deploy RDS across multiple servers.

Choosing the deployment type
Choosing the deployment type

5. Select the Session-based desktop deployment option as the deployment scenario, which uses RD Session Hosts, and click Next.

A VM-based desktop deployment, on the other hand, lets you deploy personal and pooled virtual desktops on Hyper-V-enabled computers.

Selecting the deployment scenario
Selecting the deployment scenario

6. Review the role services to be installed and click Next to continue.

 Reviewing selected services to install
Reviewing selected services to install

7. Now, click Deploy to start installing your chosen services.

 Installing selected services
Installing selected services

8. Lastly, wait for the installation to complete, and click Close to exit the wizard.

Viewing installation progress
Viewing installation progress

Adding RDS Hosts in the VMware Horizon Connection Server

After installing RDS, you need a way to provide desktop and application virtualization services to remote users. How?

You will add RDS hosts (servers that run the Remote Desktop Session Host (RDSH) role) in the Horizon Connection Server, which allows you to perform the following:

  • Deliver virtual desktops and applications to end-users.
  • Manage and monitor the virtual desktop infrastructure.
  • Provide a secure and scalable environment for remote access.

To add RDS hosts in VMware Horizon, follow the steps below:

1. Log in to the Windows Server installed with RDS services using an admin account.

2. Next, open a web browser, re-visit the VMware download site, look for VMware Horizon (with View), and click Download Product.

Downloading the Horizon Agent installer
Downloading the Horizon Agent installer

3. Look for VMware Horizon View standard version, and click GO TO DOWNLOADS to see all software included in the package.

Accessing all software included in the VMware Horizon View package
Accessing all software included in the VMware Horizon View package

4. Now, look for Horizon View Agent (64-bit), and click DOWNLOAD NOW to download the installer.

Downloading the Horizon View Agent installer
Downloading the Horizon View Agent installer

5. Once downloaded, launch the VMware Horizon Agent installer to begin the installation process.

Running the Horizon View Agent setup
Running the Horizon View Agent setup

6. Now, click Next on the welcome screen to continue.

Acknowledging the VMware Horizon Installation welcome screen
Acknowledging the VMware Horizon Installation welcome screen

7. Accept the General Terms, and click Next.

Accepting the VMware general terms
Accepting the VMware general terms

8. Select the network protocol configuration, IPv4 or IPv6, for establishing connections, and click Next.

Choosing the network configuration protocol
Choosing the network configuration protocol

9. Select the custom features you wish to install, and click Next.

Selecting custom features to be installed
Selecting custom features to be installed

10. Now, provide the Horizon Connection Server’s IP address or hostname and authentication credentials, and click Next.

This configuration registers your machine with the Horizon Connection Server.

Specifying the Horizon Connection Server IP settings
Specifying the Horizon Connection Server IP settings

11. Review the installation summary and click Install to begin the installation process.

Review the settings before software installation
Review the settings before software installation

12. Finally, wait for the installation process to complete, and click Finish to close the wizard.

After installation, you may need to restart your computer for the changes to take effect.

Finishing the installation process
Finishing the installation process

Verifying the RDS Host Installation

With the VMware Horizon Agent installed and running, you must configure it to connect to your VMware Horizon infrastructure. But first, you must verify your RDS host installation via the VMware Horizon Administrator console.

To verify the RDS Host installation:

1. Launch and log in to the VMware Horizon Administrator console as an administrator.

2. Next, navigate to Settings (left navigation pane) Registered Machines to see the list of all registered machines.

Accessing the list of registered machines
Accessing the list of registered machines

3. Now, select the RDS Hosts tab, and click the refresh button to refresh the list of registered machines.

Viewing the registered RDS host
Viewing the registered RDS host

Creating Desktop Farms to Group Virtual Desktops

Regardless of how many registered machines you have in the Horizon Connection Server, putting them in one place results in better management. Instead of applying common policies and settings to each of your virtual desktops, why not use a desktop farm instead?

A desktop farm refers to a group of virtual desktops managed and provisioned as a single entity, simplifying virtual desktop management.

To create a desktop farm via the VMware Horizon administrator console:

1. Navigate to Inventory (left pane) →, Farms, and click Add to initiate adding a new farm.

Initiating adding a new farm
Initiating adding a new farm

2. Next, select the Manual Farm option, and click Next.

A manual farm is a pool of virtual machines created manually outside the automated process used for instant clones. Manual farms are typically used for specific use cases that require customized configurations or applications.

Manual farms offer more flexibility and customization options than automated pools using instant clones.

 Choosing the manual farm type
Choosing the manual farm type

3. Configure the farm’s identification and settings as follows:

  • Provide a descriptive farm ID, Description, and select an Access Group (a collection of desktop pools, farms, and RDS hosts with similar access requirements). In this case, choose the root ( / ) privileges.

    Access groups simplify assigning and managing entitlements to users and groups, making controlling access to desktops based on a user’s roles and business needs easier.
Specifying the farm settings
Specifying the farm settings
  • Scroll down, configure the farm settings, such as the Default Display Protocol and session timeout settings, and click Next.

    The session timeout settings determine how long an inactive session will remain open before it is terminated, which prevents unauthorized access to sensitive resources.

    Configuring the session timeout settings is an important security measure that ensures sessions are not left open indefinitely.
Configuring the farm settings
Configuring the farm settings

4. Now, specify the load balancing method for the RDS farm, and click Next.

Load balancing helps with better distribution of incoming network traffic.

Hover your mouse on the information icons adjacent to each field to get more details about their functions.

Specifying load balancing settings
Specifying load balancing settings

5. Select the RDS host pool you set in step three of the “Verifying the RDS Host Installation” section, and click Next to proceed.

Choosing the RDS host settings to be used
Choosing the RDS host settings to be used

6. Now, review your selected settings and click Submit to confirm adding the RDS farm.

Saving the new farm
Saving the new farm

Creating Desktop Pools

Once you have added the RDS farm to VMware Horizon, it is time to ensure you can deliver virtual desktops to end-users by creating RDS desktop pools. A desktop pool is a collection of virtual desktops that are created from a single base image, which can be configured to meet different business needs.

To create a desktop pool, follow these steps:

1. In the VMware Horizon Administrator console, expand Inventory, navigate to Desktops, and click Add to create a new desktop pool.

Adding a new desktop pool
Adding a new desktop pool

2. Next, in the Add Pool wizard, choose RDS Desktop Pool as the desktop pool type, and click Next.

Specifying the desktop pool type
Specifying the desktop pool type

3. Input a desktop pool ID, descriptive Display Name, and Description (optional), and click Next.

Providing the new desktop pool details
Providing the new desktop pool details

4. Now, configure the Desktop Pool Settings settings with the following:

  • Status – Specifies whether the desktop pool is enabled or disabled. When a desktop pool is disabled, users cannot access resources associated with the pool until it is re-enabled.

  • Connection server restrictions – Determines which connection servers users can access and how they can access them.

  • Category folder – This folder groups and organizes resources, such as VMs used by the desktop pool. By assigning a category folder to a resource, you can easily view and manage the resource and other resources in the same category folder.

  • Client Restrictions – Determines if client devices can access the newly created RDS desktop pool.

  • Session management – Allows administrators to configure separate desktop sessions from different client devices to allow users to work on multiple desktops simultaneously.

Configuring the new desktop pool’s settings
Configuring the new desktop pool’s settings

5. Choose the RDS farm you named in step three of the “Creating Desktop Farms to Group Virtual Desktops” section to use for the desktop pool, and click Next.

Choosing an RDS farm to use for the desktop pool
Choosing an RDS farm to use for the desktop pool

6. Lastly, review and click Submit to confirm the settings and create the desktop pool.

Once the desktop pool is created, users can access it through the Horizon Client or a web browser. How? By connecting to the Horizon Connection Server and selecting the RDS desktop pool.

Finalizing creating the desktop pool
Finalizing creating the desktop pool

Configuring User Access to Desktop Pools

With a desktop pool configured, you are almost ready to get access to your virtualized desktops. You must still configure user access to your desktop pool via the VMware Horizon Administrator console. User access in VMware Horizon refers to granting or revoking access to desktops based on a user’s identity, role, or other attributes.

User access is managed through entitlements assigned to users and groups based on their permissions and requirements.

To configure user access to your desktop pool:

1. Navigate to Users and Groups (left pane) → Entitlements tab → Entitlements dropdown → Add Desktop Entitlement to initiate adding a new desktop entitlement.

Accessing the user and groups module
Accessing the user and groups module

2. Next, select the Users or Groups that you want to give access to the desktop pool, and click Next.

If too many users are listed, use the search filter fields and click Find to look for a specific user to grant access to your desktop pool.

Accessing the users available in the system
Accessing the users available in the system

3. Lastly, select your target desktop pool, as shown below, to assign to the user or group, and click Submit to complete adding the entitlement.

Once added, the user or group you granted access can log in to the desktop pool and use the virtual desktops you configured.

Assigning a desktop pool to a specific user
Assigning a desktop pool to a specific user

Testing the Desktop Pool

You have successfully configured your desktop pool with granted user access. But how do you know your desktop pool works? You will need the VMware Horizon client to connect to your desktop pool.

To test your desktop pool, follow these steps:

1. On your thin client, re-visit the official VMware download page, look for VMware Horizon Clients, and click Download Product.

Your browser redirects to a page listing available VMware Horizon Clients versions for different systems (step two).

Accessing a list of available VMware Horizon Clients’ version
Accessing a list of available VMware Horizon Clients’ version

2. Next, look for VMware Horizon Client for Windows, and click GO TO DOWNLOADS.

Viewing software included in the VMware Horizon Client package
Viewing software included in the VMware Horizon Client package

3. Look for VMware Horizon Client for Windows, and click DOWNLOAD NOW to download the installer.

Downloading the VMware Horizon Client installer
Downloading the VMware Horizon Client installer

4. Now, run the VMware Horizon Client installer you downloaded.

Running the VMware Horizon client installation setup
Running the VMware Horizon client installation setup

5. Once installed, launch the VMware Horizon Client, and click Add Server to initiate adding your Horizon Connection Server.

Adding the Horizon Connection Server to the Horizon Client
Adding the Horizon Connection Server to the Horizon Client

6. Next, provide the Horizon Connection Server IP address as the name of your VMware Horizon deployment.

Providing the Horizon Connection Server address
Providing the Horizon Connection Server address

7. Provide your user credentials, and click Login to see all available virtual desktops or applications.

Logging in to the Horizon Connection Server address
Logging in to the Horizon Connection Server address

8. Double-click on the virtual desktop or application to establish a connection to your desktop pool.

Accessing a desktop pool
Accessing a desktop pool

If successful, you can access a virtual desktop like any physical desktop, as shown below.

Congratulations! You can now use your thin client to access your virtual desktop or application through VMware Horizon Client.

Viewing a virtual desktop from a thin client via the VMware Horizon Client
Viewing a virtual desktop from a thin client via the VMware Horizon Client

Conclusion

Virtualized desktops allow users to work from anywhere (with a stable internet connection), allowing companies to provide flexible work arrangements. And in this tutorial, you have learned to create virtualized desktops via a VMware VDI solution (VMware Horizon).

If you grant the proper user access, you can now confidently create and manage virtualized desktops without worrying about unauthorized access.

With this newfound knowledge, why not explore cloud-based VDI solutions where a third-party provider hosts the desktops and applications? With cloud-based VDI solutions, users can access desktops delivered as Desktop-as-a-Service (DaaS) over the internet.

Hate ads? Want to support the writer? Get many of our tutorials packaged as an ATA Guidebook.

Explore ATA Guidebooks

Looks like you're offline!