Windows 10 Disable Error Beeps


Steps on how to disable error beeps on Windows 10 Command Prompt and “Bash on Ubuntu on Windows 10”.

1. Start Command Prompts in administrator mode “Run as administrator”

2. Stop error beeps on current session:
sc stop beep

3. Disable error beeps at Startup:
sc config beep start=disabled

Microsoft Windows [Version 10.0.16299.64]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>sc stop beep

        TYPE               : 1  KERNEL_DRIVER
        STATE              : 3  STOP_PENDING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

C:\WINDOWS\system32>sc config beep start=disabled
[SC] ChangeServiceConfig SUCCESS