Share via


How to de-activate 'Use random hardware addresses'

Question

Monday, May 27, 2019 9:16 AM

We have found some computers enabled 'Use random hardware addresses' on their computers and it is making problem on our authentication system and DHCP pools, how to de-activate the button on the all users wifi? how to push it through GPO?

  Found couple steps that disable it on gpedit on the client but we want to push it through GPO to all users.

All replies (6)

Tuesday, May 28, 2019 1:16 AM

There is as such no GPO settings.

You may go through Registry editing

S.Sengupta,Microsoft MVP Windows and Devices for IT, Windows Insider MVP


Tuesday, May 28, 2019 2:19 AM

Hello,

I agree with S.Sengupta that there is no such GPO setting.

There are many scripts on the Internet about turning this option off. You can create a GPO and pick a script to push it as a Startup script to other users.

Configure a Computer Startup Script

Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Best Regards,

Leon

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Wednesday, May 29, 2019 8:06 AM

We can push the script but the work around itself is quite complicated, if you check that web of regedit you will see that need to put MAC address of the WLAN card to disable which is not possible to do many users. Microsoft should have create a patch on this!


Wednesday, May 29, 2019 9:21 AM

Hi,

You can modify the content of the script to achieve your needs.

First obtain the MAC address of the wireless network card, and then disable that option based on the MAC address.

Best Regards,

Leon

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Thursday, May 30, 2019 12:47 AM

Hi Leon,

    How would i collect 3000 computers real wifi mac address(all of them enabled option and the mac addresses changing every minutes) and then prepare GPO and push back? 


Thursday, May 30, 2019 3:08 AM

Hi,

What configuration did you do to make the MAC address change every minute?

You can use a script to get the MAC address of the NIC, but I'm not sure if we can get the MAC address of a particular NIC.

This is just an idea because there really is no specific GPO to meet your needs.

You may get an exact answer to the scripting question in the PowerShell forum.

Best Regards,

Leon

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].