Prepare your virtual machines for Remote Desktop
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016
You can install Remote Desktop Services components on physical servers or on virtual machines.
The first step is to create Windows Server virtual machines in Azure. You'll want to create three VMs: one for the RD Session Host, one for the Connection Broker, and one for the RD Web and RD Gateway. To ensure the availability of your RDS deployment, create an availability set (under High availablility in the VM creation process) and group multiple VMs in that availability set.
After you create your VMs, use the following steps to prepare them for RDS.
- Connect to the virtual machine using the Remote Desktop Connection (RDC) client:
- In the Azure portal open the Resource groups view, and then click the resource group to use for the deployment.
- Select the new RDSH virtual machine (for example, Contoso-Sh1).
- Click Connect > Open to open the Remote Desktop client.
- In the client, click Connect, and then click Use another user account. Enter the user name and password for the local administrator account.
- Click Yes when warned about the certificate.
- Enable remote management:
- In Server Manager, click Local Server > Remote management current setting (disabled).
- Select Enable remote management for this server.
- Click OK.
- Optional: You can temporarily set Windows Update to not automatically download and install updates. This helps prevent changes and system restarts while you deploy the RDSH server.
- In Server Manager, click Local Server > Windows Update current setting.
- Select Advanced options > Defer upgrades.
- Add the server to the domain:
- In Server Manager, click Local Server > Workgroup current setting.
- Click Change > Domain, and then enter the domain name (for example, Contoso.com).
- Enter the domain administrator credentials.
- Restart the virtual machine.
- Repeat steps 1 through 4 for the RD Web and GW virtual machine.
- Repeat steps 1 through 4 for the RD Connection Broker virtual machine.
- Initialize and format the attached disk on the RD Connection Broker virtual machine:
- Connect to the RD Connection Broker virtual machine (step 1 above).
- In Server Manager, click Tools > Computer Management.
- Click Disk Management.
- Select the attached disk, then MBR (Master Boot Record), and then click OK.
- Right-click the new disk (marked as Unallocated) and click New Simple Volume.
- In the New Simple Volume wizard, accept the default values but provide a applicable name for the Volume label (like Shares).
- On the RD Connection Broker virtual machine create file shares for the user profile disks and certificates:
- Open File Explorer, click This PC, and open the disk that you added for file shares.
- Click Home and New Folder.
- Enter a name for the user disks folder, for example, UserDisks.
- Right-click the new folder and click Properties > Sharing > Advanced Sharing.
- Select Share this folder and click Permissions.
- Select Everyone, and then click Remove. Now click Add, enter Domain Admins, and click OK.
- Select Allow Full Control, and then click OK > OK > Close.
- Repeat steps c. to g. to create a shared folder for certificates.
Submit and view feedback for