Problem Description
If you try to make a remote desktop connection to a Windows Server 2012, 2012 R2, 2016, 2019 or Windows 7, 8, 8.1, 10 you can encounter the following warning message.
Warning Message
The number of connections to this computer is limited and all connections are in use right now. Try connecting later or contact your system administrator.
After this warning message, I logged on to the server from the console and opened the task manager to check if there is another open session on the server but there were no other open sessions.
I opened the SYSTEM Event log first, to check if there is anything related to my problem but the only problem I saw was a DNS problem. I decided to get an IP address from the DHCP Server automatically to eliminate this problem and removed the static IP from the network adapter which I used to connect to my problematic server.
System Event Log
Log Name: System Source: Microsoft-Windows-DNS-Client Date: 5/23/2014 11:08:50 AM Event ID: 8016 Task Category: (1028) Level: Warning Keywords: User: NETWORK SERVICE Computer: SCOM.kuskaya.local Description: The system failed to register host (A or AAAA) resource records (RRs) for network adapter with settings: Adapter Name : {554EA174-B18C-4E59-BE67-36FF2264E965} Host Name : SCOM Primary Domain Suffix : kuskaya.local DNS server list : 192.168.1.1 Sent update to server : <?> IP Address(es) : 192.168.1.5 The reason the system could not register these RRs was because the DNS server failed the update request. The most likely cause of this is that the authoritative DNS server required to process this update request has a lock in place on the zone, probably because a zone transfer is in progress. You can manually retry DNS registration of the network adapter and its settings by typing 'ipconfig /registerdns' at the command prompt. If problems still persist, contact your DNS server or network systems administrator.
Related Articles
1. How to properly migrate Print Services from Windows Server 2012 or 2012 R2 to Windows Server 2019
Solution
I logged in to the destination server via the console, disabled and enabled the network adapter to get a new IP address from the DHCP Server and to clear the DNS cache on the destination server.
I tried to make an remote desktop session again and ….
BINGO !
I was able to successfully make an RDP session to my destination server. The error message “The number of connections to this computer is limited and all connections are in use right now. Try connecting later or contact your system administrator.
” was misleading.
The root cause of this problem was in reality a problem with the destination servers DNS Client Service as you can see from the error message above. Please check your destination server’s or pc’s “SYSTEM Event Log
” too. It will tell you definetely something about the reason of the problem.
Good luck !