VDI: installation and configuration with Windows Server

Windows Server 2016  Windows Server 2019

Preparation

Before starting to install roles on the different servers, we will prepare the environment.

Create an OU in the Active Directory for the computer objects.

We will see in the collection configuration later, it is necessary to create an OU for virtual machines. I recommend a dedicated OU, as it will be easier if you want to apply specific policies to these computers.

On a domain controller, create an OU dedicated to VDI 1.

Create a share for storing user profile disks – UPD

So that the user profile data is not lost, as for an RDS farm, it is possible to use the user profile disks. A user profile disk is a virtual disk (vhdx) that stores profile data (Desktop, Documents, AppData …).

On a server, create a folder 1 dedicated to the storage of UPDs.

Folder for store UPD on VDI

Access the properties of the folder, go to the Sharing 1 tab and click on Advanced Sharing 2.

Check the Share this folder 1 box and click on the Apply 2 and OK 3 buttons.

The folder is shared, note the UNC path of the 1 share, you will need to enter it when configuring the collection.

The rights for the Hyper-V servers will be configured automatically when configuring the collection.

Installing the Remote Desktop Virtualization Host role

This step is optional and can be done at the same time as the VDI deployment, I advise you to do it separately so that you can configure after installing the virtual switch.

This step is not as detailed. On the Hyper-V server, launch the role setup wizard, in the list of server roles, check the Remote Desktop Services role 1 and click Next 2.

Optionally, select the Remote Desktop Virtualization Host 1 check box.

Validate the addition of dependencies such as the Hyper-V role by clicking on Add features 1.

Confirm add Hyper-V feature for VDI

Validate the role service then configure the Hyper-V role.

Validate the installation by clicking on the Install 1 button.

Once the installation is complete, close the wizard and restart the server. The server started, check the IP configuration, for my case, the virtual card was in DHCP.

Add the servers that make up the VDI environment in the server manager

As to install an RDS farm, it is necessary to add all the servers that make up the VDI environment on the same server.

For my part, I used the broker server (LAB-BRK) to manage the VDI infra, so I added the LAB-GW-RDS and LAB-HV-VDI server).

On the broker server, open the server manager and click on Add other servers to manage 1.

In the add servers window, click on Find now 1 to display the computers in the Active Directory, select the servers to add 2 and click on the arrow 3 for them. add.

In a production environment with a lot of computer objects in the Active Directory, it will be easier to search by name and add them one by one.

Once the servers have been selected 1 click on OK 2 to validate the addition in the server manager.

severs selected

Wait while the manager refreshes then click on All servers 1 and check that the servers are present 2.


The environment is ready, we will now move on to the deployment of the virtual office infrastructure.





Related Posts


Connecting to Remote Desktop Session Host servers by the Broker

Problem If you followed the article: Setting up an RDS farm under Windows 2012R2/2016, the client connection configuration is done using a Round Robin on the DNS. What happens if the server returned b

Hyper-V: Enable Extended Sessions

Presentation Extensive sessions on Hyper-V with virtual machines can enhance the user experience with: Device Sharing File transfer Extended resolution Copy / Paste through the console ... We find par

Altaro backup: installation and use with Hyper-V

In this tutorial, I will explain how to set up Altaro Backup with Hyper-V. Presentation Altaro Backup is a backup solution for virtual environments Hyper-V and VMware running Windows. It has the advan