Sound often randomly disappears from menu bar System Preferences &gt; Show volume in menu bar often randomly unchecks itself since upgrading to Big Sur.
Very annoying to look to change my volume or sound output, then find it missing from the menu bar.
How can I stop this from happening?
System Preferences &gt; Show volume in menu bar often randomly unchecks itself since upgrading to Big Sur.

If it's a bug, I would provide feedback to Apple at: https://www.apple.com/feedback/macos.html

How can I stop this from happening?

If under System Preferences &gt; Dock &amp; Menu Bar &gt; Sound &gt; Show in Menu Bar is checked and set to [always], not [when active], then sorry no, I do not know how to stop it from happening, however, I can offer a workaround that will automatically restore the icon to the menu bar when it disappears.
This is done using a Launch Agent and a shell script using osascript to run some AppleScript code that will click the checkbox with it gets unchecked.
In Terminal, assuming the pwd is your Home directory:
touch checkSoundMenu; open -e checkSoundMenu; chmod +x checkSoundMenu

Copy and paste the following example shell script code into the opened checkSoundMenu document and then save and close the document.
Back in Terminal:
sudo mv -v checkSoundMenu /usr/local/bin/
sudo -k


Example shell script/AppleScript code:
#!/usr/bin/osascript

set thePropertyListFilePath to POSIX path of ¬
    (path to preferences from user domain) &amp; ¬
    &quot;com.apple.controlcenter.plist&quot;

tell application &quot;System Events&quot; to ¬
    tell property list file thePropertyListFilePath to ¬
        set soundIsVisible to value of ¬
            property list item &quot;NSStatusItem Visible Sound&quot;

if soundIsVisible then
    return
else
    if running of application &quot;System Preferences&quot; then
        try
            tell application &quot;System Preferences&quot; to quit
        on error
            do shell script &quot;killall 'System Preferences'&quot;
        end try
        delay 0.1
    end if
    
    repeat while running of application &quot;System Preferences&quot; is true
        delay 0.1
    end repeat
    
    tell application &quot;System Preferences&quot;
        run
        set current pane to pane id &quot;com.apple.preference.sound&quot;
    end tell
    
    tell application &quot;System Events&quot;
        tell front window of application process &quot;System Preferences&quot;
            repeat until (exists checkbox &quot;Show volume in menu bar&quot;)
                delay 0.01
            end repeat
            click checkbox &quot;Show volume in menu bar&quot;
            delay 0.1
        end tell
    end tell
    
    tell application &quot;System Preferences&quot; to quit
end if


With the shell script taken care of, create the Launch Agent in Terminal, assuming the pwd is your Home directory:
cd Library
[ ! -d LaunchAgents ] &amp;&amp; mkdir LaunchAgents
cd LaunchAgents
touch com.my.menu.bar.sound.plist
open -e com.my.menu.bar.sound.plist

Copy and paste the following example XML Plist code into the opened com.my.menu.bar.sound.plist document and change you in the value for WatchPaths to your Home directory, then save and close the document.
Back in Terminal:
launchctl load com.my.menu.bar.sound.plist


Example XML Plist code:
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;
&lt;plist version=&quot;1.0&quot;&gt;
&lt;dict&gt;
    &lt;key&gt;Label&lt;/key&gt;
    &lt;string&gt;com.my.menu.bar.sound&lt;/string&gt;
    &lt;key&gt;ProgramArguments&lt;/key&gt;
    &lt;array&gt;
        &lt;string&gt;/usr/local/bin/checkSoundMenu&lt;/string&gt;
    &lt;/array&gt;
    &lt;key&gt;RunAtLoad&lt;/key&gt;
    &lt;false/&gt;
    &lt;key&gt;WatchPaths&lt;/key&gt;
    &lt;array&gt;
        &lt;string&gt;/Users/you/Library/Preferences/com.apple.controlcenter.plist&lt;/string&gt;
    &lt;/array&gt;
&lt;/dict&gt;
&lt;/plist&gt;


Notes:
The use of this workaround will require changes to System Preferences &gt; Security &amp; Privacy &gt; Privacy &gt; Accessibility in that osascript needs to be added and checked. You should be prompted for this when the checkSoundMenu shell script runs for the first time when the com.apple.controlcenter.plist file is changed, e.g.:

&quot;osascript&quot; wants access to control &quot;System Preferences&quot; Allowing control will provide access to documents and data in &quot;System Preferences&quot; and to perform actions within that app. -- Click: [OK]

&quot;osascript&quot; wants access to control &quot;System Events&quot;. Allowing control will provide access to documents and data in &quot;System Events&quot; and to perform actions within that app. -- Click: [OK]

&quot;osascript&quot; would like to control this computer using accessibility features. Grant access to this application in Security &amp; Privacy preferences, located in System Preferences. -- Click: [Open System Preferences]

Click the Lock, enter your credentials, and check: [√] osascript




You should of course trigger this manually the first time by unchecking the Show volume in menu bar checkbox in: System Preferences &gt; Sound
I would toggle it a couple of times to make sure the Launch Agent is working as desired so when it does trigger naturally it works as expected.

This was tested and worked for me in macOS Big Sur with System Preferences &gt; Language &amp; Region set to English (US).

Reverting Changes
To completely undo the changes made by this, in Terminal:
cd ~/Library/LaunchAgents
launchctl unload com.my.menu.bar.sound.plist
rm com.my.menu.bar.sound.plist
cd /usr/local/bin
sudo rm checkSoundMenu

In System Preferences &gt; Security &amp; Privacy &gt; Privacy &gt; Accessibility uncheck and remove osascript if not being used otherwise.