User Tools

Site Tools


windows:netbios

This is an old revision of the document!


Table of Contents

NETBIOS

nbtsta t

A diagnostic tool for NetBIOS over TCP/IP. Its primary design is to help troubleshoot NetBIOS name resolution problems.

The common parameters are:

  • nbtstat -c: displays the contents of the NetBIOS name cache, the table of NetBIOS names and their resolved IP addresses.
  • nbtstat -n: displays the names that have been registered locally on the system.
  • nbtstat -r: displays the count of all NetBIOS names resolved by broadcast and querying a WINS server.
  • nbtstat -R: purges and reloads the remote cache name table.
  • nbtstat -RR: sends name release packets to WINs and then starts Refresh.
  • nbtstat -s: lists the current NetBIOS sessions and their status, including statistics.
  • nbtstat -S: lists sessions table with the destination IP addresses.

Disable NetBIOS

As per this page.

Disabling the NetBIOS support from a (Windows) DHCP server can be accomplished by the following steps:

  1. Open Administrative Tools, click DHCP
  2. Expand the DHCP server name, expand scope, right-click scope options, then click Configure Options.
  3. Click the advanced tab, then Microsoft Windows 2000 Options in the Vendor Class list.
  4. Make sure Default User Class is selected in the User Class list.
  5. Select the checkbox for 001 Microsoft Disable NetBIOS Option under Available Options.
  6. In the Data Entry area, type '0x2' in the Long box, then click OK.

Disabling the NetBIOS support on a client computer can be accomplished by the following steps

Manually via Network Adapter settings:

  1. Open Network Connection Properties.
  2. Select TCP/IP v4.
  3. Click Advanced, then select the WINS tab.
  4. Select Disable NetBIOS over TCP/IP.
  5. Click OK and reboot the computer.

Via registry settings

It is worth noting that these settings are for each network adapter; scripts are available to configure these settings for all adapters in a computer. Evaluate the use of a script in your environment, and consider the implications if deployed in masse.

  1. Open registry editor.
  2. Edit the data for NetbiosOptions and set the parameter to 2 (it will be 0 by default).
  3. Perform the above steps for each adapter in the computer.
  4. Close the registry editor and reboot the computer.
windows/netbios.1728264103.txt.gz · Last modified: by bstafford