Here's the code I'm trying to use to mute my Vista system. I'm writing a code to put in the schools log-in script to mute the sound on Vista machines, as requested by the IT at my school. It runs without error, but doesn't do anything. I ran it in debug mode and hr always held the value S_OK. Can anyone see what's wrong?