Microsoft

nbtstat

nbtstat command-line parameters are case-sensitive.

Displays NetBIOS over TCP/IP (NetBT) protocol statistics, NetBIOS name tables for both the local computer and remote computers, and the NetBIOS name cache. nbtstat allows a refresh of the NetBIOS name cache and the names registered with Windows Internet Name Service (WINS). Used without parameters, nbtstat displays help.

Syntax: nbtstat [/a <remoteName>] [/A <IPaddress>] [/c] [/n] [/r] [/R] [/RR] [/s] [/S] [<Interval>]

/a

Displays the NetBIOS name table of a remote computer, where remoteName is the NetBIOS computer name of the remote computer. The NetBIOS name table is the list of NetBIOS names that corresponds to NetBIOS applications running on that computer.

/A

Displays the NetBIOS name table of a remote computer, specified by the IP address (in dotted decimal notation) of the remote computer.

/c

Displays the contents of the NetBIOS name cache, the table of NetBIOS names and their resolved IP addresses.

/n

Displays the NetBIOS name table of the local computer. The status of registeredindicates that the name is registered either by broadcast or with a WINS server.

/r

Displays NetBIOS name resolution statistics. On a computer running Windows XP or Windows Server 2003 that is configured to use WINS, this parameter returns the number of names that have been resolved and registered using broadcast and WINS.

/R

Purges the contents of the NetBIOS name cache and then reloads the #PRE-tagged entries from the Lmhosts file.

/RR

Releases and then refreshes NetBIOS names for the local computer that is registered with WINS servers.

/s

Displays NetBIOS client and server sessions, attempting to convert the destination IP address to a name.

/S

Displays NetBIOS client and server sessions, listing the remote computers by destination IP address only.

Related Articles