Boost Your Graphics Power med GPU-acceleration i Azure Virtual Desktop!

 

🎯 Purpose

Optimize performance for Remote Desktop sessions by enabling GPU acceleration and video optimization via Microsoft Intune or Group Policy (GPO).


🧠 Prerequisites & Requirements

Required skills:

  • Basic knowledge of Windows device management

  • Experience with Microsoft Intune or Group Policy

  • Understanding of Remote Desktop (RDP/AVD) concepts

Technical requirements:

  • Windows 10/11 on session hosts

  • GPU-enabled VMs (e.g., NVv3, NVadsA10 v5, NCasT4_v3)

  • Microsoft HEVC codec installed on client devices

  • Proper GPU drivers installed (NVIDIA GRID or AMD)



1. Sign in

Go to: https://intune.microsoft.com

2. Create or edit a configuration profile

  • Go to Devices > Configuration profiles

  • Click Create profile

  • Select:

    • Platform: Windows 10 and later

    • Profile type: Settings catalog

3. Add settings

Click Add settings and browse to:

Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment

Enable the following:

  • Use hardware graphics adapters for all Remote Desktop Services sessions

  • Prioritize H.264/AVC 444 graphics mode for Remote Desktop connections

  • Configure H.264/AVC hardware encoding for Remote Desktop connections

For HEVC (H.265):
Navigate to Administrative Templates > Azure Virtual Desktop and enable:

  • Configure H.265/HEVC hardware encoding for Remote Desktop connections

4. Assign the profile

  • Under the Assignments tab, choose the device group to apply the policy to.

5. Review and create

  • Click Review + Create

  • Restart session hosts after the policy is applied.




📘 Part 2 – Configuration via Group Policy (GPO)

1. Open Group Policy Management

  • Log in to a domain controller or admin PC

  • Open Group Policy Management Console or run gpedit.msc

2. Create or edit a GPO

  • Create a new GPO or edit an existing one

  • Link the GPO to an Organizational Unit (OU) or security group with your session hosts

3. Navigate to the settings

Go to:
Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment

Enable the following:

  • Use hardware graphics adapters for all Remote Desktop Services sessions

  • Prioritize H.264/AVC 444 graphics mode for Remote Desktop connections

  • Configure H.264/AVC hardware encoding for Remote Desktop connections

For HEVC (H.265):
Navigate to Administrative Templates > Azure Virtual Desktop and enable:

  • Configure H.265/HEVC hardware encoding for Remote Desktop connections

4. Apply and update the policy

  • Link the GPO to the appropriate OU or security group

  • On session hosts, run: gpupdate /force

  • Restart session hosts for the settings to take effect





⚠️ Important Notes

  • If both H.264 and H.265 are enabled, H.265 will be used when compatible.

  • Ensure correct GPU drivers are installed before enabling GPU acceleration.

  • Microsoft HEVC codec must be installed on the client devices for H.265.

Kommentarer

Populära inlägg i den här bloggen

🚀 IntuneWin – Deploying Win32 Apps via Intune 🎯

Block Personal devices to acces to Desktop apps like teams, Onedrive etc and how to troubleshooting the issue.

🔧 Microsoft 365 Apps Admin Center: Tips & Tricks