How to not play default beep sound when pressing alt key?


I'm implementing the wpf app, and added the shortcut feature with alt key combination.

The problem is that the app window is open and active(focused) and I press alt + shift + U(alt key added shortcut),

then the default alert sound is playing from OS.

I want to know why the alert sound is playing when I press alt key combinated shortcut.

Is there any other policy for alt key in Windows OS?

And is there any solution to avoid this alert sound?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,618 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yanhong Liu 3,740 Reputation points Microsoft Vendor


    Thank you for posting in Q&A forum.

    Please navigate to Control Panel\Hardware and Sound\Change System Sound, find "Default Sound" under the "Windows" list of Program Events, and then select the "(None)" option in the "Sound" drop-down menu below. This should set the default beep to silent.

    I hope the information above is helpful.

    Best Regards,

    Yanhong Liu


    If the Answer is helpful, please click "Accept Answer" and upvote it.