Reading Time: < 1 minute

Disabling NetBIOS over TCP/IP can be done through the registry:

  • Go to HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces
  • For each connection, then set NetbiosOptions = 2

or by a Powershell script.

Found this one which worked fine : (run as admin )

$QryNetAdapterConfigs = “Select * from Win32_NetworkAdapterConfiguration where IPEnabled = True”
$NetAdapterConfigs = Get-WMIObject -query $QryNetAdapterConfigs

$results = @()
foreach ($adapter in $NetAdapterConfigs) {
$thisResult = $adapter.SetTcpipNetbios(2)
$results += [PSCustomObject]@{
Description = $adapter.Description
Result = $thisResult.ReturnValue
}
}

Return $results

0