To configure the NetBIOS settings on any Windows computer you can use one of the following methods.
–
[Method 1]
Created a batch file and put the following in as its contents. This will target every NIC fulfilling the criteria as mentioned in the first line (the condition) of the FOR statement
@ECHO OFF CLS SETLOCAL ENABLEDELAYEDEXPANSION FOR /F "tokens=*" %%A IN ('REG QUERY "HKLM\SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces" ^| FIND/I "Tcpip_"') DO ( SET REGPATH=%%A REG ADD "!REGPATH!" /V NetBiosOptions /T REG_DWORD /D 2 /F )
–
–
[Method 2]
Use the following command lines to configure the NetBIOS settings on a per NIC basis. First query for the NetBIOS configuration of each available NIC in the system.
WMIC NICConfig Get Caption,Index,TcpipNetbiosOptions
Figure 1: NetBIOS Setting Configuration For Every NIC In The System
–
To configure the NetBIOS setting on a specific NIC you need to identity the NIC through its index number as shown in figure 1.
WMIC NICConfig Where Index=7 Call SetTcpipNetbios 2
–
The meaning of the possible values is:
- 0 –> Use NetBIOS Setting From The DHCP server
- 1 –> Enable NetBIOS Over TCP/IP
- 2 –> Disable NetBIOS Over TCP/IP
–
Figure 2: Configuring The NetBIOS Setting O)n The NIC With Index 7 (Intel ® Pro/1000 MT Network Connection)
–
Check the new value shows
Figure 3: NetBIOS Setting Configuration For Every NIC In The System After Changing It For The Targeted NIC
–
The NIC properties show
Figure 4: NetBIOS Setting Configuration For The Targeted NIC After Changing It
–
Cheers,
Jorge
———————————————————————————————
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always evaluate/test yourself before using/implementing this!
* DISCLAIMER:
https://jorgequestforknowledge.wordpress.com/disclaimer/
———————————————————————————————
############### Jorge’s Quest For Knowledge #############
#########
http://JorgeQuestForKnowledge.wordpress.com/ ########
———————————————————————————————