How to Disable CMD/PowerShell Beep Sounds in Windows

If you are a regular user of PowerShell, then you’ll be familiar with the constant random beeps and other sounds that it makes. Though these sounds are nice in the beginning, they can get annoying really fast especially if you are someone who uses the PowerShell a lot.

disable cmd powershell beep sound

The beeping sounds from PowerShell play from the Beep service in Windows. You can disable this service to stop the sound from playing again.

Using PowerShell

  • Search for PowerShell in the Start menu search and run it as administrator.
  • In the PowerShell window, type the following command.
    Set-Service beep -StartupType disabled
  • Press Enter.
  • Restart your PC.

Using Command Prompt

  • Search for cmd in the Start menu search and run the Command Prompt as administrator.
  • Type the following commands in the cmd window.
    net stop beep
    sc config beep start= disabled
  • Press Enter.
  • Restart your PC.

Please note that if you run any of these commands without using the administrator access, you’ll get “The Beep service could not be stopped” error.