.kdtargetmac (Display Target MAC Address)

Display Target MAC Address

.kdtargetmac 

Parameters

Environment

Modes

kernel mode only

Targets

live debugging only

Platforms

all

Additional Information

Use the .kdtargetmac command to display the MAC (media access control) address of the target system.

0: kd> .kdtargetmac 

The target machine MAC address in open-device format is: XXXXXXXXXXXX

The .kdtargetmac is command is available if KDNET is enabled on the target system. Use the BCDEdit command with the /dbgsettings option to display the configuration on the target system. A debugtype of NET indicates that KDNET is configured.

C:\WINDOWS\system32>bcdedit /dbgsettings
key                     1.2.3.4
debugtype               NET
hostip                  192.168.1.10
port                    50000
dhcp                    Yes
The operation completed successfully.

For more information, see Setting Up KDNET Network Kernel Debugging Manually.

Remarks

Knowing the MAC address of the target system can be useful for network tracing and other utilities.