I’m running some lengthy video encodes using the Handbrake command line interface. After all my encodes are done, I would like to have the PC speaker beep, as I usually turn my large external speakers off.
Possibly related links:
- System “Beep” sound does not
function in Windows Vista x64 with HD
(I am indeed using an HD Audio device: the SoundMAX ADI1986A)
- What’s up with the
Beep driver in Windows 7?
Edit: The question seems to have morphed into “How to make Windows 7 beep the PC speaker?”, for which the answer provided by HarryMC is the most appropriate.
It would help to know whether your Windows 7 is 64-bit or 32-bit.
The default beep is controlled by a
Maybe if you switched it out with a
driver from XP/Vista it would increase
To see this driver you have to open
device manager then click on View >
Show hidden devices. Then under
Non-Plug and Play Drivers you’ll see
“Beep.” This is the driver that runs
your beep. Right click on it then
choose properties and go to the driver
tab, then click on Driver Details…
This shows the file version which
looks like it’s been change with
Windows 7. So replace it with an
older version and see what happens.
Procedure to follow :
- Boot from an UBCD4WIN disc (or BartPE if you don’t have an SATA hard
- Take ownership of the “C:WindowsSystem32DriversBeep.sys”
file and give the local
“Administrators” Group “Full Control”
- Rename “Beep.sys” to “Beep.old” (just in case)
- Copy “Beep.sys” from an XP machine to this location.
In Windows 7, Beep was rewritten to pass the beep to the default sound device for the session. This is normally the sound card, except when run under Terminal Services, in which case the beep is rendered on the client.
But if you are content with having the beep come out of your speakers a simple batch file can do it.
You can write a DOS batch file that beeps by doing the following: at the DOS prompt type:
echo @echo (Alt-7)>beep.bat
but instead of typing the characters: “(Alt-7)”, you hold down the Alt key and press 7 on the numeric keypad. Don’t use the 7 on the qwerty part of the keyboard, it has to be on the keypad, and Num Lock has to be on.
Grab NirCmd and run
This little VDD driver fixes a problem with the Windows 7 NTVDM where the PC Speaker output is not wrapped correctly. This may be due to the fact that the functionality of the BEEP.SYS System driver was moved to the Usermode Sound Agent. For further information, see the blog of Larry Osterman. This driver tries to fix the problem by hooking the NTVDM-Function resposible for the Beep (LazyBeep) and replace it with our own implementation that has various options to fix the Problem. Read the changelog here…(support in german but you’re allowed to post in english too)
If you have python 2.x installed this line in a bat-file works
python -c "print '7'"