Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I recently moved from Ubuntu to Windows 7 on my home PC. It has generally been a quite pleasant experience, but of course some things are not perfect. Among them is this issue:

When for exampe my son is playing a game in his browser and I use fast user switching to get to my account, his sound is still playing. This is of course very annoying if I want to play some sound of my own.

My options seem to be:

  • Mute all sound (for all users)
  • Kill his (and all other users') applications that output sound

I would like this behaviour:

  • When I log in, all sound from other users is automatically muted

Is this possible? It sounds like the obvious behaviour, but some googling leads me to believe this is how Windows behaves.

share|improve this question
3  
I am shocked that this isn't the default behavior. Lazy design! –  Shinrai Jan 14 '11 at 17:46
    
possible duplicate of Can I mute the sound when switching users in Win 7? –  Ƭᴇcʜιᴇ007 Jan 22 '12 at 19:50
add comment

3 Answers 3

up vote 3 down vote accepted

I use MonitorES (http://code.google.com/p/monitores/) here at work to mute the sound whenever I lock my system. I assume it would work similarly over fast user switching but I've not tested it. It's worth a shot. It's a standalone executable that sits in the taskbar and it's free.

I know there's an option to stop media players from playing and also to mute but if it's a game it may not mute it. In Windows 7 I believe there are application based sound preferences so you could mute the browser's sound but then it would also be muted for you. If you're the one doing the switching, you could always mute his game before the switch. (Not ideal I know). But that's Microsoft's official position on it: "To resolve this behavior, either upgrade the programs, if applicable, or stop the sound-emitting program before switching users." from support.microsoft.com/kb/301681

share|improve this answer
    
I wonder if it just mutes the sound? Because if I log into my son's account and mute sound there, my sound is muted as well. –  Peter Jaric Jan 14 '11 at 15:14
1  
I know there's an option to stop media players from playing and also to mute but if it's a game it may not mute it. In Windows 7 I believe there are application based sound preferences so you could mute the browser's sound but then it would also be muted for you. If you're the one doing the switching, you could always mute his game before the switch. (Not ideal I know). But that's Microsoft's official position on it: "To resolve this behavior, either upgrade the programs, if applicable, or stop the sound-emitting program before switching users." from support.microsoft.com/kb/301681 –  peroty Jan 14 '11 at 15:32
    
Please add your comment as an answer and I will accept that one! Muting the offending applications is an acceptable solution for me. I will research the APIs though to see if I can write a small program that does this. –  Peter Jaric Jan 15 '11 at 10:26
    
Done and done. Thank you. –  peroty Jan 15 '11 at 16:55
2  
@myself: Seems like IAudioSessionEnumerator enumerates sessions which hopefully can be used with GetSimpleAudioVolume to achieve what I need. –  Peter Jaric Jan 15 '11 at 22:25
add comment

I had the same problem with my brother... go to task manager, go to the Processes tab and click on "Show processes from all users" then if is the browser that is playing the sound you should "end task" to firefox, google chrome or whatever xD

share|improve this answer
add comment

I had the same frustration and decided to scratch this particular itch. The result is Sound Killer - http://jugglingcats.github.io/soundkiller. Enjoy.

share|improve this answer
    
Thanks, will try it out! –  Peter Jaric Apr 29 '13 at 9:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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