How to find out computer name by ip on LAN? I know an the ip address of a computer in question but how do I get its workgroup name?
|
Please find the below function which will get both the IP and name of the computer. Change your range for the IP. It will ping each IP and find out the response.
|
||||
|
|
|
Try using the command nbtstat -a [ip address] in the command prompt:
This should display a table of names. The name associated with the type "Unique" is the name of the computer. The name associated with the type "Group" should be the workgroup the computer is joined on. |
||||
|
|
|
The kitchen sink answer is to just run nmap against the IP. That'll get you just about all the information it's possible to acquire from probing the computers network interface. While it's a bit overkill here, nmap (and the GUI included - zenmap) are tremendously usefull in and of themselves. |
|||
|
|
