How does Windows identify the network name via Ethernet?

4

2

Recent versions of Windows (7 and newer, i think) seem to be able to identify the network, that they are connected to via Ethernet automatically.

automatically named network

The name "tbspace Networks" is the WiFi-SSID of the CPE this machine is connected to. But this machine is connected via Ethernet, not via WiFi.

When connecting to a network with a custom DHCP/DNS server this does still work, also configuring a static IPv4/IPv6 address still doesn't change the autodetection.

How does Windows identify the network name?

Can I propagate my own network name with a Linux host?

Tobias Mädel

Posted 2017-04-28T14:02:08.470

Reputation: 395

you should probalby start here with a description of Network Locations. http://www.digitalcitizen.life/network-locations-explained . It is likely that it was discovered by SSDP or Homegroup features. you can confirm this by turning the network type to Public and rebooting. SSDP and homegroup functions are disabled on Public networks by default.

– Frank Thomas – 2017-04-28T14:18:23.333

@FrankThomas I sniffed the initial discovery process and had a look at the SSDP traffic, and while the routers are listed there, the WiFi name isn't part of the SSDP traffic. How does Homegroup work network-wise? Isn't that handled via SMB? I couldn't see any such traffic -- altough it could be encrypted. – Tobias Mädel – 2017-04-28T14:54:46.940

With a sniffer you can see Text data, but many network services use binary data layouts. while it is possible to sniff them, it will take a protocol intelligent decoder to make sense of the content. – Frank Thomas – 2017-04-28T15:09:28.030

1Try this: Find in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles, among the subkeys identify the Ethernet adapter by the item named ProfileName and change the name, you might also change Description. Note carefully the old values, or better - export the entire subkey as backup. Reboot might be required. I don't have wifi so cannot test this. – harrymc – 2017-04-28T16:25:43.503

Have you connected to that network before through Wi-Fi?. Not really sure of the following, but maybe Windows cached the SSID and is displaying it now for the Ethernet connection as they both share the same gateway address or MAC?. – Jaime Hablutzel – 2019-04-28T14:31:36.953

@Jaime Hablutzel: No, the PC has no wifi card. – Tobias Mädel – 2019-04-29T06:01:25.757

No answers