Share via


Enabling Audio on Azure VM

Question

Thursday, April 13, 2017 5:29 AM

How can we configure Azure Virtual Machine to enable sound recording in it. I want to use microphone from my local machine and provide voice command to Cortana on Azure VM. Is there a way to do this ?

All replies (3)

Thursday, April 13, 2017 4:26 PM ✅Answered

How to enable sound on Windows Azure VM

I want to use microphone from my local machine and provide voice command to Cortana on Azure VM. Is there a way to do this?

May I know the Operating system of your Azure VM?

If you are using Windows OS you may refer to the below image?

Windows 7 and 2008 R2:
Click Start > Run, type mmc, and click OK.
Add the Group Policy Object Editor snapin.
Expand Local Computer Policy.
Expand Computer Configuration.
Expand Administrative Templates.
Expand Windows Components.
Expand Remote Desktop Services.
Expand Remote Desktop Session Host.
In Device and Resource redirection, enable Allow Audio and Video Playback Redirection.
Restart the virtual machine.

Windows 2012:
Right-click Start and click Run.
Type mmc, and click OK.
Add the Group Policy Object Editor snapin.
Expand Local Computer Policy.
Expand Computer Configuration.
Expand Policies.
Expand Administrative Templates.
Expand Windows Components.
Expand Remote Desktop Services.
In Device and Resource redirection, enable Allow Audio and Video Playback Redirection.
Restart the virtual machine

Windows 2012 R2:
Right-click Start and click Run.
Type mmc, and click OK.
Add the Group Policy Object Editor snapin.
Expand Local Computer Policy.
Expand Computer Configuration.
Expand Policies.
Expand Administrative Templates.
Expand Windows Components.
Expand Remote Desktop Services.
Expand Remote Desktop Session Host.
In Device and Resource redirection, enable Allow Audio and Video Playback Redirection.
Restart the virtual machine.

Notes:

Verify on the guest OS > Options > Local Resources.
Settings under Remote audio settings, the option Play on this computer should be enabled.

To ensure that this service starts automatically:
Click Start > Run, type services.msc and click OK.
Change the service to start in Automatic mode.

Thursday, April 20, 2017 6:55 AM

My VM has Windows 10 Enterprise N OS and the steps mentioned for Windows 7 are exactly same as needed for Windows 10.

I am able to send voice input to VM now. Thanks a lot !


Thursday, August 17, 2017 5:59 PM

Hello everybody,

It seems to me, that the easiest way is to go to the services screen by any of the paths (command line, Control Panel, Server Manager, etc) and Start the audio services: Windows Audio and Windows Endpoint Builder Services. Then make sure that the Remote Desktop in the Local Resources tab allows play on the computer from the remote session is opened.

Best regards,

José Alfredo Guillén