How to Find a MAC Address

Friday, August 28, 2009

Most of us are familiar with using the IPCONFIG /ALL command to display the full IP configuration, including the MAC address of each network adapter. The trouble with using this command to get the MAC address is that it displays too much information, especially if your computer has multiple NICs. Another problem is that it can only be run on the local machine - you cannot use it to get the MAC address of a remote computer or server.

That's where a little known utility, GETMAC, comes in. GETMAC has been included in every Windows build since at least Windows XP, up through Windows 7 and Windows Server 2008 R2.

The command:

GETMAC /V

will display the name and MAC (Physical Address) each local network adapter.

You can get the same information about a remote computer using the command:

GETMAC /S [ComputerName] /V

Note that you must have administrator rights on the remote machine.

1 comment:

  1. Love it! This is a great tool, especially for 2008 R2 Hyper-V servers, where often the interface used for the VMs is hidden from the host view, so IPCONFIG /all doesn't work.

    Thanks!

    ReplyDelete

Thank you for your comment! It is my hope that you find the information here useful. Let others know if this post helped you out, or if you have a comment or further information.