Forum Discussion
Disabling Netbios name service via new ADMX / GPO does not work as expected (bug?)
same issue here. looks like the GPO DnsClient.admx sets the regkey in this location:
key="Software\Policies\Microsoft\Windows NT\DNSClient"
this does not match the official microsoft documentation.
https://techcommunity.microsoft.com/blog/networkingblog/aligning-on-mdns-ramping-down-netbios-name-resolution-and-llmnr/3290816
For many Microsoft-provided ADMX templates, a GPO will actually set a key in "Software\Policies\etc." instead of the "expected" location that is documented as the "add a key here." So, it's not surprising that the GPO doesn't touch the "expected" registry key (“Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters”) but instead on Windows 2022/11 now has a key in the "Software\Policies" location that presumably gets read by the DNS client and overrides the other key.
Also, to clarify - this setting (either the registry key or the new GPO) does not turn off "NetBIOS over TCP/IP" but only turns off NetBIOS Name Resolution (which is a fallback for the DNS client if mDNS and LLMNR both fail). NetBIOS name resolution is just one feature in the NetBIOS suite.
As far as I can tell, the only way to disable NetBIOS over TCP/IP is with the DHCP option *https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/disable-netbios-tcp-ip-using-dhcp or scripting it, since the setting is per NIC and not system-wide.