Adjusting Mic volume from the command line in Windows
I spend a lot of time in meetings on a USB headset. I have a Windows computer. So every day, multiple times a day, here’s the drill:
- Plug in headset.
- Mic volume is a random number.
- Right-click Sound.
- Wait for the right click to register, because half the time it doesn’t, and the lag is horrible.
- Select Recording Devices. See last step about lag.
- Click Microphone.
- Click Properties.
- One in ten times, this will cause the control panel to gray out and freeze, so wait five minutes and/or force quit it and start over.
- Click the Level Tab. (It’s not the first tab, so this takes ten seconds to scan.)
- Change the level back to 100.
- Click OK.
- Click OK.
- Feel the great joy in knowing you’ll have to do this three or four more times that day, which adds up to like 18 months of your life.
The same process on a Mac:
- Plug in the headset. It remembers what you had the level set to the last time it was plugged in.
There is a great way around this. It’s called NirCmd, and it’s a great little free Windows command-line executable that enables you to do all sorts of weird things from a command prompt or batch script.
Go grab a copy of it at the above link. The first time you click on the exe, it will ask to copy itself to your Windows directory, and then it’s in your path, ready to go. Create a .bat file like this:
nircmd setsysvolume 65535 Microphone
Each time you put in your headset, run that, and you’re good to go.
Nircmd also has some commands for shutdown/reboot/standby/logoff if you are sick of digging in the Windows menu for those commands.