-
Notifications
You must be signed in to change notification settings - Fork 0
Help
This help content is adapted from the original TMAC help and limited to features currently supported by dzmac.
dzmac allows you to change, or spoof, the Media Access Control (MAC) address of a Network Interface Card (NIC) instantly. It provides a simple user interface and shows practical information about each NIC available on the machine.
Every NIC has a manufacturer-assigned MAC address hard coded into its hardware. Windows drivers normally use that address for Ethernet and LAN access. dzmac can set a new MAC address for the NIC so that Windows uses the configured value instead of the original hardware address.
For the current milestone, dzmac focuses on Windows 10 and Windows 11 on 64-bit systems.
dzmac works by writing a value into the Windows registry.
When a network adapter is enabled, Windows checks for the NetworkAddress registry value under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\[adapter-id]
If the value exists, Windows uses it as the MAC address. If it does not exist, Windows uses the original hardware MAC address provided by the manufacturer.
Some network adapter drivers also expose this capability directly in the advanced settings of the adapter properties in Windows Device Manager.
dzmac is useful when you need to test, validate, or temporarily change the MAC address presented by a network adapter. It is especially practical for administrators, lab users, and security professionals who need to work with adapter identity changes quickly and repeatedly.
- Select the target network connection in the main list.
- In Change MAC Address, enter a MAC address in hexadecimal format.
- Optional: click Random MAC Address to generate one.
- Optional: choose a vendor/manufacturer in the dropdown first, then generate a random MAC.
- Optional: enable automatic adapter reset/restart to apply changes.
- Click Change Now!.
- Select the target network connection.
- In Change MAC Address, click Restore Original.
Some wireless adapter drivers may reject MAC changes unless the address is marked as locally administered. Setting the first octet to 02 sets the local-administered bit, for example 02:11:22:33:44:55, which often works as a practical workaround on adapters that ignore other values.
Use the Use '02' as first octet of MAC address checkbox in the GUI or -r02 on the CLI. If the change still does not appear, manually disable and re-enable the adapter, or use -re, and verify the active MAC again.
- Select the network connection in the list.
- Toggle the Enabled checkbox for that row.
- Use Options > Refresh, or
- Press F5.
- Select the network connection.
- Use Action > DHCPv4 > DHCPv4 Enabled to toggle DHCPv4.
Note: dzmac preserves the current IPv4 configuration when switching DHCPv4 modes (safe-by-default behavior).
- Select the network connection.
- Use Action > DHCPv4 > Release IP or Renew IP.
- Wait for the operation to complete.
Yes. dzmac includes a vendor list update feature so you can download the latest vendor data, or OUI data, from IEEE.
dzmac supports the currently implemented MAC and IPv4-related operations exposed by the GUI and CLI. Similar to the original TMAC, dzmac supports adapter and preset capabilities.
No, not in the current milestone. IPv6 and DHCPv6 are not planned.
Yes. dzmac cannot change the MAC address of a Microsoft Network Bridge.
A Network Bridge automatically uses the original MAC address of the first NIC added to the bridge, with the first octet set to 0x02.
Usage:
dzmac -n network_connection_name [options]-
-m [mac_address]set MAC address (empty value restores original) -
-nm [mac_address]alias behavior equivalent to-m -
-rrandom MAC from vendor list -
-nrrandom MAC from vendor list (alias behavior) -
-r02random locally-administered MAC (02first octet) -
-nr02random locally-administered MAC (alias behavior)
-
-i ip/mask[,ip/mask...]set IPv4 addresses -
-g gateway/metric[,gateway/metric...]set IPv4 gateways -
-d dns[,dns...]set IPv4 DNS servers -
-henable DHCPv4 -
-rlrelease DHCPv4 lease -
-rnrenew DHCPv4 lease
-
-ssilent mode flag -
-redisable/enable adapter (reset) -
-didisable adapter -
-enenable adapter -
-rorestore original MAC record used by dzmac -
-helpdisplay CLI help
Apply a specific MAC and reset adapter:
dzmac -n "Ethernet" -m 00:01:02:03:04:05 -reApply random MAC (locally administered) and reset adapter:
dzmac -n "Wi-Fi" -r02 -reEnable DHCPv4 on a connection:
dzmac -n "Ethernet" -hRelease then renew DHCPv4 lease:
dzmac -n "Ethernet" -rl
dzmac -n "Ethernet" -rnThe original TMAC description states that command-line options expose the entire software functionality, including presets. In dzmac, the CLI exposes the currently supported dzmac feature set documented on this page. Unsupported IPv6, proxy, and installer-related TMAC topics are intentionally excluded.
The following TMAC help topics are intentionally out of scope for the current dzmac milestone:
- DHCPv6 management (
-h6,-rl6,-rn6, and other IPv6 write operations) - Internet Explorer / HTTP proxy management (
-pxyand GUI proxy settings) - TMAC installer command-line help topics
DZMAC writes logs to Windows Event logs. Review the logs to troubleshoot the problem. It may be either hardware, firmware or the driver that does not allow MAC address changes. But for more details, logs are your best resource. Check the Event Log Catalog page for a clearer understanding.
The content is derived from TMAC Help Page, but adjusted to reflect the currently supported dzmac feature set only.