Skip to content

Instantly share code, notes, and snippets.

@1951FDG
Last active January 18, 2025 11:06
Show Gist options
  • Save 1951FDG/c427d318165e81e358c3 to your computer and use it in GitHub Desktop.
Save 1951FDG/c427d318165e81e358c3 to your computer and use it in GitHub Desktop.
Reset audio settings
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist
sudo rm -rf /Library/Preferences/Audio/com.apple.audio.SystemSettings.plist
sudo rm -rf /Library/Preferences/Audio/com.apple.audio.DeviceSettings.plist
sudo rm -rv /Library/Preferences/com.apple.audio.DeviceSettings.plist
sudo rm -rv /Library/Preferences/com.apple.audio.SystemSettings.plist
sudo rm -rv ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist
sudo rm -rv ~/Library/Preferences/ByHost/com.apple.MIDI.0016174ee065.plist
sudo rm -rv ~/Library/Audio/MIDI Configurations/Default.mcfg
@dantaeusb
Copy link

dantaeusb commented Jan 22, 2024

Instead of /Users/administrator/ you'll probably need to use ~/, so sudo rm -rv ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist
Yes, it seems to be relevant 11 years later. I've had constant coreaudiod crashes on M1 mac, after doing that haven't seen a crash report for 5 days already.

@ADeshwaal
Copy link

Hello, the first line is giving trouble it says :
"Unload failed: 5: Input/output error
Try running launchctl bootout as root for richer errors." idk wtf is this can u help me

@KaushikShee
Copy link

Hello, the first line is giving trouble it says : "Unload failed: 5: Input/output error Try running launchctl bootout as root for richer errors." idk wtf is this can u help me

same with me also

@Thanatos9520
Copy link

@KaushikShee @ADeshwaal I have the same error,. do you can resolve?

@gabrielcostarep
Copy link

On my macbook only the files in the /Library/Preferences/Audio/ folder exist, is there any way to download the other files again?

@ADeshwaal
Copy link

ADeshwaal commented Aug 17, 2024 via email

@ADeshwaal
Copy link

Hello, the first line is giving trouble it says : "Unload failed: 5: Input/output error Try running launchctl bootout as root for richer errors." idk wtf is this can u help me

same with me also

I'm sorry bros, even I don't know a way to get out of this..

@rohan001agravanshi
Copy link

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist

sudo rm -rf /Library/Preferences/Audio/com.apple.audio.SystemSettings.plist
sudo rm -rf /Library/Preferences/Audio/com.apple.audio.DeviceSettings.plist

sudo rm -rv /Library/Preferences/com.apple.audio.DeviceSettings.plist
sudo rm -rv /Library/Preferences/com.apple.audio.SystemSettings.plist

sudo rm -rv ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist

sudo rm -rv ~/Library/Preferences/ByHost/com.apple.MIDI.0016174ee065.plist
sudo rm -rv ~/Library/Audio/MIDI Configurations/Default.mcfg

sudo rm -rv ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist

@aacAlfonsus
Copy link

Hello, the first line is giving trouble it says : "Unload failed: 5: Input/output error Try running launchctl bootout as root for richer errors." idk wtf is this can u help me

Mine also.. did anyone can help please? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment