

Note the value of the PortNumber REG_DWORD parameter. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

To check the current port on which the Remote Desktop service is listening on the computer, open the registry editor (regedit.exe), and go to the registry key: In some cases, the administrator can change the RDP port number from default 3389 to something else (although Microsoft does not recommend this). You can perform this action using the services.msc console or with the following command in the elevated PowerShell prompt: get-service TermService| Restart-Service -force -Verbose Check RDP Port and Windows Firewall Settings Try to restart the Remote Desktop Services service. Open a command prompt as administrator, and execute the command: netstat -a -o|find "LIST"Īs you can see, in our example, port 3389 is listening. Use the netstat command to verify if TCP port 3389 is in the Listening state. Set unlimited connections by specifying 999999 in the option RD Maximum Connections allowed A maximum number of RDP connections can be specified in the section Connections using the policy Limit number of connections.


Click on RDP-TCP properties, and check the value of the Maximum connections property in Network Adapter tab. Open tsadmin.msc mmc snap-in (Administrative tools > Remote Desktop Services > Remote desktop Session Host Configuration). If Remote Desktop is enabled, next you should check the setting which determines the maximum number of simultaneous users’ connections to a Remote Desktop. Check the RDP Service Settings on the Remote Computer You can remotely enable Remote Desktop on a Windows computer by changing the fDenyTSConnections registry. If port 3389 is unavailable, you should check if the Remote Connection is enabled on the remote server (right-click on Start button > Settings > System > Remote Desktop > Enable Remote Desktop). PowerShell all versions: New-Object ).Connect(‘rdp_server_name1’, 3389) If this command returned True, then the RDP port responds on the server and it’s not blocked. Test-NetConnection rdp_server_name1 -Port 3389 -InformationLevel Quiet
