durex Posted March 25, 2005 Posted March 25, 2005 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!
war59312 Posted March 25, 2005 Posted March 25, 2005 See:http://www.msfn.org/board/index.php?showto...ndpost&p=293265Double posting is evil man.
durex Posted March 25, 2005 Author Posted March 25, 2005 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!
war59312 Posted March 25, 2005 Posted March 25, 2005 Yea, no problem. Just teasing you. You only started one new post and that is fine. Take Care, Will
Gogol Posted March 26, 2005 Posted March 26, 2005 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 !
durex Posted March 26, 2005 Author Posted March 26, 2005 Oh cool... so is this the equivelent of changing that same setting manually?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now