WiFi Advanced Settings replacement command for airport

thatmac
New Contributor

Previously you could use the the airport prefs command to edit things like RequireAdminNetworkChange and RequireAdminPowerToggle (WiFi > Advanced > Require administrator authorisation to change betwork & turn WiFi on and off)

With macOS 14 this command is now deprecated and doesn't do anything. What is the "new" way to set these settings (Either by script/command or by configuration profile)

1 ACCEPTED SOLUTION

cbrewer
Valued Contributor II

The new way is with a config profile. Apple has the profile documented here:
https://developer.apple.com/documentation/devicemanagement/wifimanagedsettings

That being said, there is a known issue where this profile doesn't work in macOS 14.4/14.5. If you're part of AppleSeed, I would suggest testing it with macOS 14.6 beta.

View solution in original post

2 REPLIES 2

cbrewer
Valued Contributor II

The new way is with a config profile. Apple has the profile documented here:
https://developer.apple.com/documentation/devicemanagement/wifimanagedsettings

That being said, there is a known issue where this profile doesn't work in macOS 14.4/14.5. If you're part of AppleSeed, I would suggest testing it with macOS 14.6 beta.

mm2270
Legendary Contributor III

Thanks for this info. I'd been looking for a replacement for this WiFi commands for a while now.

I tested the profile options out quickly, and you're right, it doesn't work on 14.5 (didn't test on 14.4.x). Hopefully Apple will fix this so we can start using it on the next OS release. Especially given they yanked away the old reliable scripted method of doing it.