Lync VMs and Virtual Audio Cable

The need to have dedicated PCs each with an audio device for testing Lync audio can sometimes be a challenge, especially in lab environments where all of the clients are virtualized. If you use the console or remote desktop on a virtual machine running Lync you’ll see the warning that no audio device is connected:

image

And if you check your Audio Device settings, Lync will tell you that no device has been found. This prevents you from testing any audio functionality, which can be handy in a lab to validate Edge server or gateway integration scenarios.

image

A solution here is to leverage a tool called Virtual Audio Cable, which offers a free trial available here: http://www.ntonyx.com/vac_demo.htm

To get started, unzip the package and run the installation on a VM. After the software is installed you can create the virtual audio devices. Navigate to the Virtual Audio Cable folder within the Start Menu. Right-click on Control Panel and select “Run As Administrator” to open the configuration utility.

Enter 2 for cables and press Set. Then exit the application.

image

Now open Lync again and check the Audio Device settings. You can select Virtual Audio Cable Line 1 for the speaker, and Line 2 for the microphone.

image

At this point you can now make and receive phone calls within the VM (although you can’t hear anything!)

image

I should note that this has to be done from the console session of a Hyper-V or VMware VM. Connections via Remote Desktop will not work the same way. And to be perfectly clear, this has absolutely nothing to do with the VDI functionality in Lync 2010 or 2013. It is purely for lab and testing purposes.

Here

Recent content I've written for you—just for you!— to enjoy while you're here.

There

Quick commentary and links to other sources you'll find interesting. I promise.

Everywhere

Some personal background, links to related projects, and other ways to connect.

Hi there. My name is Tom Pacyk and this is my small home on the web. I love the intersection of design, technology, and communication, which is a combination that led me to a career in sales and marketing roles at places like Zoom and ServiceNow. They're a bit old now, but I also had the opportunity to publish a couple of books along the way.

Portland, Oregon is home for me, my wife Beth, and our three kids, but I'm actually a Midwestern transplant—I grew up in the Chicago suburbs and went to school at Purdue and Illinois. When I find some free time I'm probably going to concerts, rooting for the Portland Timbers, or working on my Sunshine Burn Photography project.