Skip to main content
Question

Wifi turning on automatically per user

  • May 14, 2024
  • 3 replies
  • 64 views

lpaulson
Forum|alt.badge.img+3

Hi,

We have a computer lab, fully ethernet and we've always turned off wifi (using a simple JAMF policy running on startup) to avoid confusion.  We recently upgraded to Sonoma and have had reports of users complaining as the wifi is popping up asking for credentials persistently.  On further investigation we've noticed that if you turn wifi off, but then sign in with a new user, wifi is automatically turned back on.

We can fix this by changing our policy to run on 'login' as well as 'startup' but just wondered if others had observed this behaviour, and if it can be attributed to Sonoma or some other update?

Thanks,
Lawrence

3 replies

AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • May 14, 2024

Disable Wi-Fi with a Configuration Profile, not a Script. Scripts just politely ask a setting to be configured with no way to force it, Configuration Profiles actually manage the setting.

 

This is what I have used in the past.

com.apple.MCXAirPor <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DisableAirPort</key> <true/> </dict> </plist>com.apple.mcxMenuExtras <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AirPort.menu</key> <false/> </dict> </plist>

Forum|alt.badge.img+5

Anyone run into an issue where a new user on sonoma and wpa2 network prompts for wifi on log in of new user?  Could it be related?


Forum|alt.badge.img
  • New Contributor
  • March 14, 2025

Disable Wi-Fi with a Configuration Profile, not a Script. Scripts just politely ask a setting to be configured with no way to force it, Configuration Profiles actually manage the setting.

 

This is what I have used in the past.

com.apple.MCXAirPor <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DisableAirPort</key> <true/> </dict> </plist>com.apple.mcxMenuExtras <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AirPort.menu</key> <false/> </dict> </plist>

Hi this is exactly the issue I have been having, I have recently taken over Jamf support and not really familiar with setting configuration profiles. under what section of do I add the above