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

Disable microphone?

We have several Macs in a lab where the microphone must be disabled. Not turned down, not oops I launched XYZ and it magically turned on again, not well the output isn't stored anywhere... it has to not work, and it has to not start working. Obviously, cracking open the case with little wire cutters or a soldering iron is a little extreme :-)

With some of the older Macs or versions of OS X, someone had identified kernel extensions that drove the mic and removed them, and some of the maintenance scripts check for those kexts reappearing after updates and move them again. This is less than optimal, as it's possible an update might be applied and then the script either isn't run or bombs out, and the mic is left active. That's unacceptable.

On some of the newer Macs, I was told that one next drove both the microphone and the speakers, and they'd like to keep the speakers working. So I've been poking around a little.

On my iMac running 10.7.5, I can:

osascript -e "set volume input volume 0 --mute"

However, running a similar command or just grabbing the slider can turn it back up again. I'd like to find a way to "lock" that, or grey it out, at least for unprivileged users, but something that permanently lobotomizes it would be fine too. I was poking around in /System/Library/PreferencePanes/Sound.prefPane/ but there's nothing I can identify as the appropriate setting or file.

Mac OS X (10.7.5)

Posted on Nov 28, 2012 2:59 PM

Reply
5 replies

May 28, 2013 2:50 PM in response to Eric Root

I can't. My account hasn't been able to file bug reports since ever. They know about it, they say lots of other people have the same problem, they've just given up on fixing it.


If it isn't a shiny iGadget, Apple simply doesn't care. I've given up on trying to track and report the slew of problems, bugs, oddities, etc. I encounter in OSX.

May 28, 2013 3:30 PM in response to jnojr

Hi jnojr,


What you can do is run an application that keeps the volume down. put your script in an AppleScript idle handler. Save this as a stay open app:



on idle


beep 3

if output volume of (get volume settings) > 0 then


set volumeoutput volume 0

end if

-- idle 5 seconds

return 5

end idle


Hide the app. Decrementing the sound so the user doesn't suspect what's happening might work also. 😉

Disable microphone?

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