Finding a computer name using IP [Solved/Closed]

 Ramki -

I want to find the computer name of one PC connected in LAN (joined to domain).

I have the IP address of terminal. How will I find the computer name?

Kindly advice!


6 replies

Hello there, it is fairly simple.

Just use below command in Start / Execute /

nbtstat -a <ip_address>
where <ip_address> is the IP address of the machine.
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 2833 users have said thank you to us this month

Thanks a lot
Thanks, worked just great
thanks, just what i was looking for
Thank you very much.



NSLOOKUP uses DNS and PING will try WINS and DNS
r u mail r female puma ,,,,,,,,,,
Does it really work?
i couldnt get this to work but I am on a restricted PC
This worked for me.
It should work but make sure you are in domian network.
use nslookup
Thanx dude, it worked well...
Finding the IP address assigned to a computer is very simple. All you have to do is open the command prompt and use the IPCONFIG command. If you want to find the IP address associated with a specific computer name, you can use the NBTSTAT command. The syntax for doing so is as follows:

NBTSTAT -a <computername>

What if you want to find the computer name associated with a specific IP address? The solution is simple. You can once again find the information you are looking for using the NBTSTAT command, only this time with a different switch. Instead of using -a, you will use -A and specify an IP address as shown below:

NBTSTAT -A <ipaddress>

The results will tell you the computer name that is currently associated with the IP address you have specified.
Using the "NBTSTAT -A <ipaddress>" isn't working. There are a lot of ways that people are saying you can use to find your IP address, and most of the ones using command prompt are different. So, it always says "host not found" whenever I try. I think I know what it is, but it still draws a blank.

Plz Help!! ( But try to keep it simple, not extremely complex )
HaaaaaaaaaaaaaaaaHaaaaaaaaaaaaaaaa ;;
you could always type in

net user into cmd
and this will give u the computer name and the people that use the network you are on

you don't really need the ip address of the computer to find out it's name

hope this helped.
Registration date
Saturday November 29, 2008
Last seen
December 8, 2008
Please help I actually want to be able to search the name of a computer with having an IP address. THe computer is connected to the domain but when the computers where set up to the domain no one wrote down the computer name with its IP so I was wondering is there a way to display all the computer names with the IP address or do a search on the server by the IP address that I have to be able to get the computer name or more info about that computer or user.
Thanks so much
> vinnie
I need to know all the commands which I can use to find out host names using ip addresses. Its quite important in a LAN environment. Today I just fing someone is using my ip address and I need to know which computer is using my ip address!!
Thanks in advance
> vinnie
FIXED: How to get a Computer-Name on a domain/network using the IP Address or Username a the user logged in on it.

1) Find the IP address of the computer if you do not already have it
1 a) Go to Computer Management (right click on My Computer and click on Manage)
1 b) Go to System Tools, Shared Folders, Sessions (in the left hand pane) and find the IP Address of the PC that the user is logged onto (this sometimes shows the computer name instead of the IP Address).

2) Find the Computer Name using the IP Address
2 a) Go to DHCP (in Control Panel, Administrative Tools)
2 b) Go to Scope, Address Leases in the left hand Pane and find the IP Address listed, this will then also give you the Computer Name

3) Go to and let us know how you got on.

Al - IT Support Technician for BrightVisions Ltd.
> Kleinbaas
Thanks for the tip, it works great, except that it appears to list all of the names that were ever associated with an IP address. I have multiple entries for the same IP.

Is there a way to refresh DNS so that it only contains valid connected names?
c:\nbtstat -a <>

Display a result as given format

Local Area Connection:
Node IpAddress: [] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status
Netbios name <00> UNIQUE Registered
Workgroup/domain name <00> GROUP Registered
Netbios name <20> UNIQUE Registered
Workgroup/domain name <1E> GROUP Registered

MAC Address = xx-xx-xx-xx-xx-xx
My laptop was stolen , is there any way I can know the IP and user name for this pc when we are chating on line? coz I think he is using my pc . PLS I NEED ANSWER
hmmm....well are you actually chatting with the person? If so, there are a couple ways to do it.

If so, there's a couple of ways to go about it.

he first way to do it is to open your command prompt. This is what you'll be using to find the person.

while your chatting with him, send him something, anything. Send him a file, a picture, anything. If you think the person might be sketchy about it, use your imagination and be creative.
While the file is transferring, type in the command line: netstat -n .
Be sure to note the space between "netstat" and "-a".
While the file is being transferred, you are making a connection to your computer. that means that the i.p. is connected to you, therefore letting you transfer the files.
However, a person's ip can change depending on where they are or where they are connected.
Yet assuming that this isn't the case, we can glean a little information here.
Using this method, we of course fine out the I.P. address after a little information sorting. At the same time, we might even possible find the MAC adress as well.
Both of these are pretty much useless to us.
However, you can go to this website:

this will give you the infomation about what router they're using and who's providing their internet, and a few more details. If you contact these providers with the information displayed and give them your story, or if you talk to local authorities, you will most likely be helped.

Also, I'd say look around at softwares maybe. There are tons of hacking softwares everywhere, and a lot of them are extremely effective. I've used many softwares myself recreationally, and it's surprising just how much information you can get from a good hacking device. If you have any other questions, feel free to email me at "Email Id removed for security
I don't have all the answers, but I can certainly try to help. lol, it gives me an oportunity to learn more, if anything. Hope everything works out for you! =)
Thank you very much for this info!