How to change MAC address in windows 7

Windows 7 修改 MAC 地址
本文介绍如何在 Windows 7 操作系统中修改网卡的 MAC 地址,包括通过设备属性直接更改和通过注册表编辑的方式,并提供了一个实用工具作为替代方案。

Today, I installed a software which I activated on a different PC before but it gave an error of MAC address check failure. It was actually checking MAC address from license. Right after that, I started online search for a utility to change MAC address in windows 7. In XP, there were free utilities available on internet which changed MAC address but I couldn’t find such utility for windows 7.

Here is a method of changing MAC address in windows 7, Go to Control Panel>>Network and Sharing Center>>Change Adapter Settings. Then right click the adapter whose MAC address you want to change, go to its properties.

LocalAreaConnection 

The properties window will pop up, click “configure”. Click “Advanced” tab and choose “Network Address”. Write the new MAC address in a box under Value.

ChangeMACAddress 

Please note that some of the device drivers provide an option to change the MAC address but some don’t. I have 2 network adapters, one is D-Link DUB-E100 while the other one is Broadcom NetXtreme 57xx Gigabit Controller. The former one allows to change the MAC address directly but the later one doesn’t. To change the MAC of such an adapter which doesn’t have such option, you will be required to modify in registry.

Procedure for changing MAC address through registry: 

RegistryEditor 

Step 1: Go to Start>>Run and execute “regedit” to open up a registry editor.

Step 2: Navigate as follows:

[HKEY_LOCAL_MACHINE>>SYSTEM>>CurrentControlSet>>Control>>Class>>{4D36E972-E325-11CE-BFC1-08002BE10318]

ChangingMACThroughRegistry

As the above image shows, you will see a lot of options like 000, 001 etc under 4D36E972-E325-11CE-BFC1-08002BE10318. Here you will have to choose the option which matches your current MAC address. For example, my current MAC is 00-18-8B-BA-DD-55, I will choose 0018 since the first four HEX numbers of the MAC are 00-18. When 0018 is clicked, it will show some files on the right side as shown below.

ModifyMAC

Right click the “Network Address” and choose “Modify …”. In a new window which pops up, write a new MAC under Value data.

EditString

Click OK. Disable and then enable your adapter and check your new adapter MAC via ipconfig -all command to be run on a Command prompt. That’s all !


How to change MAC-Address in Windows Registry


MAC-Address is the hardware Network Address for the NIC which is unique for the system. However, there may be time when you need to change the MAC-Address for administrative purpose on a network. Some of the device drivers come with an option to change it from the device properties but not all (like my Broadcom Gigabit Ethernet Driver). For those who do not have the luxury of changing the MAC-Address from the device properties there is a way to do this  by editing the Windows Registry.

To change MAC-Address for a Network card in Windows Registry:

1. Click Start – Run, type “regedit”

2. Navigate to

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318]

HKEY_LOCAL_MACHINE
    \SYSTEM
        \CurrentControlSet
            \Control
               \Class
                  \{4D36E972-E325-11CE-BFC1-08002BE10318}

                 
3. Under this key, you shoud see numbers in sequence as “0000″, “0001″ and so on. Click on one at a time to check the description of the device to match it with that of your Network Card. In my case (0001)

MAC-Address key in Windows Registry

4. Once found, in the right-pane, look for “NetworkAddress” key value. If you find it, right-click and select modify. Enter the desired MAC-Address as a 12 digit number (all in one, no “space” “.” or “-”)

5. If you don’t find the key, right-click in the rightpane, select “New” – “String Value”. Enter the name as “NetworkAddress”. Now modify and set the desired value.

6. Now, disable and enable the Network card from the ControlPanel – Network Connections.

This should reflect the new MAC-Address on your NIC. Should you choose to go back to the original manufacturer set MAC-Address simply delete the key you just created/modified in the Windows Registry.

MAC-Address changed after registry edit

You can also use a tool like Technitium MAC Address Changer to change the MAC-Address of your NIC



翻译下面的话 How to Modify the MAC Address of the apcli Interface on WR3012X Chip To modify the MAC address of the apcli interface on the WR3012X chip, you can follow these approaches commonly used in MT76 driver environments, which are applicable to similar Mediatek Wi-Fi chipsets: Modify EEPROM (e2p) MAC Address Fields The MAC addresses are stored in specific EEPROM offsets. For example, for MT798x and related chips, the MAC address offsets are: WF0 MAC Address: Offset 0x04 to 0x09 WF1 MAC Address: Offset 0x0A to 0x0F WF2 MAC Address: Offset 0x2C0 to 0x2C5 (for MT7996) Using UCI Commands to Set MAC Address You can also set the MAC address via UCI commands for wireless interfaces, for example: However, note that: If both EEPROM and UCI have MAC address settings, the UCI setting takes precedence. UCI settings will be cleared after factory reset, while EEPROM settings persist. Changing MAC via UCI does not modify the EEPROM content, so the MAC shown in /sys/class/ieee80211/phyX/macaddress remains the EEPROM value. Direct Echo to sysfs (Not Recommended for Persistent Change) You can temporarily change the MAC address by echoing the new MAC to /sys/class/ieee80211/phyX/macaddress, but this change is not persistent and will be lost after reboot. Also, it does not update EEPROM or UCI settings. Important Notes for apcli Interface The apcli interface MAC address is typically derived from the underlying physical interface (phyX) MAC address. To change the apcli MAC address independently, you need to modify the MAC address of the corresponding physical interface or configure it via UCI if supported. There is no direct documented method to change only the apcli interface MAC address separately from the physical interface MAC in the provided materials. Ensure no MAC address conflicts exist between interfaces to avoid connectivity issues. If you want to confirm or troubleshoot the MAC address after modification, you can check the MAC address via: cat /sys/class/ieee80211/phy0/macaddress ifconfig phy0-ap0Copy Summary Modify EEPROM MAC address bytes via atenl commands and reboot for persistent change. Use UCI commands to set MAC address for wireless interfaces, but this is not persistent after factory reset. Direct echo to sysfs is temporary and not recommended for permanent changes. apcli interface MAC address is linked to the physical interface MAC; no separate direct modification method is documented. uci set wireless.default_radio0.macaddr="00:0C:5C:7B:5C:A4" uci commit rebootCopy
最新发布
11-14
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值