Graphics acceleration on Azure VMs

Create a cloud resource. In step 6, we recommend using a Windows 10 image. To create a virtual machine with graphics support, select “High” when choosing the workload in step 7 and then select one of the NV-VMs of the desired size.
Once you have created an app configuration and assigned the app, open the app. If this app belongs to a user and not to you, access the virtual machine via the app list.

  1. Install the appropriate NVIDIA driver on the open VM.
  2. Enter “pedit” in the Windows search and open the “Group Policy”.
  3. Now go to the following position: Computer Configuration / Administrative Templates / Windows Components / Remote Desktop Services / Remote Desktop Session Host / Remote Session Environment / Use hardware graphics adapters for all Remote Desktop Service sessions. Switch the “State” to Enabled here.

  4. In the Windows search, type “cmd” and open Command Prompt.
  5. Type in the following and confirm with Enter:
    gpupdate /force
  6. Sign out of the virtual machine.
  7. Restart the app. Now the GPU hardware is used.

If you are not sure whether graphics support is being used, test this as follows:

  1. Type “cmd” again in the Windows search and open “Command Prompt”.
  2. Type in the following and confirm with Enter:
    "C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi"
    If a percentage higher than 0 is displayed here, graphics acceleration is supported. If you see 0% here, try to repeat the steps.