Remote Desktop License Issue with RDS Per Device CALs

Remote Desktop License Issue with RDS Per Device CALs

book

Article ID: CTX460004

calendar_today

Updated On:

Description

Users might see the following error message.

Remote Desktop License Issue
There is a problem with your Remote Desktop License, and your session will be disconnected in 60 minutes. Contact your system administrator to fix this problem


Screenshot:
image.png

It occurs when

  • VDA uses RDS Per Device CALs, 
  • User executed Sysprep on the endpoint device after installing Workspace app, and
  • User deleted HKLM\Software\Microsoft\MSLicensing\ClientHWID.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Resolution

Recommend installing any CUs or newer version of Citrix Workspace app such as version 2203 and later on the endpoint (users machine). The installer automatically adds the write permission for Users under HKLM\Software\Microsoft\MSLicensing.

It is not recommended but you can manually add permissions which were given by the installer for Users to HKLM\Software\Microsoft\MSLicensing using Regedit at your own risk.

Example:
image.png

Also, the following key (Wfica32.exe might create it if HKLM\Software\Microsoft\MSLicensing is not writable) should be deleted.

  • HKCU\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Microsoft\MSLicensing\HardwareID\ClientHWID

Problem Cause

The issue occurs if HKLM\Software\Microsoft\MSLicensing does not allow write operation for Users.

When installing Citrix Workspace app, the installer changes HKLM\Software\Microsoft\MSLicensing to be able to write by Users.
Thanks to this, Wfica32.exe can create a new ClientHWID even if user deleted HKLM\Software\Microsoft\MSLicensing\ClientHWID.

However, if you executed Sysprep on the endpoint device, the write permission added by the Workspace app installer is deleted.
That is, Wfica32.exe is no longer allowed to write HKLM\Software\Microsoft\MSLicensing after Sysprep.
Also, if you deleted HKLM\Software\Microsoft\MSLicensing\ClientHWID after Sysprep, Wfica32.exe would create new ClientHWID multiple times on the endpoint device.

As result, multiple RDS Per Device CALs might be consumed by a single endpoint device.​​​​​​