Desktop Shortcut | Keyboard Hotkey To Mute Sound

April 3, 20096 Comments

It happens many time when you were listening to your favourite songs on your computer and suddenly some one just enters your room, you need to mute the sound instantly or it could some another reason for you to mute the sound immediately.

Today, we will tell you all the ways to mute the sound of your computer instantly, it could done be either with a small software or with some simple scripts you can place on your desktop or even with some keyboard hotkey shortcut.

There has been different methods with different operating system like windows xp, vista and windows 7

Let’s start discussing all of them one by one

Geeky Way To Mute Sound ( Works with Windows XP only )

This trick works with windows xp only, you will need to create a VBScript which you can either place on your desktop or store it any where on your hard disk and create a desktop shortcut for it.

1. Open Notepad and copy paste the following code written below

set oShell = CreateObject("WScript.Shell")"Sndvol32"
WScript.Sleep 1500
oShell.SendKeys"{TAB 2} "

2. Save it as Mute-Sound.vbs, either place it on desktop or create a desktop shortcut for the same.

Easy To Way To Mute Sound  ( Works with XP, Vista and Windows 7 )

In this method you would need to first download a free utility called nircmd from here 

Extract the executable from the download zip file any where on your hard disk, now create a desktop shortcut to the exe pointing to the path where you have stored nircmd.exe


1. Right click on empty area on your desktop and select New >> Shortcut

2. Copy the path pointing to nircmd.exe in the target box of the shortcut

C:\Target Path\nircmd.exe mutesysvolume 2

For Example

C:\bin\nircmd.exe mutesysvolume 2


3. Name the desktop shortcut as mute sound or any other name you want to set.

Note: The same shortcut can used to turn on the sound, so this shortcut will work as toggle music.

You can define the keyboard hotkey for these desktop shortcut you create by right clicking the desktop shortcut and select properties.


Filed in: tips & tricks

About the Author ()

Author + Admin: Abhishek Bhatnagar - Professional blogger by passion, Software Enggineer. I love to write about useful computer tips & tricks. Connect with me at twitter or on google+ profile or mail me at or know me more on

Comments (6)

Trackback URL | Comments RSS Feed

  1. Trevor says:

    Is there a way to make this work for mic’s as well? using a USB headset without a mute function and need something I can click on quickly to mute. Thanks

  2. CarAlchemist says:

    THANKS for this tip… especially the first one. I needed a solution for my work computer (where we cannot install programs), and didn’t want to buy a computer w/built-in hotkeys for muting sound. Thank you very much.

  3. Hardy says:

    Hi. If you dont need your Context Menue Key at the keyboard (between the right Windowskey and Ctrl-Key), you can change it to toggle the Mute on or off. Only insert a little binary into your registry: Open the key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] and insert a new binary with name “Scancode Map”. This binary has to be filled with the following: 00 00 00 00 00 00 00 00 01 00 00 00 20 e0 5d e0 00 00 00 00 If you have no experience with your registry editor, you can also do this: Create a new text-Dokument (NOT in MS Word, only in the Editor!) and insert this 3 lines: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] “Scancode Map”=hex:00,00,00,00,00,00,00,00,01,00,00,00,20,e0,5d,e0,00,00,00,00 Name the textfile “mute.reg” and execute it. Now restart your PC and you can use your Context Menue Key for mute and unmute. To restore your old settings, only delete the Key “Scancode Map” from the registry. Greetings Hardy from Germany

  4. BRAD says:

    Thanks “Hardy from Germany” for the binary code .

Leave a Reply

Back to Top