Forum Discussion
KiPe01
Jun 05, 2023Copper Contributor
Disabling Netbios name service via new ADMX / GPO does not work as expected (bug?)
Disabling Netbios Name service via GPO, new in Windows 11, does not seeem to work as expected / advertised. Using the latest Windows 11 build (22H2, 1702 as of June 2023), all patches updates and dr...
rrostech
May 15, 2025Tin Contributor
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
- atomBravoDec 04, 2025Copper Contributor
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.