Get Computer MAC Address

Table of Contents

A MAC address is a unique identifier assigned to a network interface card (NIC). The MAC is hard-coded to the NIC at the time of manufacture.

How do you get the MAC address for a computer?

Open Windows Command Prompt and type the following command:

ipconfig /all

This will display a result similar to the following:

    C:\>ipconfig /all

    Windows IP Configuration

      Host Name . . . . . . . . . . . . : Kags_PC
      Primary Dns Suffix  . . . . . . . :
      Node Type . . . . . . . . . . . . : Hybrid
      IP Routing Enabled. . . . . . . . : No
      WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:

      Connection-specific DNS Suffix  . :
      Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
      Physical Address. . . . . . . . . : 08-00-27-37-10-55
      DHCP Enabled. . . . . . . . . . . : Yes
      Autoconfiguration Enabled . . . . : Yes
      Link-local IPv6 Address . . . . . : fe80::805:214b:df40:963a%10(Preferred)
      IPv4 Address. . . . . . . . . . . : 10.0.2.15(Preferred)
      Subnet Mask . . . . . . . . . . . : 255.255.255.0
      Lease Obtained. . . . . . . . . . : Wednesday, August 03, 2011 9:42:47 AM
      Lease Expires . . . . . . . . . . : Thursday, August 04, 2011 9:42:48 AM
      Default Gateway . . . . . . . . . : 10.0.2.2
      DHCP Server . . . . . . . . . . . : 10.0.2.2
      DHCPv6 IAID . . . . . . . . . . . : 235405351
      DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-20-8F-1A-47-08-00-27-37-10-55

      DNS Servers . . . . . . . . . . . : 10.0.1.1
      NetBIOS over Tcpip. . . . . . . . : Enabled

    C:\>

The 12-digit number next to the Phsyical Address is the MAC address.

Physical Address. . . . . . . . . : 08-00-27-37-10-55` 

You can also run getmac from the command prompt to list MAC addresses and network protocols for all network interfaces in each computer.

    C:\>getmac

    Physical Address    Transport Name
    =================== ==========================================================
    08-00-27-37-10-55   \Device\Tcpip_{1CEA5651-463B-48C6-B70C-0D14EC1B252E}
    00-FF-C0-1C-84-CE   \Device\Tcpip_{C01C84CE-DA0B-4318-95EA-AB6FAC56114F}

    C:\>