How to Disable the Ubuntu ‘Alsa-utils’ Service

The Advanced Linux Sound Architecture Restorer

In Ubuntu Linux, alsa-utils provides a collection of small command-line utilities (like alsamixer) for managing the Advanced Linux Sound Architecture. More importantly, it runs a background service (alsa-restore.service) during the boot process. The sole purpose of this service is to read your previously saved audio mixer levels from a file and restore them, ensuring that your system doesn’t boot up with the speakers accidentally muted or set to maximum volume.

While this is essential for desktop computers and laptops, it is completely redundant on headless servers. If you are running an Ubuntu web server, a database, or a cloud instance that has absolutely no physical speakers, microphones, or sound cards attached, running audio restoration scripts on every boot is a waste of CPU cycles and clutters the systemd logs. To streamline a headless server, you should disable this audio management service.

How to Disable the Alsa-utils Service

Because the service is part of a larger package, the safest way to disable it is to mask the specific systemd service responsible for the restoration.

Warning: Do not perform this on a desktop or laptop. Without this service, your volume settings will not be saved between reboots.

  1. Open your Ubuntu Terminal or connect via SSH.
  2. First, check if the ALSA restoration service is currently loaded and active:
systemctl status alsa-restore.service
  1. If you are running a purely headless server and wish to remove the utilities entirely, you can purge the package:
sudo apt-get purge alsa-utils
  1. If you cannot remove the package due to dependencies (or you want to keep the utilities but stop the boot process), stop the service:
sudo systemctl stop alsa-restore.service
  1. Prevent it from starting on the next boot:
sudo systemctl disable alsa-restore.service
  1. To ensure no other audio components attempt to trigger it, mask it completely:
sudo systemctl mask alsa-restore.service

Your headless Ubuntu server will no longer attempt to manage or restore non-existent audio hardware during startup.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.