Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Disable NetBIOS over TCP/IP
WinsRoot = regopenkey(@regmachine,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces") NicReg = regopenkey(WinsRoot,"Tcpip_{974CB562-BB31-4E89-BA72-5B64150DE5F5}") ; This tells it what nic to look at, you may need to check on your pc OldSetting = regqueryvalue(nicReg,"[NetbiosOptions]") regsetvalue(NicReg,"[NetbiosOptions]",0) ; Use Netbios setting from DHCP Server regsetvalue(NicReg,"[NetbiosOptions]",1) ; Enable Netbios over TCP/IP regsetvalue(NicReg,"[NetbiosOptions]",2) ; Disable Netbios over TCP/IP regclosekey(NicReg) regclosekey(WinsRoot)I have a single NIC but have 3 Tcpip_ keys. But, only one of them has "DhcpNameServerList" or NetbiosOptions so you should be able to rummage thru the keys & programattically determine which one to change.
Article ID: W15552
File Created: 2003:05:13:11:28:42
Last Updated: 2003:05:13:11:28:42