TechBuzzPro

Change a PC's MAC Address in Windows – Guide

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step‑By‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can change a PC's MAC address in Windows by editing the network adapter’s advanced properties or by adding a registry entry, and the change takes effect after a simple disable/enable cycle.

What You'll Need

  • Administrator access on the Windows machine.
  • The MAC address you want to assign (must be a 12‑digit hexadecimal string, e.g., 00A1B2C3D4E5).
  • Basic familiarity with Device Manager or the Windows Registry.
  • A backup method (system restore point or registry export) in case you need to revert.

Step‑By‑Step

  1. Open Device Manager. Press Win + X and choose Device Manager from the menu. (Menu names may vary slightly between Windows 10 and Windows 11.)
  2. Locate the network adapter whose MAC you wish to change. Expand the Network adapters section and right‑click the appropriate adapter, then select Properties.
  3. Switch to the Advanced tab. In the Property list, find an entry named Network Address or Locally Administered Address. Not all adapters expose this property; if it is missing, you will need to use the registry method.
  4. Select the Network Address property and choose the Value radio button. Enter the new MAC address as a continuous string of twelve hexadecimal characters without separators (e.g., 00A1B2C3D4E5).
  5. Click OK to close the dialog. The change will not be applied until the adapter is reset.
  6. Disable and then re‑enable the network adapter: right‑click the adapter in Device Manager and choose Disable device, wait a few seconds, then choose Enable device.
  7. Verify the new MAC address. Open a Command Prompt (run as administrator) and type ipconfig /all. Under the adapter’s details, the Physical Address line should now show the address you entered.
  8. If the Network Address property was unavailable, use the registry method. Press Win + R, type regedit, and press Enter. Accept the UAC prompt if it appears.
  9. Navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}. This GUID corresponds to network adapters; you will see several sub‑keys named 0000, 0001, etc.
  10. Identify the correct sub‑key by checking the DriverDesc value, which contains the adapter’s name. Click each sub‑key until you find the matching description.
  11. Within that sub‑key, create a new String Value named NetworkAddress (if it does not already exist). Right‑click the right pane, choose New → String Value, and name it exactly NetworkAddress.
  12. Double‑click the newly created NetworkAddress entry and set its data to the desired 12‑digit MAC address (e.g., 00A1B2C3D4E5). Click OK.
  13. Close Registry Editor and restart the computer, or alternatively disable and re‑enable the network adapter as described in step 6.
  14. After reboot, open a Command Prompt and run ipconfig /all again to confirm the change. The Physical Address should now reflect the new value.
  15. If you ever need to revert, delete the NetworkAddress string or clear its data, then restart or re‑enable the adapter.

Common Mistakes

One frequent error is entering the MAC address with colons, dashes, or spaces (e.g., 00:A1:B2:C3:D4:E5). Windows expects a plain twelve‑character string, so the change will be ignored if separators are present. Another mistake is using a MAC address that conflicts with another device on the same network; this can cause IP‑address conflicts or connectivity loss. Finally, editing the wrong registry sub‑key (choosing the wrong 000x folder) will have no effect or could affect a different adapter.

Tips

  • Always create a system restore point before touching the registry. In the Start menu, search for Create a restore point, click System Protection, and use Create….
  • Use a MAC address that starts with 02 or 06 in the first octet; these indicate a locally administered address and reduce the chance of colliding with manufacturer‑assigned addresses.
  • If the adapter’s driver does not expose the Network Address property, update the driver from the manufacturer’s website; newer drivers often add the option.
  • After changing the MAC, flush the ARP cache with netsh interface ip delete arpcache to avoid stale entries on the local network.
  • For virtual adapters (e.g., Hyper‑V, VPN), the same steps apply, but you may need to adjust settings inside the virtualization software as well.

Troubleshooting

Step 1 – Restart the adapter: The most common reason a new MAC does not appear is that the adapter was not fully reset. Disable and enable it again, or reboot the PC.

Step 2 – Verify the correct registry key: Double‑check the DriverDesc value to ensure you edited the correct 000x sub‑key. If you edited the wrong one, the change will not be applied.

Step 3 – Check driver compatibility: Some network cards (especially older Intel or Broadcom models) ignore the NetworkAddress entry. Updating the driver or using the Device Manager method is recommended.

Step 4 – Look for duplicate MACs: Use arp -a on another machine on the same subnet to see if the new address is already in use. If a duplicate exists, choose a different address.

Step 5 – Reset network stack: Run the following commands in an elevated Command Prompt: netsh winsock reset and netsh int ip reset, then restart. This can clear lingering configuration that blocks the new MAC.

If none of the above resolves the issue, consider uninstalling the network adapter from Device Manager (choose Uninstall device and check “Delete the driver software for this device”), then reinstall the driver fresh from the manufacturer.

Frequently Asked Questions

Can I change the MAC address of a wireless adapter?

Yes. The same Device Manager or registry steps work for Wi‑Fi adapters, provided the driver exposes the Network Address property.

Do I need third‑party software?

No. Windows includes all the tools required; third‑party utilities merely automate the same registry edits.

Will the change survive a Windows update?

Typically, yes. The registry entry remains unless the update replaces the network driver. After a major driver update, you may need to re‑apply the custom address.

Is it legal to spoof a MAC address?

Changing a MAC address for legitimate purposes—such as testing, privacy, or network configuration—is legal in most jurisdictions. Using a spoofed address to bypass security policies or impersonate another device may violate laws or terms of service.

What if the MAC address reverts after a reboot?

Make sure you created the NetworkAddress string as a String Value, not a DWORD, and that the value contains exactly twelve hexadecimal characters. Also verify that no group policy or security software overwrites the setting at startup.

Can I set a random MAC address each time I connect?

Windows does not have a built‑in randomization feature for Ethernet adapters, but the Wi‑Fi adapter includes a “Random hardware addresses” toggle in Settings > Network & Internet > Wi‑Fi > Manage known networks (available in recent Windows 10/11 builds).