Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I change the "Ask to join new networks" option using a terminal command?

We are currently switching to a new wireless network throughout our school district and I have pushed commands to connect to the new and remove the old. However, any Macs that have "Ask to join new networks" enabled are jumping over to our unsecure guest network, even if that network has been removed from the list of Preferred Networks. So far the fix has been to remove the guest network from the list of Preferred Networks and then disable Ask to join. The only issue I'm running into now is I have been unable to find a terminal command to change this setting. Once I have the command I can write a script and send that out to all of the Macs.


So is there a way to disable "Ask to join new networks" using command line?

Mac OS X (10.6.8)

Posted on Nov 28, 2012 2:23 PM

Reply
Question marked as Best reply

Posted on Nov 30, 2012 10:22 AM

sed -i "" 's/Prompt/DoNothing/' /Library/Preferences/SystemConfiguration/preferences.plist

1 reply

How can I change the "Ask to join new networks" option using a terminal command?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.