Question Device Host Name IP Resolution Issues

May 6, 2022
1
0
10
One of my 3 Win11 computers host name is not showing up correctly on the network.

Let's call the problem machine "Bob".

On the 2 good PCs, "Bob" is shown in the Network section of File Explorer, but when I try to access it, I get the error "Windows cannot access \\Bob" - "Error code 0x80070035 - The network path is not found."
From the command line, if I ping "Bob", they both try to ping the SAME wrong IP address:
Pinging bob.myfiosgateway.com [192.xxx.xxx.13]
...which is not Bob's IP address, nor does it appear to be assigned to any device by the router.
No wonder File Explorer can find the network path.
If I ping Bob by it's correct IP address, it responds.

On the router, the names of the two good PCs are correctly displayed.
The name for "Bob" is shown is ""WIN-HKxxxxxxxxx".

Bob is running Win11 Pro on Asus ROG Strix X570-E Gaming motherboard w/AMD Ryzen 5 3600 Processor.
Using 1 of the 2 ethernet ports, second port is disabled and WiFi is disabled.
One of the other computers is also on ethernet and the other on WiFi.
Router is Verizon G3100.

I have all the set all the easy things that one is told about when hunting down network issues:
Settings
Network & internet > Ethernet > Network profile type: “Private” selected
Control Panel
Network and Internet > Network and Sharing Center > Change advanced sharing settings
Private
Network discover:
“Turn on network discovery” and “Turn on automatic setup of network connected devices” selected
File and printer sharing:
“Turn on file and printer sharing” selected
Guest or Public
Network discover:
“Turn off network discovery” selected
File and printer sharing:
“Turn off file and printer sharing” enabled
All Networks
File sharing connections
“Use 128-bit encryption” selected
Password protected sharing
“Turn off password protected sharing” selected
Programs and Feature > Turn Windows features on or off:
SMB 1.0/CIFS File Sharing Support
SMB 1.0/CFS Automatic Remove not selected
SMB 1.0/CIFS Client selected
SMB 1.0/CIFS Server selected
SMD Direct (on the two Pro machines) selected
Services.msc
Function Discovery Provider Host: Running / Automatic (delayed start)
Function Discovery Resource Publication: Running / Automatic (delayed start)
Network Connections: Running / Automatic (delayed start)
Peer Name Resolution Protocol: not running / Manual
Peer Networking Grouping: not running / Manual
Peer Networking Identity Manager: not running / Manual
SSDP Discovery: Running / Manual
UPnP Device Host: Running / Automatic

The fact that both good PCs are getting the same bogus IP address leads me to believe the router is at least somehow involved, but I'm not entirely sure if there may be something inside of Bob - Windows setting, NetBIOS setting, ? - that may be the start of it.
 
This mess tends to be why I always use IP addresses. It is strange your router is involved but it does act as dns proxy. I didn't think microsoft used dns names for lan sharing. I have used IP addresses for so long I forget how it works.

The method that will always work if you really want to use the name is to put a entry in the host file which will override any dns from anyplace.