Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Turn off system speaker sounds in guest VMs

, 13 Nov 2010
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author

jim lahey
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 --
| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 13 Nov 2010
Article Copyright 2010 by jim lahey
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid