Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • Virtualization
  • Microsoft
  • Courses
  • Learn how to create virtual machines with Hyper-V on WS 2012 R2 and WS 2016
  • Improve VM graphics performance with RemoteFX
9 / 22
  • Create a virtual machine on an iSCSI server
  • Improve performance with a physical HDD

Improve virtual machine graphics performance with RemoteFX (GPU Passthrough / vGPU) with Hyper-V on WS 2012 R2 or WS 2016

  • Microsoft
  • 27 September 2019 at 08:33 UTC
  • InformatiWeb
  • 2/2
Previous page

3. Enable and configure RemoteFX

To begin, go to the settings of your Hyper-V server and click on "Physical GPUs".
Then, select the graphics card you want to dedicate to your virtual machines and check the "Use this GPU with RemoteFX" box.

Enable the remote desktop on the virtual machine where you want to enable RemoteFX by following our tutorial : Take control of a computer over Remote Desktop (RDP)
Then, stop it and go to the settings of it.

If it is a Generation 1 VM, you will have the option of adding a "RemoteFX 3D Video Adapter" in the "Add Hardware" section.

Then, configure the number of monitors and the maximum resolution to use.

Start your virtual machine, and then access the device manager.
If RemoteFX is enabled, you will see that the guest operating system (in our case : Windows 8 Enterprise) is using a Microsoft RemoteFX Graphics Device - WDDM.

To improve the image quality with RemoteFX, you can edit a group policy (locally in the computer or through an Active Directory).

In the Local Group Policy Editor that appears, go to : Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment -> RemoteFX for Windows Server 2008 R2.

Then, double-click on the "Optimize visual experience when using RemoteFX" policy.

Select "Enabled" and select "Screen capture rate (frame per second): Highest (best quality)".

Finally, don't forget to update the Windows policy with the command :

Batch

gpupdate /force

4. Enjoy RemoteFX from a Windows Remote Desktop (RDP) Client

When RemoteFX is enabled, the virtual machine may become inaccessible through the classic console launched through the Hyper-V Manager.
In this case, this message will be displayed :

Plain Text

The virtual machine is currently using the RemoteFX 3D video adapter. A user is currently connected via Remote Desktop. Connect to the virtual machine by using Remote Desktop Connection.

In the settings of your Hyper-V server, you will see that a virtual machine is currently using a GPU on your server.
You will also see how much VRAM is currently used for this GPU.

To know the IP address of your virtual machine, you can use the Hyper-V Manager (or assign it a static IP address).

Specify the IP address (or NETBIOS name) of your virtual machine in the RDP client, and click "Show Options".

In the "Display" tab, select "Colors : Highest Quality (32-bit)".

In the "Experience" tab, select "LAN (10 Mbps or higher)" from the list, and then click : Connect.

Specify the credentials of an account of the virtual machine that is allowed to connect through the remote desktop.

Ignore the warning that appears by also checking the "Don't ask me again for connections to this computer" box.

Note : this is because Windows uses default self-signed certificates to secure RDP connections.

The RDP connection is made.

And you have access to your virtual machine via the remote desktop with the quality offered by RemoteFX.

In the device manager, you will always have the Microsoft RemoteFX Graphics Device - WDDM.

If you look in the Windows Event Viewer, in the "Application logs -> Microsoft -> Windows -> RemoteDesktopServices-RdpCoreTS -> Operational" section, you will see an event whose ID is 34.

As noted by this event, the Remote Desktop Protocol (RDP) will use the RemoteFX host mode module.

Share this tutorial

Partager
Tweet

To see also

  • Hyper-V (WS 2012 R2 / 2016) - Create a generation 2 VM

    Microsoft 9/6/2019

    Hyper-V (WS 2012 R2 / 2016) - Create a generation 2 VM

  • Hyper-V (WS 2012 R2 / 2016) - Install Hyper-V and create your first VM

    Microsoft 8/10/2019

    Hyper-V (WS 2012 R2 / 2016) - Install Hyper-V and create your first VM

  • Hyper-V (WS 2012 R2 / WS 2016) - Automatically replicate virtual machines

    Microsoft 11/8/2019

    Hyper-V (WS 2012 R2 / WS 2016) - Automatically replicate virtual machines

  • Hyper-V (WS 2012 R2 / WS 2016) - Automatically replicate virtual machines (securely)

    Microsoft 11/15/2019

    Hyper-V (WS 2012 R2 / WS 2016) - Automatically replicate virtual machines (securely)

Comments

No comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.