Reseteaza licenta de Terminal Server in Windows Server

Configurare noua (How To)

Situatie

Pentru a rezola eroarea “The remote sesion was disconnected because there are no Remote Desktop License Servers available to provide a license” poti urma pasii de mai jos.

error-no-licence

EventID: 1128
Source: TerminalServices-RemoteConnectionManager

The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. A RD Licensing server is required for continuous operation. A Remote Desktop Session Host server can operate without a license server for 120 days after initial start up.

Solutie

Pasi de urmat

Daca vrei sa resetezi timer-ul si sa castigi iar o perioada de gratie de 120 de zile gasesti solutia mai jos. Deschide Regedit si navigheaza catre HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal

ServerRCMGracePeriod.

grace period

 

Sterge doar cheia  L$RTMTIMEBOMB. Daca atunci cand incerci sa stergi cheia primesti eroarea:

Unable to delete all specified values.

error deleting value

trebuie sa modifici drepturile de apartenenta ale acesteia.

Apasa click dreapta pe folderul GracePeriod si selecteaza Permissions.

grace period permissions

 

Apasa butonul de Adavanced.

advanced button

In partea de sus din fereasrta Advanced Security Settings apasa Change de langa Owner.

advanced security

Introdu Domain Admins sau numele userului tau apoi Ok.

domain admin

 

Apasa iarasi Ok.

ad domain admins

Acum acorda administratorilor acces deplin.

full control

 

Acum poti apasa din nou click dreapta pe L$RTMTIMEBOMB si apasa Delete.

L$RTMTIMEBOMB

Apasa Yes pentru a confirma stergerea.

confirm value

Acum restarteaza serverul si incearca sa te loghezi. Odata logat, verifica Remote Desktop Licensing Manager pentru a vedea daca licentele sunt alocate asa cum se poate vedea mai jos.

rdlm

Daca dupa restart intampinati aceeasi eroare, incercati comenzile de mai jos in Power Shell.

$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.GetSpecifiedLicenseServerList()

obj

Dupa cum puteti vedea, nu este niciun server specificat la SpecifiedLSList. Putem specifica manual acest lucru folosind comanda:

$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.SetSpecifiedLicenseServerList("Licenseserver.yourdomain.com") 

Tip solutie

Permanent

Voteaza

(8 out of 16 people found this article helpful)

Despre Autor

Leave A Comment?