I found a script in the MSDN site which can enable or disable NetBIOS over
TCP/IP in the current system
<Q>.
The following VBScript example uses the SetTCPIPNetBIOS method of the WMI
Win32_NetworkAdapterConfiguration class to enable NetBIOS for a network
adapter. The method parameter passes the value that specifies the possible
settings related to NetBIOS over TCP/IP. A value of 1 indicates enable
NetBIOS.
</Q>
SetTcpipNetbios Method of the Win32_NetworkAdapterConfiguration Class:
http://msdn.microsoft.com/library/d...n_class_win32_networkadapterconfiguration.asp
----------------------------------------
Value Meaning
----------------------------------------
0 Enable Netbios via DHCP
1 Enable Netbios
2 Disable Netbios
----------------------------------------
Use this script below to disable Netbios over TCP/IP in the current system.
----------------------------------------
strComputer = "."
Set objWMIService = _
GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colNetCards = objWMIService.ExecQuery _
("Select * From Win32_NetworkAdapterConfiguration " _
& "Where IPEnabled = True")
For Each objNetCard in colNetCards
objNetCard.SetTCPIPNetBIOS(2)
Next
----------------------------------------
See also: From Mehmet Demir [MSFT]
As long as you want to disable netbios over TCP/IP you can just stop "TCP/IP
NetBIOS Helper" service, you don't need to stop netbios.
Ref:
http://groups.google.com/group/microsoft.public.windows.server.scripting/msg/b13bc51573826ede
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting
http://www.winhelponline.com
Is there a way in the registry to disable NetBIOS over TCP/IP? I would like
to push out a registry key to our company of about 1200 people with XP Pro
and Win2k.