Adjust Lync volume controls via registry
I had a client inquire as to how to manipulate the Lync client volume controls without logging into the client and manually adjusting them. They have a large number of similar devices and they wanted to increase the default output level without logging into each device, firing up Lync and changing the settings.
Some preliminary searching by both myself and the client had produced no actionable results, so on the off chance anyone else ever wants to change these settings, I’m tossing up the results for future reference. With a little help from Process Monitor, this is what I found.
First off, if you were assuming you’d find this info in the traditional Lync/Communicator portion of the registry under
HKEY_CURRENT_USER\Software\Microsoft\Communicator, you’d be incorrect.
Using Process Monitor and filtering via lync.exe and exposing only registry calls, I was introduced to a section of the registry I hadn’t played around in before in relation to Lync. (Disclaimer: This is the Lync 2013 client. If you’re using 2010, there’s a good chance that the word “Lync” below is “Communicator” instead.)
In the \AudioRender\ subsection of this, you will find various entries for your defined output devices. You do need to know which device you’ll be targeting here, or you could enumerate each value beneath \AudioRender\ and change it for each of them I suppose, but I’m not going to worry about that today.
My values were as follows:
HKEY_CURRENT_USER\Software\Microsoft\UCCPlatform\Lync\AudioRender\Headset Earphone (Sennheiser SC230 for Lync)
HKEY_CURRENT_USER\Software\Microsoft\UCCPlatform\Lync\AudioRender\Polycom CX600 (6- Polycom CX600)
HKEY_CURRENT_USER\Software\Microsoft\UCCPlatform\Lync\AudioRender\Speakers (Creative SB X-Fi)
HKEY_CURRENT_USER\Software\Microsoft\UCCPlatform\Lync\AudioRender\Speakers (Denon AVR-3311CI 7.1 AV Receiver)
HKEY_CURRENT_USER\Software\Microsoft\UCCPlatform\Lync\AudioRender\SPDIF Out (Creative SB X-Fi)
HKEY_CURRENT_USER\Software\Microsoft\UCCPlatform\Lync\AudioRender\Speakers (Realtek High Definition Audio)
My active device was the \Speakers (Realtek High Definition Audio), so I jumped in and took a look. The only value set was exactly what I was looking for, a REG_DWORD entry for DefaultVolume.
The acceptable values range from decimal 0 to 65535, but they are input, like most registry values, in Hex.
100% volume is 65535, or “ffff” in Hex,
80% volume is roughly 52428 or “cccc” in Hex, and
50% volume is around 32767, or “7fff” in Hex.
The default value appears to be 26214, or “6666” in Hex
Pop open calc.exe in Programmer mode to grab any other conversions you may need.
A couple of other things to note:
First, after adjusting the value, bounce the Lync client (if it was running). There may be a polling interval that the client uses to re-read these values from the registry, but I wouldn’t be at all surprised if it only read them at client startup.
Second, if you wish to adjust the other sliders (Mic sensitivity and Ringer Volume) the appropriate keys are device dependent, but should resemble the following, and use the same REG_DWORD DefaultVolume:
HKEY_CURRENT_USER\Software\Microsoft\UCCPlatform\Lync\AudioRinger\Speakers (Realtek High Definition Audio)
HKEY_CURRENT_USER\Software\Microsoft\UCCPlatform\Lync\AudioCapture\Microphone (8- USB Audio Device)
That’s all she wrote.