Azure VDI HostPool " CustomRdpProperty

Charfeddine LAOUINI 21 Reputation points
2022-02-07T16:27:05.087+00:00

Hi,

We have an ERP solution hosted on an Azure Windows server, all users' access to this solution is via an ERP client installed on Azure VDI, and we have a screen resolution issue when we access the ERP from this VDI. The error is " screen resolution 1024 * 768 Pixel is required ".

A workaround has been created on users' Laptop from where they access the VDI ( Remote Desktop client) : From Control Panel > Dispaly > Scale and Layout > Adavanced scaling settings > Custom scaling > set to value 125 instead the default 150

After the implementation of this workaround, all is working with ERP from the VDI sessions.

But when I go through all steps in the Microsoft Azure Documentation, link below, to " Customize Remote Desktop Protocol properties for a Azure Virtual Desktop (classic) host pool " it doesn't work on the ERP side.

https://learn.microsoft.com/en-us/azure/virtual-desktop/virtual-desktop-fall-2019/customize-rdp-properties-2019#add-or-edit-a-single-custom-rdp-property

The custom VDI HostPool " CustomRdpProperty " has been set to " Desktop size 1024 * 767 " as requested by the ERP, with reboot of all 3 VDI in the HostPool :
This CustomProperty has been set via the PS Cmdlet : Set-RdsHostPool -TenantName <tenantname> -Name <hostpoolname> -CustomRdpProperty "<property>"

CustomRdpProperty : desktop size id:i:2;

After the rollback of the workaround below , we get the same error on the ERP client side ( VDI session ) : The error is " screen resolution 1024 * 768 Pixel is required ".

A workaround has been created on users' Laptop from where they acess the VDI ( Remote Desktop client) : From Control Panel > Dispaly > Scale and Layout > Adavanced scaling settings > Custom scaling > set to value 125 instead the default 150

Could you please help me on this issue? and why it's not working although I have set the configuration as explained in the Microsoft Azure Documentation?

Best regards,
Charfeddine

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,385 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Alan Kinane 16,796 Reputation points MVP
    2022-02-07T16:51:07.927+00:00

    Just to check, is this a classic deployment of Windows Virtual Desktop or have you deployed the ARM version of Azure Virtual Desktop? The newer ARM version has a different reference document for custom RDP properties here: https://learn.microsoft.com/en-us/azure/virtual-desktop/customize-rdp-properties

    This reference may assist you also: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/rdp-files#display-settings

    I would ask also, which OS is installed on your users' laptops? If Windows, are you using the latest Azure Virtual Desktop client for Windows?

    0 comments No comments

  2. Charfeddine LAOUINI 21 Reputation points
    2022-02-08T10:40:45.383+00:00

    Hi AlanKinane,

    Thank you for the reference link, our VDI deployment is classic VDI on Azure without ARM.

    This is the custom configuration applied on VDI HostPool as explained in the MS link below for classic VDI on Azure without ARM

    https://learn.microsoft.com/en-us/azure/virtual-desktop/virtual-desktop-fall-2019/customize-rdp-properties-2019

    The custom VDI HostPool " CustomRdpProperty " has been set to " Desktop size 1024 * 767 " as requested by the ERP, with reboot of all 3 VDI in the HostPool :
    This CustomProperty has been set via the PS Cmdlet : Set-RdsHostPool -TenantName <tenantname> -Name <hostpoolname> -CustomRdpProperty "<property>"

    CustomRdpProperty : desktop size id:i:2;

    Unfortunately, this added " CustomRdpProperty " doesn't solve our issue for screen resolution on the VDI as requested by the ERP client.

    The os on users' Laptop is Windows 10 Professional with the last version of Virtual Desktop client

    Best regards,
    Charfeddine