I'm working as software developer in a rather loud room with lots of distractions, that's why I've got my headphones on most of the time. However, whenever I leave for a meeting or lunch or whatever, I usually forget to turn the music off, so that my colleagues are rather annoyed by the hissing sound from my headphones.

What I thought about was this: turn the volume off on screen lock and back on when unlocked. How does one do that on a Windows XP box?

  • wow what a neat idea... +1 – Kez Aug 31 '09 at 14:16

Try MonitorES. You can find more information about this little app on Lifehacker:

Tiny, portable utility MonitorES not only turns off the monitor when you lock your PC, it also pauses almost any media player and even sets your Google and Yahoo IM status to away. We've written about this utility before, but since then it has updated with support for nearly any media player, added support for Yahoo Messenger, and you can now use it to simply pause your media with the Pause key. As before, you simply need to launch the utility, set the options, and the next time you lock your workstation your monitor will turn off, and your media will pause.

| improve this answer | |
  • nice find indeed! +1 – Molly7244 Aug 31 '09 at 14:48

This should work too, save the piece of code under e.g. "mute.vbs". When you leave your workplace, double click the file and your Sound is off + your Screen is locked. After your meeting and the login you'll see a Popup, which can turn the Sound on.

On Error Resume Next

set oShell = CreateObject("WScript.Shell")
oShell.Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation"

intAnswer = Msgbox("Do you want to unmute?", vbYesNo, "Volume")
if intAnswer = vbYes then
end if

sub un_mute()

WScript.Sleep 1000
oShell.SendKeys"{TAB 2} "

end sub

It's not perfect for sure, but works for me. Also it works for every Player under Windows + no additional Software to install ;-)

| improve this answer | |
  • i love QD :) +1 – Molly7244 Aug 31 '09 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.