Open in the explorer

NetBT NodeType configuration

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › MS Security Guide
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
SecGuide.admx
Internal name
SecGuide/Pol_SecGuide_0050_NetbtNodeTypeConfig

Explanation

The NetBT NodeType setting determines what methods NetBT uses to register and resolve names:
* A B-node computer uses broadcasts.
* A P-node computer uses only point-to-point name queries to a name server (WINS).
* An M-node computer broadcasts first, and then queries the name server.
* An H-node computer queries the name server first, and then broadcasts.
Resolution through LMHOSTS or DNS follows these methods. If the NodeType value is present, it overrides any DhcpNodeType value.
If neither NodeType nor DhcpNodeType is present, the computer uses B-node if there are no WINS servers configured for the network, or H-node if there is at least one WINS server configured.

Use cases

Defines how NetBT registers and resolves names: the P-node type (point-to-point, WINS only) avoids NetBIOS resolution broadcasts that a local attacker can spoof. It is the value used by security baselines to reduce exposure to NBT-NS poisoning.

Microsoft plans to reduce dependency on NetBIOS resolution; still, check legacy applications before turning off the fallback.

Microsoft source: Aligning on mDNS: Ramping down NetBIOS name resolution and LLMNR

Registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: SecGuide/Pol_SecGuide_0050_NetbtNodeTypeConfig
$k = 'HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Configure NetBT NodeType
# Possible options:
#   B-node = 1
#   P-node (recommended) = 2
#   M-node = 4
#   H-node = 8
Set-ItemProperty -Path $k -Name 'NodeType' -Value 1 -Type DWord

Disable

# Disable: SecGuide/Pol_SecGuide_0050_NetbtNodeTypeConfig
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": SecGuide/Pol_SecGuide_0050_NetbtNodeTypeConfig
$k = 'HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters'
Remove-ItemProperty -Path $k -Name 'NodeType' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Configure NetBT NodeTypePol_SecGuide_SecGuide_NetbtNodeTypeCfgDrop-down listenumNodeTypeREG_DWORD
Default choice (UI): #0
LabelValue
B-nodeREG_DWORD = 1
P-node (recommended)REG_DWORD = 2
M-nodeREG_DWORD = 4
H-nodeREG_DWORD = 8

Application

Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.