Monthly Archives: April 2021

“The name limit for the local computer network adapter card was exceeded”

We were seeing this error when trying to open a mapped network drive on a Windows Server (in this case, the drive was mapped to a share on the same server.) The server did not have Exchange installed.

This can happen if the number of dynamic ports available for assignment is too small, and this limit’s default value can be adjusted.

C:\>netsh int ipv4 show dynamicport tcp will display the current pool like this:

Protocol tcp Dynamic Port Range
---------------------------------
Start Port      : 49152
Number of Ports : 16384

This can be enlarged to the maximum with this:

C:\>netsh int ipv4 set dynamicport tcp start=1025 num=64510

Immediately after this, our problem was resolved. No reboot was required.

More information is here:

https://docs.microsoft.com/en-US/troubleshoot/windows-server/networking/default-dynamic-port-range-tcpip-chang