Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A wi-fi router has been setup with a number of windows machines connecting to it. How do I use windows command line to list all the computers (either by hostname or ipaddress) in the wi-fi network. OSs on the network are XP, Vista and 7.

share|improve this question
up vote 17 down vote accepted

Well I have used following procedure usually:

  1. Go To RUN
  2. Write CMD
  3. Ping the server if you know or your gateway. Even if there is requested timed out.
  4. type "arp -a "
  5. It will usually list down all the IP's and Computers with their Mac Addresses

If you want to use GUI one tool I recommend is : IPScan

Although it a light application 433KB almost but a freeware and very effective and always work for me. 100 % result!

share|improve this answer
I don't get it. Pt. #3 says ping server (in my case it's the wi-fi router ip). Did that. Pt. #4 says type "arp -a". Did that, but I get an error that arp is not a recognized command. – Thomas Sep 28 '11 at 17:07
Did you type without the quotes? Do it without the quotes – aibk01 Sep 28 '11 at 17:08
yup .. no quotes.... to confirm again .... I simply type "arp -a" (without quotes) .. into windows command line? – Thomas Sep 28 '11 at 17:10
Well works fine for me it actually the Address Routing Protocol command, why not use IPscan GUI ? – aibk01 Sep 28 '11 at 17:18
Well I think you are also using some WIFI encryption key on you network too. That usually prevents the command to execute – aibk01 Sep 28 '11 at 17:19

net view will probably show most of them.

share|improve this answer
... does net view require any folders to be shared on the other PCs in the network? ... I tried it and it lists only my PC as \\<PC NAME> – Thomas Sep 28 '11 at 17:08
But it will only list the names, not the IP and Mac addresses but it works. Good answer – aibk01 Sep 28 '11 at 17:09

You must log in to answer this question.

protected by Community Nov 18 '14 at 9:02

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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