+3 votes
214 views
by (40.6k points)
How to get the name of a computer by ip

1 Answer

+4 votes
by (40.6k points)

You have to click the Windows Start button and then click Run (also you can press the Windows key along with the letter r) in the box type "cmd" without the quotes, this is going to open a black screen (command line), this must run this syntax:
nbtstat -a IP address
And if you want to save the information displayed in a text file (txt), would be added at the end of the syntax:
The symbol> followed by the location where you want to save the file + filename with the extension txt

They look like this:
nbtstat -a 192.168.137.1> c: test.txt (Following the colon is a backslash I do not know the why not sample)

This is a print of the information this command shows that as you will see not only tells the computer name but also the name of the workgroup and mac address.

nbtstat -a 192.168.137.1

VMware Network Adapter VMnet1:
Node IpAddress: [192.168.137.1] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
PHOENIX <00> UNIQUE Registered
WORKGROUP <00> GROUP Registered
PHOENIX <20> UNIQUE Registered
WORKGROUP <1E> GROUP Registered
WORKGROUP <1D> UNIQUE Registered
..__ MSBROWSE __. <01> GROUP Registered

MAC Address = 00-50-56-C0-00-01

In other words:
Team name: FENIX
Name of the workgroup: WORKGROUP
MAC address: 00-50-56-C0-00-01

I hope you find it as useful as it is for me.

Greetings !!!!!

6.5k questions

8.2k answers

191 comments

71 users

Please leave a comment if the solution works or not.
(with device model) [X]Close
Ask a Question
Welcome to Wikiwhy Q&A, where you can ask questions and receive answers from other members of the community.

Categories

...