Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

How can I get my Macbook Pro Retina to not make that annoying 'bong' chime sound when booting up?

You can always hold "mute" during boot up, but that gets annoying fast if you always want the sound muted. Older systems (OS X 10.6 and below) can use StartupSound.prefPane, but that no longer works on modern Startup Ninja claims to do this, and it does, but it suffers from a bug where it will always unmute the system volume on login, even if the volume was muted when you last logged out.

Is there a way to accomplish this?

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, Kevin Panko, Excellll, Oliver Salzburg Aug 28 '14 at 9:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Some details (haven't tested, so not copying it here) – grawity May 1 '13 at 11:39
up vote 5 down vote accepted

The solution I found was to use the nvram command to set the system's audio volume to a muted value. However, you have to re-run this command on every shutdown, since the firmwaresyncd daemon will overwrite whatever value you set regularly.

  1. Create a script somewhere on your system (say called with the following content

    #!/usr/bin/env bash
    nvram SystemAudioVolume=%80
  2. Run sudo chown root; sudo chmod u+s; sudo chmod o+x (replacing with the name/location of your script.)

  3. Finally, run sudo defaults write LogoutHook /path/to/ replacing the file name/location with the full name and path to your own script.)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .