WiFi Advanced Settings replacement command for airport

thatmac
New Contributor II

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

3 REPLIES 3

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.

So how do you actually upload this to jamf? I copied the text, i changed all the fancy quotation marks to regular ones and saved it as a .mobileconfig file. However when i upload that file, there are no preferences actually set...

 

wifichallenges_0-1724433871038.png

 

EDIT: i just actually tested it on a machine, and even though it does not show any settings the policy DOES work. You do have to use notepad++ find and replace to replace all the fancy quotes before it works.

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.