Enabling audio for a VM

Skytap Windows Server VMs can be configured to allow audio over a special RDP connection type in the Secure Remote Access (SRA) browser client. Audio input and output work with the microphone and speakers attached to your local computer.

Generally, there are two groups of VM settings that need to be enabled for audio to work:

  • The Skytap Windows Server VM settings must be edited to allow an RDP connection via the browser client and to allow either audio input/output or audio output.
  • The Windows operating system settings must be properly configured to support RDP and audio input/output.

This feature must be enabled for your customer account.

After your customer account has been granted access to this feature, each VM can be optionally configured to support VM audio.

  • To check whether you have access to this feature, follow the instructions in Step 1 to view the Connection types on the VM Hardware Settings page.
  • If you’re a primary administrator, contact support@skytap.com to enable this feature across your account. Include your name, email address, and the name of your organization.
  • If you’re a standard user or administrator, work with your primary administrator to request this feature.
Contents

Requirements

Operating system

Currently, audio is supported for only the following operating systems:

  • Windows Server 2016 Standard
  • Windows Server 2012 R2 Standard
  • Windows Server 2012 Standard
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 Standard

Windows Server 2008 supports only audio playback.

VM hardware

The minimum recommended VM hardware configuration is two CPU cores and 2048 MB RAM.

If you need a single environment with multiple audio-enabled VMs, first configure a single VM using the audio setup steps below, and then add copies of the configured VM to the same environment.

VM network settings

The VM must be connected to an automatic network. To view the current VM network connections, navigate to the VM Settings > Network Adapters page.

network adapters If the VM isn’t connected to an automatic network, see Attaching VMs to networks.

Step 1: Editing the VM hardware settings to support audio

You must configure the VM hardware settings to support audio connections over the SRA browser client.

To enable VM audio

  1. Make sure the VM is powered off.

  2. Navigate to the VM Settings > Hardware page.

  3. Next to Alternative connection types, click Edit. The Alternative connection types section expands.

    VM hardware settings

    If you can't edit Alternative connection types, this option isn't enabled for your account.

    • If you're a primary administrator, contact support@skytap.com to enable this feature across your account. Include your name, email address, and the name of your organization.
    • If you're a standard user or administrator, work with your primary administrator to request this feature.
  4. Select RDP (VM audio).
  5. (Optional) Set a custom port for the RDP connection. RDP uses port 3389 by default. Don’t edit this setting unless you’ve customized the Windows VM to use an alternate port for RDP.
  6. From the VM audio drop-down, select the audio mode you need:
    • None – no audio in or out but the display uses RDP features, instead of the default Skytap display server.
    • Audio out enabled – audio from the VM will play through the browser client.
    • Audio in and out enabled – audio from the VM will play through the browser client and the VM will receive audio from the microphone connected to your local computer.
  7. Click Save.
  8. Run the VM.

    Because the RDP session runs from within the guest OS, allow extra time for the VM to boot and the RDP service to start before you try to connect with a browser client. If you see an ‘upstream server’ error, wait, and then refresh the browser to try the connection again.

Step 2: Configuring the VM operating system

Expand the section below that matches the VM operating system and follow the instructions to configure RDP services and related permissions for audio on the VM.

Enabling RDP
  1. Sign in to Windows Server as a local administrator and open Server Manager from the desktop Task Bar or Start Screen.
  2. In the left pane of Server Manager, click Local Server.
  3. Wait for the information about the local server to update in the right pane. In the Properties section of the right pane you should see the status of Remote Desktop, which is Disabled by default. windows
  4. Click the link to enable Remote Desktop. The Remote tab of the Systems Properties dialog displays.
  5. Under Remote Desktop, select Allow remote connections to this computer and clear the checkbox next to Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended). windows You must configure the Remote Desktop properties twice: at the beginning and at the end of this section.

  6. Click OK.

Enabling Remote Desktop Services

If you need only audio out, skip to Enabling audio.

  1. In the Server Manager navigation bar, click Manage > Add Roles and Features.

    windows The Add Roles and Features Wizard displays. Click Next to advance to the Installation Type screen.

  2. On the Installation Type screen, select Role-based or feature-based installation, and then click Next twice to advance to the Server Roles screen.

    windows

  3. On the Server Roles screen, check the box next to Remote Desktop Services, and then click Next.

    windows

  4. On the Features screen, check the box next to Media Foundation.

    windows

  5. Expand Remote Server Administration Tools/Role Administration Tools, check the box next to Remote Desktop Service Tools, and then click Next twice to advance to the Role Services screen.

    windows

  6. On the Role Services screen check the box next to Remote Desktop Session Host. If additional features are required for Remote Desktop Session Host, a dialog displays. Click Add Features. Click Next.

    windows

  7. Review the information in the Confirmation screen, and then click Install.
  8. Restart the VM.

Enabling audio
  1. Right-click Start > Run, type gpedit.msc, and then click OK. The Local Group Policy Editor displays.
  2. Expand Local Computer Policy/Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host.
  3. In Device and Resource redirection, double-click Allow Audio and Video Playback Redirection. The Allow Audio and Video Playback Redirection dialog displays.

    windows

  4. Click Enabled, and then click OK.

    windows

  5. Double-click Allow audio recording redirection. The Allow audio recording redirection dialog displays.

    windows

  6. Click Enabled, and then click OK.
  7. In Security, double-click Require use of specific security layer for remote (RDP) connections. The Require use of specific security layer for remote (RDP) connections dialog displays.

    windows

  8. Click Enabled, make sure Security Layer in the Options section is set to RDP, and then click OK.

    windows

  9. Restart the VM.

Configuring the Windows Audio service
  1. Right-click Start > Run, type services.msc, and then press Enter. The Services console displays.

    windows

  2. Double-click Windows Audio. The Windows Audio Properties dialog displays.
  3. Make sure Startup type is set to Automatic.
  4. Click the Recovery tab.
  5. For all three failure drop-down menus (First failure, Second failure, and Subsequent failures), select Restart the Service.

    windows

  6. For the Restart service after field, type 0.
  7. Click OK, and then close the Services console.

Disabling Network Level Authentication for RDP
  1. Right-click Start > Run, type sysdm.cpl, and then press Enter. The System Properties dialog displays.
  2. Click the Remote tab.

    windows

  3. Under Remote Desktop, select Allow remote connections to this computer.
  4. Clear the checkbox next to Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended).
  5. Click OK.

Enabling RDP
  1. Sign in to Windows Server as a local administrator and open Server Manager from the desktop Task Bar or Start Screen.
  2. In the left pane of Server Manager, click Local Server.
  3. Wait a few seconds for the information about the local server to update in the right pane. In the Properties section of the right pane you should see the status of Remote Desktop, which is Disabled by default.

    windows

  4. Click the link to enable Remote Desktop. The Remote tab of the Systems Properties dialog displays.
  5. Under Remote Desktop, select Allow remote connections to this computer.

    windows

    You will configure the Remote Desktop properties again later in this process.

  6. Clear the checkbox next to Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended).
  7. Click OK.

Enabling Remote Desktop Services

If you need only audio out, skip to Enabling audio.

  1. In the Server Manager navigation bar, click Manage > Add Roles and Features. The Add Roles and Features Wizard displays.

    windows

    Click Next to advance to the Installation Type screen.

  2. On the Installation Type screen, select Role-based or feature-based installation.

    windows

    Click Next twice to advance to the Server Roles screen.

  3. On the Server Roles screen, check the box next to Remote Desktop Services

    windows

    Click Next to advance to the Features screen.

  4. On the Features screen, check the box next to Media Foundation.

    windows

  5. On the same screen, expand Remote Server Administration Tools/Role Administration Tools, and check the box next to Remote Desktop Service Tools.

    windows

  6. On the same screen, expand User Interfaces and Infrastructure and check the box next to Desktop Experience.

    windows

    Click Next twice to advance to the Role Services screen.

  7. On the Role Services screen check the box next to Remote Desktop Session Host. If additional features are required for Remote Desktop Session Host, a dialog displays. Click Add Features.

    windows

    Click Next.

  8. Review the information in the Confirmation screen, and then click Install.

Enabling audio
  1. From the Start screen of the VM, type gpedit.msc, and then press Enter. The Local Group Policy Editor displays.
  2. Expand Local Computer Policy/Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host.
  3. In Device and Resource redirection, double-click Allow Audio and Video Playback Redirection. The Allow Audio and Video Playback Redirection dialog displays.

    windows

  4. Click Enabled, and then click OK.

    windows

  5. Double-click Allow audio recording redirection. The Allow audio recording redirection dialog displays.

    windows

  6. Click Enabled, and then click OK.
  7. Restart the VM.

Configuring the Windows Audio service
  1. From the Start screen of the VM, type services.msc, and then press Enter. The Services console displays.

    windows

  2. Double-click Windows Audio. The Windows Audio Properties dialog displays.
  3. Make sure Startup type is set to Automatic.
  4. Click the Recovery tab.
  5. For all three failure drop-down menus (First failure, Second failure, and Subsequent failures), select Restart the Service.

    windows

  6. For the Restart service after field, type 0.
  7. Click OK, and then close the Services console.

Disabling Network Level Authentication for RDP
  1. From the Start screen of the VM, type sysdm.cpl, and then press Enter. The System Properties dialog displays.
  2. Click the Remote tab.
  3. Under Remote Desktop, select Allow remote connections to this computer.
  4. Clear the checkbox next to Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended).

    windows

  5. Click OK.

Enabling RDP
  1. Sign in to Windows Server as a local administrator and open Server Manager from the desktop Task Bar or Start Screen.
  2. In the left pane of Server Manager, click Local Server.
  3. Wait a few seconds for the information about the local server to update in the right pane. In the Properties section of the right pane you should see the status of Remote Desktop, which is Disabled by default.

    windows

  4. Click the link to enable Remote Desktop. The Remote tab of the Systems Properties dialog displays.
  5. Under Remote Desktop, select Allow remote connections to this computer.
  6. Clear the checkbox next to Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended).

    windows

    You will configure the Remote Desktop properties again later in this process.

  7. Click OK.

Enabling Remote Desktop Services
  1. In the Server Manager navigation bar at the top of the screen, click Manage > Add Roles and Features.

    windows

    The Add Roles and Features Wizard displays.

  2. On the Installation Type screen, select Role-based or feature-based installation.

    windows

    Click Next twice to advance to the Server Roles screen.

  3. On the Server Roles screen, check the box next to Remote Desktop Services.

    windows

    Click Next to advance to the Features screen.

  4. On the Features screen, check the box next to Media Foundation.

    windows

  5. On the same screen, expand Remote Server Administration Tools/Role Administration Tools, and check the box next to Remote Desktop Service Tools.

    windows

    Click Next twice to advance to the Role Services screen.

  6. On the Role Services screen check the box next to Remote Desktop Session Host.

    windows

    If additional features are required for Remote Desktop Session Host, a dialog displays. Click Add Features.

    Click Next.

  7. Review the information in the Confirmation screen, and then click Install. When the installation completes, restart the VM.

Enabling audio
  1. From the Start screen of the VM, type gpedit.msc, and then press Enter. The Local Group Policy Editor displays.
  2. Expand Local Computer Policy/Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host.

    windows

  3. In Device and Resource redirection, double-click Allow Audio and Video Playback Redirection. The Allow Audio and Video Playback Redirection dialog displays.
  4. Click Enabled, and then click OK.

    windows

  5. Double-click Allow audio recording redirection. The Allow audio recording redirection dialog displays.
  6. Click Enabled, and then click OK.

    windows

  7. Restart the VM.

Configuring the Windows Audio service
  1. From the Start screen of the VM, type services.msc, and then press Enter. The Services console displays.

    windows

  2. Double-click Windows Audio. The Windows Audio Properties dialog displays.
  3. Make sure Startup type is set to Automatic.
  4. Click the Recovery tab. For all three failure drop-down menus (First failure, Second failure, and Subsequent failures), select Restart the Service.

    windows

  5. For the Restart service after field, type 0.
  6. Click OK, and then close the Services console.

Disabling Network Level Authentication for RDP
  1. From the Start screen of the VM, type sysdm.cpl, and then press Enter. The System Properties dialog displays.
  2. Click the Remote tab.
  3. Under Remote Desktop, select Allow remote connections to this computer.

    windows

  4. Clear the checkbox next to Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended).
  5. Click OK.

Enabling RDP
  1. Open Server Manager. To open Server Manager, click Start > Administrative Tools > Server Manager.
  2. In Computer Information, click Configure Remote Desktop.

    windows

  3. In the System Properties dialog, under Remote Desktop, click Allow connections from computers running any version of Remote Desktop (less secure).

    windows

    You will configure the Remote Desktop properties again later in this process.

  4. Review the information in the Remote Desktop dialog, and then click OK twice.

Enabling Remote Desktop Services

If you need only audio out, skip to Enabling audio.

  1. Open Server Manager. To open Server Manager, click Start > Administrative Tools > Server Manager.
  2. In Roles Summary, click Add Roles.

    windows

    The Add Roles Wizard displays.

  3. On the Server Roles screen, check Remote Desktop Services.

    windows

    Click Next twice to advance to the Role Services screen.

  4. On the Role Services screen, select Remote Desktop Session Host

    windows

    Click Next twice to advance to the Authentication Method screen.

  5. Select Do not require Network Level Authentication

    windows

    Click Next three times to advance to the Client Experience screen.

  6. Select Audio and video playback and Audio recording redirection

    windows

    Click Next to advance to the Confirmation screen.

  7. Review the information in the Confirmation screen, and then click Install.
  8. Restart the VM.

Enabling audio
  1. Click Start > Run, type gpedit.msc, and then click OK.

    windows

    The Local Group Policy Editor displays.

  2. Expand Local Computer Policy/Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host.

    windows

  3. In Device and Resource redirection, double-click Allow Audio and Video Playback Redirection.

    windows

    The Allow Audio and Video Playback Redirection dialog displays.

    windows

  4. Click Enabled, and then click OK.
  5. Double-click Allow audio recording redirection. The Allow audio recording redirection dialog displays.

    windows

  6. Click Enabled, and then click OK.
  7. Close the Local Group Policy Editor console, and then restart the VM.

Configuring the Windows Audio service
  1. Click Start > Administrative Tools > Services. The Services console displays.

    windows

  2. Double-click Windows Audio. The Windows Audio Properties dialog displays.
  3. Make sure Startup type is set to Automatic.
  4. Click the Recovery tab.

  5. For all three failure drop-down menus (First failure, Second failure, and Subsequent failures), select Restart the Service.

    windows

  6. For the Restart service after field, type 0.
  7. Click OK, and then close the Services console.

Disabling Network Level Authentication for RDP
  1. Click Start > Run, type sysdm.cpl, and then press Enter. The System Properties dialog displays.
  2. Click the Remote tab.
  3. Under Remote Desktop, click Allow connections from computers running any version of Remote Desktop (less secure).

    windows

  4. Click OK.

Windows Server 2008 supports only audio playback. If you need audio input, choose a Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, or Windows Server 2016 VM.

Enabling RDP
  1. Open Server Manager. To open Server Manager, click Start > Administrative Tools > Server Manager.
  2. In Customize This Server, click Configure Remote Desktop.

    windows

    The Remote tab of the System Properties dialog displays.

  3. In the Remote Desktop section, click Allow connections from computers running any version of Remote Desktop (less secure).

    windows

    You will configure the Remote Desktop properties again later in this process.

  4. Review the information in the Remote Desktop dialog, and then click OK twice.

Enabling Remote Desktop Services

To add the Terminal Services role

  1. In the Server Manager, under Roles Summary, click Add Roles.

    windows

    The Add Roles Wizard displays.

  2. On the Server Roles screen, select Terminal Services.

    windows

    Then click Next twice to advance to the Role Services screen.

  3. On the Role Services screen, select Terminal Server.

    windows

    Then click Next twice to advance to the Authentication Method screen.

  4. Select Do not require Network Level Authentication.

    windows

    Then click Next three times to advance to the Confirmation screen.

  5. Review the information in the Confirmation screen, and then click Install.
  6. Restart the VM. The Configuration completes the installation process.

To add the Desktop Experience feature

  1. Open Server Manager. To open Server Manager, click Start > Administrative Tools > Server Manager.
  2. In Customize This Server, click Add Features. The Add Features Wizard displays.
  3. Select Desktop Experience.

    windows

    Then click Next.

  4. Review the information in the Confirmation screen, and then click Install.
  5. Restart the VM.

Enabling audio
  1. Click Start > Run, type gpedit.msc, and then click OK. The Local Group Policy Editor displays.
  2. Expand Local Computer Policy/Computer Configuration/Administrative Templates/Windows Components/Terminal Services/Terminal Server.

    windows

  3. In Device and Resource Redirection, double-click Allow audio redirection. The Allow audio redirection Properties dialog displays.
  4. Click Enabled, and then click OK.

    windows

  5. Restart the VM.

Configuring the Windows Audio service
  1. Click Start > Administrative Tools > Services. The Services console displays.

    windows

  2. Double-click Windows Audio. The Windows Audio Properties dialog displays.
  3. Make sure Startup type is set to Automatic.
  4. Click the Recovery tab.
  5. For all three failure drop-down menus (First failure, Second failure, and Subsequent failures), select Restart the Service.

    windows

  6. For the Restart service after field, type 0.
  7. Click OK, and then close the Services console.

Disabling Network Level Authentication for RDP
  1. Click Start > Run, type sysdm.cpl, and then press Enter. The System Properties dialog displays.
  2. Click the Remote tab.
  3. Under Remote Desktop, click Allow connections from computers running any version of Remote Desktop (less secure).

    windows

  4. Click OK.

Step 3: Verify audio in and out

Follow the steps in the Using audio for the first time article to connect to the VM and verify that audio input and output are working.

For troubleshooting help, see Troubleshooting VM audio.

Step 4: Save as a template

So that you don’t have to complete all of the steps above for each VM you deploy, save the environment as a template and deploy new environments with audio-enabled VMs as needed.

To save the environment as a template, see Saving an environment as a template.