Click here to Skip to main content
15,867,308 members
Articles / General
Tip/Trick

Turn off system speaker sounds in guest VMs

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
13 Nov 2010CPOL 9.7K   3  
This is a tip that regularly gets shared around the office when people are developing on VMs - how do you turn off the system speaker?

In particular, WinForms developers are driven almost to tears by the incessant beeping when they're developing/testing something with messagebox dialogs.

An additional problem is that you might want to have certain VMs still using the system speaker, so you can't turn it off in the BIOS of the host machine.

Here's what you do:

1. In your guest VM, open a command window
2. Type the following: "net stop beep"
3. Enjoy the silence

To reverse this, simply type: "net start beep".

Yes, the system speaker is a service, no, it's not in services.msc. Work that one out.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Kingdom United Kingdom
First batch file in 1987

Messed around with the Bullfrog C++ Libraries for Syndicate in 1994

Web Developer since 2000

.net Developer since 2001

MCTS: Microsoft® .NET Framework 2.0 - Web-based Client Development

MCTS: Web Applications Development with Microsoft .NET Framework 4

Comments and Discussions

 
-- There are no messages in this forum --