Friday, 29 June 2012

To Find MAC ADDRESS in Remotely

net view at a command prompt.
Find the name of the machine you want.
nbtstat -a machinename at a command prompt.
MAC address will be at the bottom.

example :
C:\Users\fm>nbtstat -a hostname
 
If you can ping this host over the LAN/WAN, his MAC address will be cached in ARP table of your NIC for a while, so, from command prompt:

c:\ ping 1.2.3.4
after some echo replies from host 1.2.3.4
c:\arp -a
and you will see MAC address of 1.2.3.4

Output like :

C:\Users\fm>arp -a

Interface: 192.168.2.85 --- 0xb
  Internet Address      Physical Address      Type
  169.254.60.189        00-24-81-ee-b8-49     dynamic
  192.168.0.1           01-00-5e-28-00-01     dynamic
  192.168.0.2           78-ac-c0-42-53-7c     dynamic
  192.168.0.5           00-18-71-88-a7-76     dynamic
  
 Open a command window - go to Start > Run and type "command" into the field then click "OK".
  1. Type getmac.
  2. The MAC address will be noted on the column on the left under "Physical Address"
Example C:\>getmac Physical Address Transport Name =================== ============================== 00-D0-B7-B1-A7-14 \Device\Tcpip_{474E507B-4FCD-428C-A553-304B997C4D96}

No comments:

Post a Comment