5

When I take the laptop out of its bag and open it, I'd prefer if it didn't suddenly start playing a song or the sound of a movie, before I've successfully logged in. While it would be nice if the source of the sound (VLC/YouTube/etc) paused, the far more important part is that I don't want to hear the sound.

If no general solution is available, I'd be happy with one that works with Youtube + Chrome.

I tried Mute On Lock and one other software for Windows 7, neither of them worked in Windows 10.

Peter
  • 4,630

2 Answers2

3

Windows 10 Auto Mute Volume

Consider using the free AutoIT application and with a simple Send() function using Send Key list {VOLUME_MUTE} or {Volume_down} sending keyboard shortcuts to adjust the volume.

You can use Task Scheduler and setup triggers to execute the as needed e.g. At logon, On workstation unlock, On an event and on specific event ids, etc.

enter image description here

AutoIT Example A Logic

This appears to toggle from unmute to mute or vice versa when executed

send ("{Volume_Mute}")
exit

AutoIT Example B Logic

This will toggle down the volume 100 times

#include <MsgBoxConstants.au3>
Local $i = 0
Do
   send ("{Volume_down}")
   $i = $i + 1 ; Or $i += 1 can be used as well.
Until $i = 100 ; Increase the value of $i until it equals the value of 10.
Exit

source ideas

Further Resources

1

A more up-to-date answer could be:

Use the open source application, WinMute: https://github.com/lx-s/WinMute

Sempai
  • 21