How to Disable CMD/PowerShell Beep Sounds in Windows

Last Updated on June 30, 2017

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.

Photo of author

Written by Utkarsh

Utkarsh Bhatt is a certified tech expert and software engineer for a Fortune 500 Company. He was born in 1995, making him one of the oldest members of the team at EFX. Utkarsh loves solving technical issues and is always the first to jump on any problem that needs solving. When he’s not coding or debugging, he enjoys playing video games (especially Super Smash Bros.) and watching cartoons.

Share on:

1 thought on “How to Disable CMD/PowerShell Beep Sounds in Windows”

  1. This command will change the setting and for future sessions as well.

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    if (!(Test-Path -Path "$Profile")) {New-Item -ItemType File -Path "$Profile" -Force}
    Add-Content -Value "Set-PSReadlineOption -BellStyle None" -Path "$Profile"


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.