Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

We have a win 7 computer that is used by several family members and we use fast user switching to change accounts without logging each other out (It's set up to go to the select user screen after resuming from screensaver). However, often someone will accidentaly leave windows media player or a website playing sound. This is very irritating since it means you have to switch between all the accounts to find out who is playing music and attempt to stop it.

Is there a way to set up windows 7 to mute or pause audio playback when switching to another user?

share|improve this question

marked as duplicate by slhck Apr 25 '13 at 18:18

This question was marked as an exact duplicate of an existing question.

yes, same question, although mine was asked first ;) – Mark Heath Nov 8 '11 at 11:15
Ha, I guess I should look at dates before being a smarty pants. – Patrick S. Nov 8 '11 at 23:12

You can make a VBS script to mute the sound, then create a task scheduler, then setting the trigger to “on workstation lock”.

There should be tutorials online detailing this if you need help.

share|improve this answer
Would the VBS script be able to mute applications (as opposed to muting all sound, which wouldn't help, since this seems to be shared between users)? – Peter Jaric Jan 24 '12 at 14:04

Not the answer you're looking for? Browse other questions tagged .