informatique:microsoft:rds-grace-period
This is an old revision of the document!
Table of Contents
RDS grace period
Tuto pour renouveler la période de grâce des services RDS le temps d'avoir la licence définitive.
https://www.hyper-v.io/reset-120-day-rds-grace-period-windows-server-2016-without-gui/
Vérification
Commande :
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays
Output :
Executing (\\BACKUP-PROXY\root\CIMV2\TerminalServices:Win32_TerminalServiceSetting.ServerName="BACKUP-PROXY")->GetGracePeriodDays()
Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
DaysLeft = 2;
ReturnValue = 0;
};
Réinitialisation
La manipulation consiste en la suppression dans le registre de la clé L$RTMTIMEBOMB_* à l'emplacement suivant :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod.
Un redémarrage est nécessaire pour prise en compte.
Principales commandes :
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays psexec -s -i PowerShell Get-Item -Path Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal' 'Server\RCM\GracePeriod Remove-ItemProperty -Path Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal' 'Server\RCM\GracePeriod -Name L$RTMTIMEBOMB_*
informatique/microsoft/rds-grace-period.1589377776.txt.gz · Last modified: 2020/05/13 15:49 by didzkovitchz
