If you want to turn off all system beeps (like the ones that go through your computers’ internal speaker), follow these steps:
Open Run (Windows key + R) and type ‘regedit’, then press enter.
Go to HKEY_CURRENT_USER\Control Panel\Sound
Edit the key Beep and give it a value of No
You’re Done! From now on your OS couldn’t beep.