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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-155.png)
3. Look for VMware Horizon standard version, as shown below, and click GO TO DOWNLOADS.
![Accessing all software included in VMware Horizon](https://adamtheautomator.com/wp-content/uploads/2023/04/image-156.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-157.png)
5. Once downloaded, launch the installer to start the VMware Horizon Connection Server installation.
![Running the VMware Horizon Connection Server installer](https://adamtheautomator.com/wp-content/uploads/2023/04/image-158.png)
6. Now, choose the first option, and click Next to accept the license agreement.
![Accepting the End User License Agreement](https://adamtheautomator.com/wp-content/uploads/2023/04/image-159.png)
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.
![Choosing installation options](https://adamtheautomator.com/wp-content/uploads/2023/04/image-160.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-161.png)
9. Next, choose to Configure the Windows Firewall automatically. This option allows you to configure the needed firewall exceptions automatically.
![Configuring the firewall settings](https://adamtheautomator.com/wp-content/uploads/2023/04/image-162.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-163.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-164.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-165.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-166.png)
2. Click Next on the Before you begin screen to continue.
![Acknowledging the initial page](https://adamtheautomator.com/wp-content/uploads/2023/04/image-167.png)
3. Under Installation Type, select the Remote Desktop Services installation option, and click Next.
![Choosing the installation type](https://adamtheautomator.com/wp-content/uploads/2023/04/image-168.png)
4. Now, select the Standard deployment option, and click Next. With this option, you can deploy RDS across multiple servers.
![Choosing the deployment type](https://adamtheautomator.com/wp-content/uploads/2023/04/image-169.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-170.png)
6. Review the role services to be installed and click Next to continue.
![Reviewing selected services to install](https://adamtheautomator.com/wp-content/uploads/2023/04/image-171.png)
7. Now, click Deploy to start installing your chosen services.
![Installing selected services](https://adamtheautomator.com/wp-content/uploads/2023/04/image-172.png)
8. Lastly, wait for the installation to complete, and click Close to exit the wizard.
![Viewing installation progress](https://adamtheautomator.com/wp-content/uploads/2023/04/image-173.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-174.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-175.png)
4. Now, look for Horizon View Agent (64-bit), and click DOWNLOAD NOW to download the installer.
![Downloading the Horizon View Agent installer](https://adamtheautomator.com/wp-content/uploads/2023/04/image-176.png)
5. Once downloaded, launch the VMware Horizon Agent installer to begin the installation process.
![Running the Horizon View Agent setup](https://adamtheautomator.com/wp-content/uploads/2023/04/image-177.png)
6. Now, click Next on the welcome screen to continue.
![Acknowledging the VMware Horizon Installation welcome screen](https://adamtheautomator.com/wp-content/uploads/2023/04/image-178.png)
7. Accept the General Terms, and click Next.
![Accepting the VMware general terms](https://adamtheautomator.com/wp-content/uploads/2023/04/image-179.png)
8. Select the network protocol configuration, IPv4 or IPv6, for establishing connections, and click Next.
![Choosing the network configuration protocol](https://adamtheautomator.com/wp-content/uploads/2023/04/image-180.png)
9. Select the custom features you wish to install, and click Next.
![Selecting custom features to be installed](https://adamtheautomator.com/wp-content/uploads/2023/04/image-181.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-182.png)
11. Review the installation summary and click Install to begin the installation process.
![Review the settings before software installation](https://adamtheautomator.com/wp-content/uploads/2023/04/image-183.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-184.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-185.png)
3. Now, select the RDS Hosts tab, and click the refresh button to refresh the list of registered machines.
![Viewing the registered RDS host](https://adamtheautomator.com/wp-content/uploads/2023/04/image-186.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-187.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-188.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-189.png)
- 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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-190.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-191.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-192.png)
6. Now, review your selected settings and click Submit to confirm adding the RDS farm.
![Saving the new farm](https://adamtheautomator.com/wp-content/uploads/2023/04/image-193.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-206.png)
2. Next, in the Add Pool wizard, choose RDS Desktop Pool as the desktop pool type, and click Next.
![Specifying the desktop pool type](https://adamtheautomator.com/wp-content/uploads/2023/04/image-207.png)
3. Input a desktop pool ID, descriptive Display Name, and Description (optional), and click Next.
![Providing the new desktop pool details](https://adamtheautomator.com/wp-content/uploads/2023/04/image-208.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-209.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-210.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-211.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-194.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-195.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-196.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-197.png)
2. Next, look for VMware Horizon Client for Windows, and click GO TO DOWNLOADS.
![Viewing software included in the VMware Horizon Client package](https://adamtheautomator.com/wp-content/uploads/2023/04/image-198.png)
3. Look for VMware Horizon Client for Windows, and click DOWNLOAD NOW to download the installer.
![Downloading the VMware Horizon Client installer](https://adamtheautomator.com/wp-content/uploads/2023/04/image-199.png)
4. Now, run the VMware Horizon Client installer you downloaded.
![Running the VMware Horizon client installation setup](https://adamtheautomator.com/wp-content/uploads/2023/04/image-200.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-201.png)
6. Next, provide the Horizon Connection Server IP address as the name of your VMware Horizon deployment.
![Providing the Horizon Connection Server address](https://adamtheautomator.com/wp-content/uploads/2023/04/image-202.png)
7. Provide your user credentials, and click Login to see all available virtual desktops or applications.
![Logging in to the Horizon Connection Server address](https://adamtheautomator.com/wp-content/uploads/2023/04/image-203.png)
8. Double-click on the virtual desktop or application to establish a connection to your desktop pool.
![Accessing a desktop pool](https://adamtheautomator.com/wp-content/uploads/2023/04/image-204.png)
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](https://adamtheautomator.com/wp-content/uploads/2023/04/image-205.png)
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.