14

I have a local network in a Windows system where the Admin gives permission to the PCs by their MAC address. But he is on vacations and I have a new PC.

How can I change the MAC address of my new PC to have the same MAC address as the old one?

I know this can be used for spoofing the address, but this is local, so I don't think I will have a problem.

8
  • 8
    Ugh. I hate it when people do that. I've been the unlucky person that ended up troublshooting network failures due to multiple identical MAC addresses on the same broadcast domain. MAC address cloning is evil, please don't do that unless people are dying all around you you have absolutely no other option to save them. :-) Oct 2, 2009 at 12:57
  • 4
    @Brian, you downvoted b/c his Admin is on vacation?
    – hyperslug
    Oct 2, 2009 at 13:07
  • 2
    What do you advise Brian? Oct 2, 2009 at 17:42
  • 1
    Clone the old PC's but add 1. or 2. or whatever. MACs are pretty random, it's not likely you'll have 2 sequential on the same network. Oct 2, 2009 at 17:55
  • 4
    @Artur, you could also swap the MAC addresses of two PC's to prevent collision, if someone inadvertently plugged the old one back in.
    – hyperslug
    Oct 2, 2009 at 21:49

8 Answers 8

6

I have used these instructions in the past and they work great

There’s a C++ command-line utility called Macshift that allows Windows XP users to change their MAC address to any other valid address. I’ve written about how to use it and how to create shortcuts to change your MAC address on-the-fly. I’ll first explain how to use Macshift for any MAC change, then I’ll show you how to make Windows shortcuts using the command-line options. I’ve also made a small script to make it easier to use, but the script isn’t necessary. Macshift usage
Macshift is a command-only utility, so you need to learn the options to use it.

1
  • 3
    note the Macshift program is listed WinXP ONLY. Oct 2, 2009 at 8:49
21

From Here

Method 1:

This is depending on the type of Network Interface Card (NIC) you have. If you have a card that doesn't support Clone MAC address, then you have to go to second method.

a) Go to Start->Settings->Control Panel and double click on Network and Dial-up Connections.

b) Right click on the NIC you want to change the MAC address and click on properties.

c) Under "General" tab, click on the "Configure" button

d) Click on "Advanced" tab

e) Under "Property section", you should see an item called "Network Address" or "Locally Administered Address", click on it.

f) On the right side, under "Value", type in the New MAC address you want to assign to your NIC. Usually this value is entered without the "-" between the MAC address numbers.

g) Goto command prompt and type in "ipconfig /all" or "net config rdr" to verify the changes. If the changes are not materialized, then use the second method.

h) If successful, reboot your system.

Method 2:

This should work on all Windows 2000/XP systems

a) Go to Start -> Run, type "regedt32" to start registry editor. Do not use "Regedit".

b) Go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}". Double click on it to expand the tree. The subkeys are 4-digit numbers, which represent particular network adapters. You should see it starts with 0000, then 0001, 0002, 0003 and so on.

c) Find the interface you want by searching for the proper "DriverDesc" key.

d) Edit, or add, the string key "NetworkAddress" (has the data type "REG_SZ") to contain the new MAC address.

e) Disable then re-enable the network interface that you changed (or reboot the system).

Method 3:

Use the program Etherchange

Method 4: ( windows 9x)

Use the same method as Windows 2000/XP except for the registry key location is "HKEY_LOCAL_MACHINE\System\ CurrentControlSet\Services\Class\Net" and you must reboot your system.

5
  • 1
    There was no need to delete the answer. Nov 6, 2009 at 17:35
  • regedt32 is a stub that launches regedit on >=XP.
    – Hello71
    Sep 20, 2010 at 1:55
  • @BrandonWang, Except it doesn't work. At least for some network adapters: superuser.com/a/63618/78897
    – Pacerier
    Apr 7, 2015 at 12:38
  • @joe, What does rdr mean?
    – Pacerier
    Apr 7, 2015 at 12:39
  • Any success with this recently? Does not seem to work anymore...
    – Demiurg
    Nov 8, 2016 at 11:29
4

It is worth mentioning that in a MAC address the least significant bit of the first octet is a multicast flag (multicast addresses have it set to 1), so the adapter's address should normally have it set to 0. This means that valid values of the first octet must end with 0, 2, 4, 6, 8, A, C or E.

Moreover, the second-least-significant bit of the first octet is used to distinguish between globally and locally administered addresses (if it is 1, the address is locally administered), and certain adapters (e.g. Intel Wireless) may enforce this by not allowing to change the address to another "globally unique" one. Hence, the value of the first octet must end with 2, 6, A or E.

2
  • It is not clear to me what you mean by "ending with". Are you talking about the value of the second digit? What about the first? Would a value of 22 for the first octet be valid? Aug 8, 2020 at 12:41
  • Yes, the value of the second digit. As only the two least significant bits have special meanings, there are no restrictions on the value of the first one.
    – gino0631
    Mar 28, 2021 at 22:33
3

Go into properties for Network Connection. Click "Configure" next to desired network adapter and on Advanced tab you should have one field for MAC address. Usually it is named "Address", "Locally Administered Address" or something similar. There you have text box in which you can type desired MAC.

Take care that you turn off original PC (or change it's MAC also).

2
  • +1 for not needing to install anything.
    – hyperslug
    Oct 2, 2009 at 9:47
  • 1
    "Network Address" is another common name for the field. Oct 2, 2009 at 9:57
3

You could use the Technitium MAC Address Changer

3

A very important note for Windows 7 users: MAC spoofing only works with windows 7 if the new MAC's second hex digit is one of the following: 2,6,A,E.

3
2

You don't specify your OS, so I'm assuming a Windows flavor. Here's a decent writeup of changing MACs on Windows as well as a wide variety of other systems.

Note that that page and Systech's link both recommend a program called Macshift that's listed as WinXP ONLY.

2

Some network adapters allow you to change the MAC address of a network adapter through their configuration dialog:

enter image description here

An example is shown in this screencast. But please keep in mind that this doesn't relate to all network adapters!

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .