How to change MAC address with batch file on Windows 7?

Issue

I want to change with simple click (using a batch file) the MAC address of my wireless device. How I’ll accomplish this? It needs to choose a random MAC address.

Solution

I am not sure if this is completely correct but it would be something like:

In a .reg file

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0009]
"NetworkAddress"="000011112222"

The 0009 would have to change to match the address you your adapter.

Answered By – Axis

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published