NBTSTAT
Nbtstat.exe is a useful tool for troubleshooting NetBIOS name
resolution problems. You can use the nbtstat.exe command to
remove or correct preloaded entries.
· To list the NetBIOS table of the local computer,
type nbtstat-n at the command prompt, and then press
ENTER. This command displays the names that were
registered locally on the computer by programs such as
the server and redirector.
· To list the contents of the NetBIOS name cache,
typenbtstat -c at the command prompt, and then press
ENTER. This command shows the NetBIOS name cache,
which contains name-to-address mappings for other
computers.
· To purge the name cache and reload it from the
LMHOSTS file, type nbtstat -r at the command prompt, and
then press ENTER.
· To perform a NetBIOS adapter status command
against the computer that you specify by name,
type nbtstat -a NetBIOS computer name at the command
prompt, and then press ENTER. The adapter status
command returns the local NetBIOS name table for that
computer and the MAC address of the network adapter.
· To display a list of client and server connections,
typenbtstat -s at the command prompt, and then press
ENTER. This command lists the current NetBIOS sessions
and their status, including statistics, as shown in the
following example:
NetBIOS Connection Table
For example, to find out if your local machine is running
NetBEUI/NetBIOS, type nbtstat -n on the computer. If it shows 'type'
of '<20>', it is using NetBIOS. For a remote computer, type nbtstat -a
computername or nbtstat -A IP.