Disable beeping noises on WinXP workstations

This tip was submitted to the SearchWin2000.com tip exchange by member Mangesh Dhotre. Please let other users know how useful it is by rating it below.


Here's a tip that can help stop the annoying beep sounds produced on WinXP workstations without sound cards.

1) This Script disables the beep device under Device Manager -> Non-Plug and Play Drivers (to see beep device select show hidden devices). Copy the code into Notepad and rename it as disableBeep.vbs.
2) The script requires administrator rights.
3) The beep is disabled after the workstation has been restarted.

Code:
set WshShell=WScript.CreateObject("WScript.shell")
WshShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware
Profiles\0001\System\CurrentControlSet\Enum\ROOT\LEGACY_BEEP\00000
\CSConfigFlags",1,"REG_DWORD"
Wshshell.regwrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware
Profiles\Current\System\CurrentControlSet\Enum\ROOT\LEGACY_BEEP\0000
\CSConfigFlags",1,"REG_DWORD"

Msgbox: "Restart the workstation to disable beep",,"Disable beep."

This was first published in January 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.