Find NetBIOS/WINS name of a IP

84,632

Solution 1

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

Solution 2

ping -a xxx.xxx.xxx.xxx

This will try WINS and then DNS.

The NSLOOKUP command does similar, but only via DNS.

Share:
84,632

Related videos on Youtube

ZEE
Author by

ZEE

Just curious about life... ?what is it!!!

Updated on September 18, 2022

Comments

  • ZEE
    ZEE over 1 year

    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)

  • ZEE
    ZEE almost 9 years
    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
    ZEE almost 9 years
    No DNS in this LAN (by option)
  • zain.ali
    zain.ali almost 9 years
    Are you happy to download a third party tool to achieve your goal?
  • ZEE
    ZEE almost 9 years
    I use several 3rd party tools... like netscan, to achieve this... I was wondering if this could be done with OS tools... THX!
  • kenorb
    kenorb about 6 years
    On Linux, it's smbutil -v status -ae IP.