Skip to main content

Windows: Disable beep on error

Have you heard the beep sound from the Windows command window? If the command you execute has an error and if it throws bell characters, you get this sound. Muting your external sound devices doesn't really help as it is raised from the internal PC speaker.

These are the common situations I have seen:

prompt>jar -c filename

prompt>mysql (without -b option) and then invalid command in the mysql prompt

prompt>vim filename and then press invalid characters like q

The beep sound is so annoying and loud enough to disturb the people in and around your cubicle. That would really embarrass the person. I am sure you prefer to disable it if you had already faced this awkward situation. Even otherwise you should consider disabling it (or do you think it is useful?)

Just try this:

prompt>net stop beep
prompt>sc config beep start= disabled

I hope you would try the alternatives with SysAdmin's guidance.

Comments

Popular posts from this blog

My Book Shelf - Year 2017

I find it difficult to get this reading order. And I guess it would be still harder to read them without changing the order. I may allow one or two new books to be included in this list, if required. Share book reviews and ratings with Kovil Pillai, and even join a book club on Goodreads.

The Power Game

 Even if you count from the Homo sapiens time, it has been half a million years and from the caveman life to the one who attempts to control the universe, the progress is tremendous. A number of struggles that we have overcome are unimaginable. I am still not convinced whether all these are part of the Divine plan or the Nature adjusts (if at all something is required) itself to any change that takes place in it. As long as we believe in science, we can truly appreciate our power and the things we have achieved. The oldest of the power struggles can be the one between men and women. It is perhaps so subtle that we can’t even call it a power struggle. While we manage to fight against external things, this is something happening in our own race, and we haven’t had an answer yet. A coffee selling 10 times costlier than the price of it in a decade ago may mean the coffee price has been raised. But when you compare it with the price of everything, it is relatively the same. If you look ...