net view systemname
command where systemname
was the name of the Windows 10 system, from the other Windows system, I
could see the shared resources.
I used WinDump, a network packet capture utility, which is a Windows equivalent to the tcpdump utility available for Linux, Unix, OS X, etc. systems, on the other Windows system. I found that when I tried establishing an RDP/VNC connection to the Windows 10 system, I saw the TCP packets going towards the Windows 10 system, but no resonses to those packets, though I did see DNS traffic coming from the Windows 10 system to the other system, which functions as a DNS server. When I used another free packet analyzer program on the Windows 10 system, Wireshark, that utility showed the incoming RDP packets destined for TCP port 3389, the registered port for RDP connections, and TCP port 5900, the registered port for VNC connections. But it didn't show the Windows 10 system sending any responses to those packets. I didn't want to reboot the Windows 10 system to fix the problem; I was able to resolve the problem by disabling then enbling the Local Area Network (LAN) interface on the Windows 10 system by opening a command prompt window with administrator privileges on that system.
I first issued the command netsh interface show interface
to see the list of network interfaces on the system. Since the one named
"Local Area Connection" was the only one in the "Connected" state, I
disabled it with the command netsh interface set interface "Local Area
Connection" admin=disable
and then re-enabled the interface with
the command netsh interface set interface "Local Area Connection"
admin=enable
. The Windows 10 system then responsded to TCP connection
attempts to it and I was then able to establish RDP and VNC connections
from the Windows server to the Windows 10 system.
c:\>netsh interface show interface Admin State State Type Interface Name ------------------------------------------------------------------------- Enabled Disconnected Dedicated Ethernet Enabled Disconnected Dedicated Wi-Fi Enabled Connected Dedicated Local Area Connection c:\>netsh interface set interface "Local Area Connection" admin=disable c:\>netsh interface set interface "Local Area Connection" admin=enable c:\>
Related articles: