Usually, if you press the Mute button (do not hold it at any time) that will set
audio to Mute on startup. On some models, it was possible for a headphone
plug to be in the audio-out jack to effectively turn off audio to built-in speaker.
Since most who reply to topics here, are not Apple employees and do not at
any time represent Apple, Inc. a better idea would be to send Feedback to
an appropriate department of the Company via their Feedback site links, as
provided on the Apple web site in various locations. Following links are from
the Apple Contact Us page: http://www.apple.com/contact/
"Tell us how we’re doing. Select the appropriate feedback option "
(we read everything, but can’t always respond):
Some of the command-line methods successes varied over time and between
different OS X system build versions. There may be some successes in how
to attempt to Mute system audio, with the AppleScript angle; that too will vary
depending on where the command was said to begin implementation... If it
was in the wrong location in the system or written incorrectly, it may not work
if the computer was not awake to run it. (Poorly written commands need repair.)
I'd try a third party tool such as Cocktail or OnyX to see if they offer a simple
tool in their tweaks that may perform this task. There is a build of either one
of these tools for each OS X. There are no guarantees, so if you suggest to
Apple Feedback your concern & question, someone will likely read through it
but you may not see a reply. And If some aspect of the OS X function appears
to have a Bug, you may seek to read about how to File a Bug report instead.
Sorry that you find issue with those who are here, as part of a user-to-user
product owner network of volunteers, who do not represent Apple and cannot
reply about any issue in authority on behalf of Apple, Inc. Almost nobody here
has an official capacity in the ASC discussions, other than Community Hosts.
So these are my recommendations for you to consider. Or not...
Good luck & happy computing! 🙂