Find NetBIOS/WINS name of a IP

How can I find the NetBIOS/WINS name of a PC in my LAN

In suma: I have the IP of a machine in my LAN I want to get the name of the machine (if it has one)

2 Answers

How can I find the NetBIOS/WINS name of a PC

You can use nbtstat

Example:

nbtstat -A x.x.x.x

Syntax

...

By IP address

 NBTSTAT -A IP_address [options] [interval]

Key

...

-A (Adapter status) List the remote machine's name table given its IP address

Source NBTSTAT.exe - Display protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP)


Further reading

1

ping -a xxx.xxx.xxx.xxx

This will try WINS and then DNS.

The NSLOOKUP command does similar, but only via DNS.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like