March 25, 200521 yr I need to figure out how to change the 'NetBIOS setting' under the properties of TCP/IP of my network adapter > Advanced > WINSFor some reason this is set to 'Disable NetBIOS over TCP/IP', which causes network browsing not to work.Thanks!
March 25, 200521 yr See:http://www.msfn.org/board/index.php?showto...ndpost&p=293265Double posting is evil man.
March 25, 200521 yr Author Ah thx.. I wasnt really planning on getting my question answered in that thread as it pertained to about 3 other topics... figured Id start a new one as I hadnt found it discussed anywhere else...Admin: feel free to delete either post...Thanks again!
March 25, 200521 yr Yea, no problem. Just teasing you. You only started one new post and that is fine. Take Care, Will
March 26, 200521 yr I baked this one to unbind NetBios but you can use it to bind it*Tested on a single nic workstation* with Xp@echo off & setlocal ENABLEEXTENSIONS:: Need Reg.exe and Regfind.exe (from MS toolkit):::: DelayedExpansion for Command Processor must be enable before running this batch in a different dosbox:: REG ADD "HKCU\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 00000001 /f:::: Adjust connName to your Connexion Name:: Caution for french user, edit this file with dos editor for "é"set connName="Lan Connexion"::set file=%random%%computername%set "netbt=HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_"set "netbt2=HKLM\SYSTEM\ControlSet001\Services\NetBT\Parameters\Interfaces\Tcpip_"set "lines=2"set i=-1set "ok="set "key="::regfind -i 0 -p HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318} %connName% >%file%.txt::for /f "delims=" %%a in ('more ^<%file%.txt') do ( set/a i+=1 & for /f %%z in ('echo/%%i%%') do ( if "%%z"=="%lines%" set ok=1 ) if not defined ok set key=%%a )::REG QUERY %netbt%%key% /v NetbiosOptionsif errorlevel 1 goto Errmsg:::: Dword 1 to bind and 2 to unbind NetbiosREG ADD %netbt%%key% /v NetbiosOptions /t REG_DWORD /d 00000001 /fREG ADD %netbt2%%key% /v NetbiosOptions /t REG_DWORD /d 00000001 /fgoto end:::ErrmsgEcho Unable to find %connName% as your Connexion Name:enddel .\%file%.txtEnjoy !
March 26, 200521 yr Author Oh cool... so is this the equivelent of changing that same setting manually?
Create an account or sign in to comment