大网数据广告活动
远程桌面与会话

Prepare your virtual machines for Remote Desktop

· 52CE 我爱测

Get your VMs ready for Remote Desktop components

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.

  1. Connect to the virtual machine using the Remote Desktop Connection (RDC) client:
    1. In the Azure portal open the Resource groups view, and then click the resource group to use for the deployment.
    2. Select the new RDSH virtual machine (for example, Contoso-Sh1).
    3. Click Connect > Open to open the Remote Desktop client.
    4. In the client, click Connect, and then click Use another user account. Enter the user name and password for the local administrator account.
    5. Click Yes when warned about the certificate.
  2. Enable remote management:
    1. In Server Manager, click Local Server > Remote management current setting (disabled).
    2. Select Enable remote management for this server.
    3. Click OK.
  3. 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.
    1. In Server Manager, click Local Server > Windows Update current setting.
    2. Select Advanced options > Defer upgrades.
  4. Add the server to the domain:
    1. In Server Manager, click Local Server > Workgroup current setting.
    2. Click Change > Domain, and then enter the domain name (for example, Contoso.com).
    3. Enter the domain administrator credentials.
    4. Restart the virtual machine.
  5. Repeat steps 1 through 4 for the RD Web and GW virtual machine.
  6. Repeat steps 1 through 4 for the RD Connection Broker virtual machine.
  7. Initialize and format the attached disk on the RD Connection Broker virtual machine:
    1. Connect to the RD Connection Broker virtual machine (step 1 above).
    2. In Server Manager, click Tools > Computer Management.
    3. Click Disk Management.
    4. Select the attached disk, then MBR (Master Boot Record), and then click OK.
    5. Right-click the new disk (marked as Unallocated) and click New Simple Volume.
    6. In the New Simple Volume wizard, accept the default values but provide a applicable name for the Volume label (like Shares).
  8. On the RD Connection Broker virtual machine create file shares for the user profile disks and certificates:
    1. Open File Explorer, click This PC, and open the disk that you added for file shares.
    2. Click Home and New Folder.
    3. Enter a name for the user disks folder, for example, UserDisks.
    4. Right-click the new folder and click Properties > Sharing > Advanced Sharing.
    5. Select Share this folder and click Permissions.
    6. Select Everyone, and then click Remove. Now click Add, enter Domain Admins, and click OK.
    7. Select Allow Full Control, and then click OK > OK > Close.
    8. Repeat steps c. to g. to create a shared folder for certificates.

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 7/3/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。