NetBIOS is a very old protocol wich is no more interesting today except in some particular cases. But it has a large number of security flaws.
We can use WMIC (Microsoft Windows Management Instrumentation Command-line) to disable it.
Before disabling it we will see wich network interfaces are using it:
- With
cmd.exe
:
- With
PowerShell
:
Then you will need administrator power to run the following commands:
- If you want to disable NetBIOS for one network interface only, identify it index number and run:
- If you want to disable NetBIOS for all network interfaces run:
SetTcpipNetbios
can take this values:
0
– Use NetBIOS parameters from DHCP server1
– Enable NetBIOS via TCP/IP2
- Disable NetBIOS via TCP/IP