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)

3 Answers 3


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

You can use nbtstat


nbtstat -A x.x.x.x



By IP address

  NBTSTAT -A IP_address [options] [interval]



-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

  • 3
    On Linux, it's smbutil -v status -ae IP.
    – kenorb
    Mar 10, 2018 at 9:54

ping -a xxx.xxx.xxx.xxx

This will try WINS and then DNS.

The NSLOOKUP command does similar, but only via DNS.

  • thanks,,, but sadly ping -a <ip> is not reveling the netBIOS name (and I know the name exists (if i ping the pc by name works ok)
    – ZEE
    Jun 22, 2015 at 15:38
  • No DNS in this LAN (by option)
    – ZEE
    Jun 22, 2015 at 15:39
  • 1
    Are you happy to download a third party tool to achieve your goal?
    – zain.ali
    Jun 22, 2015 at 15:43
  • I use several 3rd party tools... like netscan, to achieve this... I was wondering if this could be done with OS tools... THX!
    – ZEE
    Jun 23, 2015 at 18:32

From a Windows system :

nbtstat -A x.x.x.x

From Linux a Linux :

nmblookup -A x.x.x.x

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .