Remote Desktop cannot Connect to the VDI-based remote computer after enabling Microsoft RemoteFX 3D Video Adapter
Symptoms
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.
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 that you can connect to the computer using RDP if you remove the RemoteFX 3D Video Adapter from the VM.
Cause
For more information on Microsoft RemoteFX, visit the following Microsoft Web site:
Resolution
To enable the RemoteFX rule by using Windows Firewall with Advanced Security
- Click the Start button , and then click Control Panel.
- In the Control Panel windows click Windows Firewall.
- In the left pane, click Allow a program or feature through Windows Firewall.
- Click Change settings. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
- 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.
- Click OK.
- Click the Start button, and then click Control Panel.
- Click on System icon.
- Under Control Panel Home, click Remote settings.
- Click the Remote tab. Under Remote Desktop, Select Don’t allow connections to this computer and the click Apply
- Now select either option depending on your security requirements:
-
- Allow connections from computers from computers running any version of Remote Desktop (less secure)
- Allow connections from computers only from computers running Remote Desktop with Network Level Authentication (more secure)
- Click on Apply and the OK.
More information
- Using WMI command:
wmic rdtoggle where (AllowTSConnections=0) call SetAllowTSConnections 1 - Toggling the registry:
REG.exe ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 - Enabling firewall exceptions for Remote desktop using netsh command or Windows Firewall APIs:
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes - Using PowerShell script provided on Microsoft TechNet Script Center to configure VDI desktops.
- Upgrading to Windows 7 with SP1 on a virtual desktop that already had Remote Desktop enabled.