[windows2000] Re: Disabling Netbios over TCP/IP?

  • From: "Jim Kenzig ThinHelp.com" <jkenzig@xxxxxxxxx>
  • To: windows2000@xxxxxxxxxxxxx
  • Date: Wed, 4 Apr 2007 16:14:46 -0400

Also can do it with a few net stop commands and stop the service
altogether...you could easily put these in a command file with a few wait
statements.  Remember to restart the services you stopped...
Jim
-[ Disabling the NetBT driver ]-

This completely disables SMB on a system, i.e both client-side
(workstation service) and server-side (server service).

You first need to stop the workstation and server services (and all services
that depend on them and may still run):

C:\WINNT>net stop rdr
The Workstation service is stopping.
The Workstation service was stopped successfully.

C:\WINNT>net stop srv
The Server service is stopping.
The Server service was stopped successfully.

Once these services are stopped, the NetBT driver can be stopped:

C:\WINNT>net stop netbt
The NetBios over Tcipip service is stopping.
The NetBios over Tcipip service was stopped successfully.

To disable the NetBT driver, the following registry value must be changed:

Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\
Value: Start
Type: DWORD value (REG_DWORD)
Content: 4

On Windows XP, you can use the following command:

C:\WINDOWS>sc config netbt start= disabled



On 4/4/07, Sorin Srbu <sorin.srbu@xxxxxxxxxxxxx> wrote:

Hi all,

Isn't there *any* way to programmatically disable Netbios over TCP/IP? We
use
static IP:s so setting it on the dhcp-server isn't an option. All answers
I
find on Google seems to point to the graphical GUI, which isn't very
helpful
if you want to change a couple of dozen machines or so...

Anybody?



BW,

Sorin

# Sorin Srbu, Systems Engineer  Web: http://www.orgfarm.uu.se
# Dept of Medicinal Chemistry,  Phone: +46 (0)18-4714482 >3 signals> GSM
# Div of Org Pharm Chem,                Mobile: +46 (0)701-718023
# Box 574, Uppsala University,  Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden     Visit: BMC, Husargatan 3, D5:512b
#
# ()  ASCII ribbon campaign - Against html E-mail
# /\
#
# Harmless tagline follows:
#
# Legacy MS Tag: This marks Logical End-Of-Message. Physical EOM follows.

*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options
and info are available at:
http://www.VistaPop.com
*****************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm




--
Jim Kenzig
Microsoft MVP - Terminal Services
http://www.thinhelp.com
Citrix Technology Professional
Provision Networks VIP
CEO The Kenzig Group
http://www.kenzig.com
Blog: http://www.techblink.com

Other related posts: