共用方式為


View the NetBIOS name table by using the nbtstat command

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To view the NetBIOS name table by using the nbtstat command

  1. Open Command Prompt.

  2. At the command prompt, type:

    nbtstat -n

    The NetBIOS local name table for this computer is displayed as command-line output. The name type is listed to indicate whether each name is a unique name or a group name. Also, the status for each name is given, indicating whether the name is registered or unregistered with the network.

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • The nbtstat command displays statistics and names information used by NetBIOS over TCP/IP (NetBT) connections. The -n option is used to list only local NetBIOS names for this computer. You can also use nbtstat to:

    • List the NetBIOS name table of a remote computer.

    • Display the contents of the NetBIOS names cache of this computer or a remote computer.

    • Manually load or reload the NetBIOS names cache by using entries in the Lmhosts file with a #PRE option.

    • List NetBIOS over TCP/IP sessions statistics.

    • Release and refresh NetBIOS names in WINS.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Command-line utilities
TCP/IP database files
NetBIOS name resolution
Troubleshooting TCP/IP
Release and refresh NetBIOS names by using the nbtstat command
Nbtstat
Command-line utilities