• Guest, The rules for the P & N subforum have been updated to prohibit "ad hominem" or personal attacks against other posters. See the full details in the post "Politics and News Rules & Guidelines."

How do I override the MAC address of my WiFi antenna?

chrstrbrts

Senior member
Aug 12, 2014
522
3
81
Hi,

I have a laptop running Windows 7, and it has wireless capability as well as an Ethernet jack for wired internet connectivity.

Both have MAC addresses that I've managed to change by running small powershell scripts I've written.

The scripts go into the registry and change the network addresses.

I then disable and re-enable the devices in device manager, and the new MAC addresses are reflected when I call ipconfig /all in powershell.

Now, I have a brand new WiFi antenna I just purchased, a Signal King SK-11TN.

I've tried to do the same exact thing to change its MAC address, but to no avail.

The MAC address stays the same in ipconfig /all no matter what I do.

What am I missing?
 

chrstrbrts

Senior member
Aug 12, 2014
522
3
81
1. Antenna does have MAC Address.
Yes, mine does.

What you got is a Wireless USB Network Adapter.
My WiFi antenna?

Yes, it plugs into a USB port, but is listed under network adapters by device manager.

2. It seems that you are confusing between MAC Address and IP.
No, I'm not.

I know what both are, and I'm aware of their differences.

MAC Address is unique to each device and set in the factory.
Yes, I'm fully aware that MAC addresses are burned on ROM chips or in ROM registers within chips.

Though, you can override the permanent MAC address in software by writing to a data structure that I presume lays within the purview of the operating system.

That is how my scripts work.

IP depends on the Wireless Router DHCP (or static assigned in the computer).
I understand that as well, but that has nothing to do with my question.

My question stands:

Why can I override the MAC address of my wireless card and ethernet device, but not my USB WiFi antenna?
 
Last edited:

chrstrbrts

Senior member
Aug 12, 2014
522
3
81
whats the script look like?
Here's a copy:

do{
$b = Get-Content E:\oui.txt | Measure-Object -line
$c = Get-Random -minimum 1 -maximum ($b.Lines)
$d = (Get-Content E:\oui.txt)[$c].Substring(5,6).ToUpper()
$d
$z = Get-Random -input "2","6","A","E"
$d = $d.Substring(0,1) + $z + $d.Substring(2,4)
$e = '{0:X6}' -f (Get-Random -minimum 0 -maximum 16777217)
$f = "$d$e"
$f
}
while($f -eq 'original burned MAC address goes here but I'm not making it public here :)')
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0029' -Name NetworkAddress -Value $f

This works fine for the adapters that came with the computer.

Of course, the registry folder is different for the other devices.
 

ASK THE COMMUNITY