Get Mac Address For Mac

admin 12/13/2021

To find the MAC address on your Windows computer

Ping the remote computer to get the IP address and use ARP to retrieve the MAC address from that IP. Ping remotecomputer arp -a ipaddress. NBTSTAT is a Windows built-in diagnostic tool for NetBIOS over TCP/IP which mostly used in Windows system. We can find mac address (physical address) of a computer using the command ‘getmac‘. This can be used to get mac address for remote computers also. Below are few examples on how to use this command. It works on XP, Vista, Windows 7, Server 2003 and Server 2008 operating systems. Get mac addresses from CMD.

  1. Click the Start menu in the bottom-left corner of the screen.
  2. Select Run or type cmd into the search bar at the bottom of the Start menu to populate the command prompt.
  3. Type ipconfig /all (make sure to include the space between 'g' and '/') and press enter.
  4. The MAC address is listed as a series of 12 digits, listed as the physical address (00:1A:C2:7B:00:47, for example).

Please note: Each network adapter (wireless, Ethernet, ect.) has a separate MAC address.

To find the MAC address on your Apple computer:

  1. Select System Preferences from the Apple menu.
  2. Click Network.
  3. Select Wi-Fi from the list on the left and click the Advanced button.
  4. Select the Hardware tab and the MAC address will appear below.
  5. Return to the Network menu and Select Ethernet from the list on the left and click the Advanced button.
  6. Select the Hardware tab and the MAC address for the ethernet card will appear below.

We can find mac address (physical address) of a computer using the command ‘getmac‘. This can be used to get mac address for remote computers also. Below are few examples on how to use this command. It works on XP, Vista, Windows 7, Server 2003 and Server 2008 operating systems.

Get mac addresses from CMD

Just run the command getmac to get the mac addresses. Find an example below.

Find Mac Address For Macbook Pro

Get Mac Address For MacGet mac address from ip mac terminal

This command does not show mac addresses for the network connections which are disabled. You can run ncpa.cpl and check which NICs are disabled. Further, I have received comments that this command does not help identify the mac address for a specific device. For example, if I need to get the mac address for my WiFi card, output of getmac command is not helpful. We can use ipconfig command to deal with this.

Get mac address of a remote computer

Get Mac Address For Macbook

We can retrieve the mac addressses for a remote computer using nbtstat command.
Example:

Alternatively, We can run the below command to retrieve the mac addresses of a remote computer.

Get Mac Address For Mac

remote_computer : Full name of the remote computer or IP address
username and password are of the account on the remote computer.

Get mac address for macbook

Example:

If you do not want to specify the password, you can skip /p parameter. You will be prompted to enter the password and the command execution will take place after that.

Errors:

Using getmac command we can retrieve the mac addresses of the machines running windows OS only. If you try this for a Linux machine you would get the error “The RPC server is unavailable.”

If you provide incorrect password, the command would fail with the error message “Logon failure: unknown user name or bad password.

Also Read:
Windows CMD commands reference