Microsoft DOS nbtstat command

Updated: 11/13/2018 by Computer Hope

About nbtstat

MS-DOS utility that displays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP), which helps troubleshoot NetBIOS name resolution issues. Normally, name resolution is done when NetBIOS over TCP/IP is functioning correctly. It does this through local cache lookup, WINS or DNS server query or through LMHOSTS or hosts file lookup.


The nbtstat command is an external command that is available in the below Microsoft operating systems as nbtstat.exe.


nbtstat [ [-a RemoteName] [-A IpAddress] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval] ]


-a RemoteName Adapter status by name. Lists the name table of the remote machine identified by machine name RemoteName.
-A IpAddress Adapter status by address. Lists the name table of the remote machine identified by IP address IpAddress.
-c Show cached name table. Lists NBT's cache of remote machine names and their IP addresses.
-n Show local names. Lists local NetBIOS names.
-r Show resolved names. Lists names resolved by broadcast or WINS.
-R Reload name table. Purges and reloads the cached name table.
-S Show sessions by IP address. Lists sessions table with the destination IP addresses.
-s Show sessions by name. Lists sessions table, converting destination IP addresses to their NETBIOS names.
-RR Release and refresh. Sends "release name" packets to WINS, then refreshes the list of names.
interval If a numeric interval is specified, the program will continuously redisplay the information specified by other options, pausing interval seconds between each display. Press Ctrl+C to stop redisplaying statistics.


nbtstat -A

Display the name table of IP address