Set NetBIOS over TCP/IP using command line

article #426, updated 4376 days ago

First get a list of interfaces:

wmic nicconfig get caption,index,TcpipNetbiosOptions

Make note of the number of the interface you want to change. Once you have it (for example, number 0000009), do this to enable:

wmic nicconfig where index=9 call SetTcpipNetbios 1

List of options:

0 – Use NetBIOS setting from the DHCP server
1 – Enable NetBIOS over TCP/IP
2 – Disable NetBIOS over TCP/IP

Categories: