Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 5 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
show 2 more comments

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.