Nbtstat command in Windows

(Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

(Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

Display NetBIOS via TCP / IP protocol statistics or through NetBIOS naming table for both local and remote machines, and for NetBIOS naming buffers.The nbstat command allows you to refresh the NetBIOS name buffer and the names registered with the Internet Calling Service on Windows.When used without parameters, the nbstat command will display help information.

Syntax

 nbtstat [/ a] [/ A] [/ c] [/ n] [/ r] [/ R] [/ RR] [/ s] [/ S] [] 

Parameters

Describe

/ a

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

/ A

Indicates the NetBIOS table name of a remote computer, determined by the IP address of the remote computer.

/ c

Display the content of NetBIOS cache, NetBIOS table name and their resolved IP address .

/ n

Displays the NetBIOS table name of the local computer.The registration status will indicate whether the name is registered by broadcast or with the WINS server.

/ r

Display NetBIOS name resolution statistics.On computers running Windows XP or Windows Server 2003 configured to use WINS, this parameter returns the number of confirmed names and broadcast subscriptions and WINS

/ R

Remove the contents of the NetBIOS name cache and then update the items tagged with PRE from Lmhosts file.

/ RR

Give the NetBIOS name and then update them to the local computers registered with the WINS server.

/S

Represents the client NetBIOS sessions, converting the destination IP address to a specific name.

/S

Represents the client session NetBIOS, listing the remote computers according to the destination IP address.

Revisit the selected statistics, temporarily pause the time specified between each impression

/?

Show help at the command prompt.

Note

Notice the uppercase and lowercase letters of the parameter in the nbtstat command

The following table describes the meaning of the column headers created by nbtstat:

Column header

Describe

Input

Number of bytes received.

output

Number of bytes sent.

In / Out

connection comes from computer (outbound) or from another computer to local computer (inbound).

Life

The rest of the name table cache entry is retained before being deleted.

Local Name

Local NetBIOS name is associated with the connection.

Máy xa

The name or IP address associated with the remote computer.

 

The last byte of the NetBIOS name is converted to hexadecimal.Each NetBIOS name is 16 characters long.This last byte usually has special meaning because a name can appear multiple times on a computer, they are only different in the last byte.For example, is a space in ASCII text.

Type

Type of name.The name may be the most personal name or the group name.

Status

Determine whether the NetBIOS service on the remote (registered) remote computer or the duplicate computer name has registered the same service (Conflict).

State

Status of NetBIOS connections.

The following table describes the possible NetBIOS connection states:

Status

Describe

Connected

A connection session has been established.

associated

An end connection point has been set up and linked to an IP address.

listening

This endpoint is available for an inbound connection.

Idle

This last connection point has been opened but cannot receive the connection.

Connecting

A session is in the connected phase and the name-to-IP addressing scheme of the destination is being resolved.

Accepting

An inbound connection session is being accepted and will soon be connected.

Reconnecting

A session is trying to reconnect (failed to connect at the first attempt).

Outbound

A session is in the connection phase and at the same time the TCP connection is currently being created.

Inbound

An inbound connection session is in the established phase.

Disconnecting

A session is in the process of disconnecting.

Disconnected

The local computer has issued a disconnect command and is waiting for confirmation from the remote system.

* Note : This command is only available if Internet Protocol (TCP / IP) is installed as a component in the properties of the network adapter (Network Connections).

For example

To display the remote computer's NetBIOS table name with the name of a NetBIOS computer named CORP07, enter:

 btstat / a CORP07 

To display the NetBIOS table name of the remote computer assigned IP address of 10.0.0.99, type:

 nbtstat / A 10.0.0.99 

To display the NetBIOS table name of the local computer, type:

 nbtstat / n 

To display the contents of the NetBIOS local computer cache, type:

 nbtstat / c 

To clear the NetBIOS name cache and reload the # PRE-tagged # items available in the local Lmhosts file, enter:

 nbtstat / R 

To retrieve NetBIOS names registered with the WINS server and re-register them, type:

 nbtstat / RR 

To display NetBIOS session statistics by IP address every five seconds, type:

nbtstat / S 5

See more:

  1. Bitsadmin create command in Windows
  2. Bcdboot command in Windows
  3. The bcdedit command in Windows
  4. The autoconv command in Windows
Update 26 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile