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

Remote Desktop can't connect to VDI-based computer

· 52CE 我爱测

Fixes an issue where Remote Desktop can't connect to a VDI-based remote computer.

This article provides a solution to an issue where Remote Desktop can't connect to a Virtual Desktop Infrastructure (VDI)-based remote computer.

Applies to:   Windows 7 Service Pack 1, Windows Server 2008 R2 Service Pack 1
Original KB number:   2820155

Symptoms

After installing the RemoteFX 3D Video Adapter on a VDI-based physical machine or a virtual machine that is hosted on a Hyper-V server, when you try to connect to the machine using Remote Desktop connection, it may fail. Additionally, you may receive the error message that is similar to the following:

Remote Desktop can't connect to the remote computer for one of these reasons:

  1. Remote access to the server is not enabled
  2. The remote computer is turned off
  3. The remote computer is not available on the network

Make sure the remote computer is turned on and connected to the network, and that remote access is enabled.

You may also receive the following error in the Windows Event Log:

Log Name: Microsoft-Windows-TerminalServices-LocalSessionManager/Operational
Source: Microsoft-Windows-TerminalServices-LocalSessionManager
Date: <Date><Time>
Event ID: 17
Level: Error
User: SYSTEM
Computer: machinename.domain.com
Description:
Remote Desktop Service start failed. The relevant status code was 0x800706b5.

Note: You can connect to the computer using RDP if you remove the RemoteFX 3D Video Adapter from the VM.

Cause

With the release of Service Pack 1 for Windows 7 and Windows Server 2008 R2, a new Windows Firewall rule is added for RemoteFX. This problem occurs if RemoteFX Windows Firewall rule is not enabled.

For more information on Microsoft RemoteFX, visit the following Microsoft Web site:

Microsoft RemoteFX

Resolution

To resolve the problem, you must enable the RemoteFX Windows Firewall rule manually.

To enable the RemoteFX rule by using Windows Firewall with Advanced Security

  1. Click the Start button, and then click Control Panel.
  2. In the Control Panel windows click Windows Firewall.
  3. In the left pane, click Allow a program or feature through Windows Firewall.
  4. Click Change settings. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
  5. Under Allowed programs and features, select the check box next to Remote Desktop - RemoteFX, and then use the check boxes in the columns to select the network location types you want to allow communication on.
  6. Click OK.

Alternatively, if you enable Remote Desktop by using the System properties window, the rule is enabled automatically.

  1. Click the Start button, and then click Control Panel.

  2. Click on System icon.

  3. Under Control Panel Home, click Remote settings.

  4. Click the Remote tab. Under Remote Desktop, Select Don't allow connections to this computer and the click Apply.

  5. Now select either option depending on your security requirements:

    • Allow connections from computers running any version of Remote Desktop (less secure)
    • Allow connections only from computers running Remote Desktop with Network Level Authentication (more secure)
  6. Click on Apply and then OK.

More information

You must enable the RemoteFX Windows Firewall rule manually if you enable Remote Desktop of VDI machine using either of the methods:

  1. Using WMI command:

     wmic rdtoggle where (AllowTSConnections=0) call SetAllowTSConnections 1  
    
  2. Toggling the registry:
    REG.exe ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0

  3. Enabling firewall exceptions for Remote desktop using netsh command or Windows Firewall APIs:

     netsh advfirewall firewall set rule group="remote desktop" new enable=Yes  
    
  4. Using PowerShell script from Microsoft TechNet Script Center (no longer available) to configure VDI desktops.

  5. Upgrading to Windows 7 with SP1 on a virtual desktop that already had Remote Desktop enabled.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. 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 / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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