Open in the explorer

Prevent license upgrade

Empêcher la mise à jour de licence

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › RD Licensing FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Gestionnaire de licences des services Bureau à distance
Supported on
At least Windows Server 2003 FR: Au minimum Windows Server 2003
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_PreventLicenseUpgrade

Explanation

This policy setting allows you to specify which version of Remote Desktop Services client access license (RDS CAL) a Remote Desktop Services license server will issue to clients connecting to RD Session Host servers running other Windows-based operating systems.

A license server attempts to provide the most appropriate RDS or TS CAL for a connection. For example, a Windows Server 2008 license server will try to issue a Windows Server 2008 TS CAL for clients connecting to a terminal server running Windows Server 2008, and will try to issue a Windows Server 2003 TS CAL for clients connecting to a terminal server running Windows Server 2003.

By default, if the most appropriate RDS CAL is not available for a connection, a Windows Server 2008 license server will issue a Windows Server 2008 TS CAL, if available, to the following:

* A client connecting to a Windows Server 2003 terminal server
* A client connecting to a Windows 2000 terminal server

If you enable this policy setting, the license server will only issue a temporary RDS CAL to the client if an appropriate RDS CAL for the RD Session Host server is not available. If the client has already been issued a temporary RDS CAL and the temporary RDS CAL has expired, the client will not be able to connect to the RD Session Host server unless the RD Licensing grace period for the RD Session Host server has not expired.

If you disable or do not configure this policy setting, the license server will exhibit the default behavior noted earlier.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de spécifier la version de la licence d’accès client des services Bureau à distance qui est délivrée par un serveur de licences des services Bureau à distance aux clients qui se connectent aux serveurs Hôte de session Bureau à distance exécutant d’autres systèmes d’exploitation Windows.

Un serveur de licences tente de fournir la licence d’accès client aux services Bureau à distance ou Terminal Server la plus appropriée à une connexion. Par exemple, un serveur de licences Windows Server 2008 tente de délivrer une licence d’accès client aux services Terminal Server Windows Server 2008 aux clients qui se connectent à un serveur Terminal Server qui exécute Windows Server 2008. De la même façon, il tente de délivrer une licence d’accès client aux services Terminal Server Windows Server 2003 aux clients qui se connectent à un serveur Terminal Server exécutant Windows Server 2003.

Par défaut, si la licence d’accès client aux services Bureau à distance la plus appropriée n’est pas disponible pour une connexion, un serveur de licences Windows Server 2008 délivre une licence d’accès client aux services Terminal Server Windows Server 2008, si elle existe, aux clients suivants :

* Client se connectant à un serveur Terminal Server Windows Server 2003
* Client se connectant à un serveur Terminal Server Windows 2000

Si vous activez ce paramètre de stratégie, le serveur de licences délivre au client une licence d’accès client aux services Bureau à distance temporaire uniquement si aucune licence d’accès client aux services Bureau à distance appropriée n’est disponible pour le serveur Hôte de session Bureau à distance. Si le client a déjà reçu une licence d’accès client aux services Bureau à distance temporaire qui a expiré, il ne peut pas se connecter au serveur Hôte de session Bureau à distance, sauf si la période de grâce du Gestionnaire de licences des services Bureau à distance du serveur Hôte de session Bureau à distance n’a pas expiré.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le serveur de licences adopte le comportement par défaut décrit ci-dessus.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services
Value name
fPreventLicenseUpgrade
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: TerminalServer/TS_PreventLicenseUpgrade
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fPreventLicenseUpgrade' -Value 1 -Type DWord

Disable

# Disable: TerminalServer/TS_PreventLicenseUpgrade
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fPreventLicenseUpgrade' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": TerminalServer/TS_PreventLicenseUpgrade
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'fPreventLicenseUpgrade' -ErrorAction SilentlyContinue

Availability