Not all keyboards include volume control hotkeys for muting, maximizing, and adjusting audio levels. Nor does Windows 11 have any universal sound control keyboard shortcuts. Therefore, some users have to make do with their mouse for volume control.
However, you can set up custom volume control hotkeys in Windows 11 with some third-party software. Once set up, you’ll be able to change the volume with the press of a few hotkeys instead of fiddling around with sound control bars. Here is how to set up keyboard shortcuts for muting, maximizing, increasing, and decreasing volume with NirCmd.
How to Download and Extract NirCmd
NirCmd is a command-line tool that can carry out many useful PC tasks. It has some volume control commands for muting, maximizing, increasing, and reducing sound levels. Although NirCmd doesn’t provide any built-in options for establishing volume control hotkeys, we can set up keyboard shortcuts for its commands.
First, however, you’ll need to download and extract NirCmd. The app comes packed in a ZIP archive that you’ll need to extract. You can download and extract NirCmd like this.
- Open the NirCmd download page.
- Scroll down to the bottom of that page, and click the Download NirCmd 64-bit link.
- Double-click NirCmd’s ZIP to open it.
- Click Extract all on File Explorer’s command bar.
- Select the Browse option to choose an extraction path.
- Click the Show extracted files when complete checkbox to select it.
- Press the Extract button to extract the archive.
How to Set Up a Mute Hotkey
When you’ve extracted NirCmd’s archive, no program installation is required. Nor do you even need to launch it in any way. You will, however, need to note down, or copy, NirCmd’s extracted path. Then you can set up volume control shortcuts based on that utility’s commands. This is how you can establish a mute hotkey with NirCmd.
- First, open the extracted NirCmd folder.
- Right-click the nircmd EXE and select Copy as path.
- Next, right-click an area of your desktop to select the New context menu option.
- Click Shortcut on the submenu.
- Press the Ctrl + V keyboard shortcut to paste the copied NirCmd path into the location box.
- Then press Space key once after the NirCmd path, and enter mutesysvolume 2 in the location box as shown directly below. The location box should then include: “NirCmd folder pathnircmd.exe” mutesysvolume 2.
- Click Next to continue.
- Enter Mute in the shortcut name box, and select the Finish option.
Now you’ve got a Mute shortcut on your desktop. Start playing a video in a browser or media player, and click that shortcut to mute it. You can add a hotkey to that desktop Mute button as follows.
- Right-click your Mute desktop shortcut to select Properties on its context menu.
- Click inside the Shortcut key box to place a text cursor there.
- Press M to set up a Ctrl + Alt + M hotkey.
- Select Apply to save.
Start playing a video, and press the Ctrl + Alt + M keyboard shortcut. You can unmute the sound by pressing Ctrl + Alt + M again. Pressing that hotkey both mutes and unmutes audio.
Don’t delete the Mute desktop shortcut. Deleting that shortcut will also erase the hotkey added to it. So, you’ll need to keep all audio control shortcuts on the desktop for their hotkeys to work.
If you like, you can also change the icon for the desktop shortcut to a more appealing one. To do that, right-click the shortcut and select Properties. Click the Change shortcut button, and choose an icon on the window. Select the OK and Apply options to add the icon.
How to Set Up a Hotkey for Maximizing Volume
Aside from a mute hotkey, you can set up a keyboard shortcut for maximizing volume. If you want a hotkey to max out volume (just don’t disturb the neighbors), you can create one with NirCmd’s setsysvolume 65535 command. You can establish a max volume desktop shortcut much the same as a mute one with the Create Shortcut tool. The only difference is that you’ll need to input this command in the location box instead: “NirCmd folder pathnircmd.exe” setsysvolume 65535.
The 65,535 in that command is NirCmd’s maximum decibel value. Clicking your new maximum audio desktop shortcut will max out playback volume. Thereafter, you can apply a hotkey to the max volume desktop shortcut just the same as for the mute one.
How to Create Volume Up and Down Hotkeys
NirCmd also has commands that increase or decrease volume by specific values. You can set up hotkeys that activate those commands for raiding or reducing the decibel level. Again, you’ll need to first set up desktop shortcuts for those NirCmd commands just the same as for muting or maximizing sound. These are the commands you’ll need to enter this in the “Create Shortcut” window’s location box:
Increase volume by 2,000 units: “NirCmd folder pathnircmd.exe” changesysvolume 2000
Decrease volume by 5,000 units: “NirCmd folder pathnircmd.exe” changesysvolume -5000
Note that you can change the unit values in those commands. To configure a shortcut to increase volume more, for example, you could input changesysvolume 5000 in the location box instead. Or enter changesysvolume -10000 to decrease the decibel level by twice as much. However, all values must be below the maximum of 65,535.
When you’ve set up some desktop shortcuts for increasing and reducing volume, right-click them and select Properties. You can add new hotkeys to them with their Shortcut key boxes as outlined for the mute command. Then press the NirCmd volume up and down hotkeys to your heart’s content to increase and lower the decibel level.
Adjust Playback Volume With Your New Sound Control Hotkeys
So, you don’t need to get a new keyboard if your current one lacks volume control hotkeys. Simply set up a few custom keyboard shortcuts for muting, maximizing, lowering, and increasing volume with the NirCmd command-line utility. Then you can quickly mute, max out, or raise/lower the decibel level for video and music playback in Windows 11 by pressing those hotkeys.
It turns out there are multiple different ways to control YouTube video volume. Here are some of the best methods we’ve found.
About The Author