Ouvrir dans l'explorateur

Empêcher la mise à jour de licence

Prevent license upgrade

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Gestionnaire de licences des services Bureau à distance EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › RD Licensing
Pris en charge sur
Au minimum Windows Server 2003 EN : At least Windows Server 2003
Fichier ADMX
TerminalServer.admx
Nom interne
TerminalServer/TS_PreventLicenseUpgrade

Explication

Texte français issu de 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.

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.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services
Nom de la valeur
fPreventLicenseUpgrade
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : 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

Désactiver

# Désactiver : 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

Revenir à « Non configuré »

# Revenir à « Non configuré » : TerminalServer/TS_PreventLicenseUpgrade
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'fPreventLicenseUpgrade' -ErrorAction SilentlyContinue

Disponibilité