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:
Note that you can connect to the computer using RDP if you remove the RemoteFX 3D Video Adapter from the VM.
For more information on Microsoft RemoteFX, visit the following Microsoft Web site:
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.
- 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.
Article ID: 2820155 - Last Review: Feb 26, 2013 - Revision: 1