Change MAC addresses (Media Access Control) network adapter in Windows 10 It may be needed for a variety of tasks, from bypassing ISP restrictions to testing network security. This unique identifier, hardwired into each network chip, usually remains unchanged, but the operating system allows it to be replaced via software. It's important to understand that this procedure isn't always secure and can lead to connection issues if performed incorrectly.
In this article, we will look at three main methods for changing the MAC address of a Wi-Fi adapter: via device Manager, editing Windows registry and use PowerShellEach method has its own nuances, ranging from temporary effects to permanent changes, so choose the method based on your goals. We'll also discuss why some adapters don't support MAC address changes, and what to do if you lose your network connection after making changes.
Before you begin, please note: Some Internet providers bind network access to the device's MAC address, and changing it can lead to the connection being blocked until re-authorization.If you're unsure about the consequences, first check your provider's policy or use a temporary substitution method.
What is a MAC address and why change it?
MAC address (from English. Media Access Control) is a unique 48-bit identifier assigned to each network device at the manufacturing stage. It consists of six pairs of hexadecimal numbers (for example, 00:1A:2B:3C:4D:5E) and is used to identify devices on a local network. Unlike an IP address, which can change, a MAC address usually remains constant.
The main reasons for changing it are:
- 🔒 Bypassing network restrictions: Some public Wi-Fi networks or corporate networks block devices by MAC address after exceeding the traffic limit or usage time.
- 🛡️ Security testing: Cybersecurity professionals often spoof MAC addresses to test network vulnerabilities.
- 🔄 Troubleshooting DHCP: If the router has "remembered" the old MAC and is not issuing an IP address, changing the MAC may help.
- 📡 Emulate another device: for example, to connect to a network where access is allowed only to certain devices.
However, there are also risks:
- ⚠️ Violation of provider rules: Some ISPs record the MAC address when you first connect and may block access if it changes.
- ⚠️ Driver issues: Not all network adapters support changing MAC at the software level.
- ⚠️ Lost connection: An incorrectly entered address may render the adapter inoperable until the settings are reset.
⚠️ Attention: Changing your MAC address may be considered a violation of some internet service providers' user agreements. Please check your plan's terms and conditions before proceeding.
Method 1: Change the MAC address via Device Manager
The easiest and safest way is to use built-in tools Windows 10This works for most Wi-Fi adapters and doesn't require administrator rights (if you're already logged in with an account with the appropriate privileges). The effect of this change is temporary and resets after rebooting or disconnecting the adapter.
Step-by-step instructions:
- Open
device Manager: clickWin + Xand select the appropriate item. - Expand the branch
Network adaptersand find your Wi-Fi module (usually the name contains the words Wireless, Wi-Fi or the chip model, for example Intel Wi-Fi 6 or Qualcomm Atheros). - Right click on the adapter and select
Properties. - Go to the tab
Additionally. - On the list
Propertyfind the itemNetwork address(Network Address or Locally Administered Address). If it is not there, your adapter does not support changing the MAC using this method. - In the field
Meaningenter a new MAC address without separators (For example,001A2B3C4D5E). - Click
OKand reboot the adapter (turn Wi-Fi off/on or restart the PC).
How to check if the address has changed:
- Open
Command line(Win + R→ entercmd→Enter). - Run the command:
ipconfig /all - Find the block with the name of your Wi-Fi adapter and check the line
Physical address.
Make a backup copy of the current MAC address | Check if the adapter supports the MAC change function | Prepare a new MAC address (12 hexadecimal characters) | Disable the antivirus (it may block changes) | Make sure the power supply is stable (do not interrupt the process) -->
⚠️ Attention: Some adapters (especially in laptops) Dell or HP (With proprietary drivers) may ignore manual MAC changes. In this case, try registry or PowerShell methods.
Method 2: Changing MAC via Windows Registry
If your adapter does not support changing MAC via device Manager, you can try to change it through Windows registryThis method is more versatile, but requires caution—incorrect actions can lead to system failures.
Instructions:
- Open
Registry Editor: clickWin + R, enterregeditand confirm running as administrator. - Follow the path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}The settings for all network adapters are stored here.
- Inside the folder
{4d36e972-e325-11ce-bfc1-08002be10318}find subfolders with names0000,0001etc. In each one, check the parameterDriverDesc— it contains the adapter's name. Find the folder with your Wi-Fi module. - In the right part of the window, find the parameter
NetworkAddressIf it doesn't exist, create it:- Right click →
Create→String parameter. - Name it
NetworkAddress. - Double click on it and enter the new MAC address. without separators (For example,
001A2B3C4D5E).
- Right click →
Features of the method:
- 🔄 The change is saved after reboot (unlike the Device Manager method).
- 🛠️ Works even for adapters that don't have this option
Network addressin properties. - ⚠️ A registry error can cause the adapter to stop working - make a backup before making changes (
File → Export).
Method 3: Using PowerShell to Change MAC
For experienced users, the method using PowerShellIt allows you to change the MAC address without a graphical interface and is useful for automation or remote management. Important: This method requires running as administrator.
Instructions:
- Open
PowerShellas administrator:- Click
Win + X→Windows PowerShell (Administrator). - Confirm launch in the window UAC.
- Click
Get-NetAdapter | Select Name, InterfaceDescription, MacAddress
Remember the exact name (Name) of your Wi-Fi adapter.
Disable-NetAdapter -Name "AdapterName" -Confirm:$false
Set-NetAdapter -Name "AdapterName" -MacAddress "00-1A-2B-3C-4D-5E"
Please note: there are separators here mandatory (hyphenated).
Enable-NetAdapter -Name "AdapterName" -Confirm:$false
Example for an adapter named Wi-Fi:
Disable-NetAdapter -Name "Wi-Fi" -Confirm:$falseSet-NetAdapter -Name "Wi-Fi" -MacAddress "00-1A-2B-3C-4D-5E"
Enable-NetAdapter -Name "Wi-Fi" -Confirm:$false
Advantages of the method:
- 🔧 Speed and the ability to automate through scripts.
- 📋 Precise control over the process (you can log actions).
- 🔄 Changes are applied immediately, without rebooting.
⚠️ Attention: Some antiviruses (for example, Kaspersky or ESET) may block MAC changes via PowerShell, viewing this as a potentially dangerous action. Disable network protection in your antivirus settings during this operation.
How to check if the MAC address has changed?
After using any of these methods, you need to verify that the changes have taken effect. To do this, use one of three verification methods:
| Way | Instructions | Output example |
|---|---|---|
| Command line |
|
|
| System Information |
|
Field MAC address in the adapter properties. |
| PowerShell |
|
|
| Third-party utilities | Programs like Wireshark or Technitium MAC Address Changer show the current MAC. | Utility interface with a field Current MAC. |
If the address has not changed:
- 🔄 Try another method (for example, if Device Manager doesn't work, use the registry).
- 🔌 Reset the adapter: disable/enable Wi-Fi or run in PowerShell:
Restart-NetAdapter -Name "Wi-Fi" - 🔧 Update your adapter driver (sometimes older versions don't support changing MAC addresses).
What should I do if the connection is lost after changing the MAC?
Sometimes, after changing your MAC address, Wi-Fi stops working. Here's how to restore the connection:
- Restore the old MAC address:
- If you changed it through
device Manager- just delete the value in the fieldNetwork addressand reboot the adapter. - If through
registry- remove the parameterNetworkAddressor return the original value.
- If you changed it through
netsh int ip reset
netsh winsock reset
Then restart your PC.
- Open
device Manager. - Find your Wi-Fi adapter → right click →
Update driver. - Select
Automatic search. - Check your router settings:
- Some routers (eg. TP-Link or ASUS) have a MAC binding feature. If you've changed the address, you may need to whitelist it in your router settings (
192.168.0.1or192.168.1.1).
- Some routers (eg. TP-Link or ASUS) have a MAC binding feature. If you've changed the address, you may need to whitelist it in your router settings (
Why might a router block a new MAC address?
Many routers use the function MAC filtering to restrict network access. If the "Allow only specified devices" mode is enabled in your router settings, then after changing the MAC address, your PC will not be able to connect until the new address is added to the list of allowed devices. To check this, go to the router's web interface (usually at 192.168.0.1 or 192.168.1.1), find the section MAC Filter or Wireless Mode → MAC Filter and add the new address to the whitelist.
If none of the methods helped, try:
- 🔧 Roll back the adapter driver to the previous version.
- 📥 Install the driver from the manufacturer's website (not via Windows Update).
- 🔄 Reset network settings to factory defaults:
netsh int ip reset allnetsh int tcp reset all
netsh int udp reset all
What MAC addresses can be used?
Not all combinations are suitable for changing your MAC address. Here are the key rules:
- 🔢 Format: 12 hexadecimal characters (numbers
0-9and lettersA-F), usually separated into pairs by separators (:,-or without them). Examples:00:1A:2B:3C:4D:5E00-1A-2B-3C-4D-5E001A2B3C4D5E
- 📌 Locally Administered Bit: the second character in the pair must be even (
0, 2, 4, 6, 8, A, C, E). For example,02:1A:2B:3C:4D:5E- correct, but01:1A:2B:3C:4D:5E— No. This signals to network devices that the address has been changed programmatically. - ❌ Prohibited addresses:
- Multicast addresses (first byte
01, For example01:00:5E:XX:XX:XX). - Broadcast address (
FF:FF:FF:FF:FF:FF). - Addresses with zero manufacturer (
00:00:00:XX:XX:XX).
- Multicast addresses (first byte
Where can I get a new MAC address?
- 🎲 Generate random: use online generators (eg MiniWebTool) or the command in PowerShell:
$newMac = -join ((0..5) | ForEach-Object { "{0:X2}" -f (Get-Random -Minimum 0 -Maximum 255) }) -replace '(.{2})', '$1-'$newMac = $newMac.TrimEnd('-')
$newMac = $newMac.Substring(0, 2) + ($newMac.Substring(2, 1).Replace('1','2').Replace('3','2').Replace('5','6').Replace('7','8').Replace('9','A').Replace('B','C').Replace('D','E').Replace('F','E')) + $newMac.Substring(3)
$newMacThis script generates the correct address taking into account the locally administered bit.
- 🔄 Copy from another device: for example, from a phone or a second PC (you can find out through
ipconfig /allon Windows or in network settings on Android/iOS). - 📋 Use backup: Some adapters allow you to restore the factory MAC via BIOS/UEFI (relevant for laptops) Lenovo or Acer).
FAQ: Frequently asked questions about changing your MAC address in Windows 10
❓ Is it possible to change the MAC address on all Wi-Fi adapters?
No, not all of them. Some adapters (especially those built into laptops) have software-level protection against MAC address changes. It also depends on the driver: for example, adapters Broadcom often block the shift, and Intel or Realtek Usually supported. Check for this option. NetworkAddress in the registry or Device Manager.
❓ Will the MAC address reset after reinstalling Windows?
Yes, if you changed it through device Manager or PowerShellThese methods provide temporary results. If you have used registry, then the address will be saved, since the parameter NetworkAddress remains in the system. However, a clean installation of Windows resets the registry, and the MAC will return to its factory settings.
❓ Why doesn't the internet work after changing my MAC?
There are several reasons:
- The router uses MAC binding (add a new address to the router settings).
- Your provider is blocking unknown MAC addresses (call support and provide the new address).
- Incorrect MAC format (check that the second character in the pair is even).
- Driver failure (reinstall it).
To diagnose, run the following in the command line:
ping 8.8.8.8
ipconfig /all
If ping It works, but websites don't open - the problem is with DNS. If there is no response to ping - check your IP settings (ipconfig).
❓ Is it possible to change the MAC address on a virtual machine?
Yes, but the method depends on the type of virtualization:
- VirtualBox: open VM settings →
Net→Additionally→ fieldMAC address. - VMware: editing the VM configuration file (
.vmx) - add a lineethernet0.address = "00:1A:2B:3C:4D:5E". - Hyper-V: use PowerShell:
Set-VMNetworkAdapter -VMName "VMName" -MacAddress "001A2B3C4D5E"
❓ Is it legal to change the MAC address?
From a legal perspective, changing the MAC address itself is not prohibited, but its use may violate:
- Your internet service provider's user agreement (if it prohibits ID substitution).
- Public network rules (for example, in airports or hotels where MAC binding may be in effect).
- Cybersecurity legislation if the change is used to gain unauthorized access to other people's networks.
In most cases, changing your MAC for personal purposes (such as network testing) is not punishable by law, but if you use it to bypass restrictions, it may be considered a violation.