All licenses will now be cleared out of RD Licensing Manager, and you’ll need to re-install the licenses you want to add back in.Start the Remote Desktop Licensing service.Rename C:\Windows\System32\lserver\TLSLic.edb to C:\Windows\System32\lserver\TLSLic.old.Stop the Remote Desktop Licensing service.Make sure you have documentation of your MS License agreement that includes Authorization number, License number, License type (User/Device CAL), and Quantity before proceeding.I noticed the comment from Anonymous (date: May 5, 2017) that their server is still in Grace period. They are not on a domain (use Office 365) so I configured the Server 2012 R2 in a Workgroup and installed USER CALS. Manually Rebuild the Licensing Database (Guaranteed to Work if the Previous 2 methods Fail) I have a client who just wanted a simple 5 User Server 2012 R2 RDS to run an old accounting software on.
#WINDOWS SERVER 2012 REMOTE DESKTOP SERVICES USER CAL HOW TO#
Microsoft provides directions on how to do this automatically, via a web browser, or via the phone: Wmic /namespace:\\root\CIMV2 PATH Win32_TSLicenseKeyPack CALL UninstallLicenseKeyPackWithId KEYPACKID
Open powershell elevated as an administrator.Remove An Individual RDS CAL License Pack Using Powershell (User or Device CAL) I’ve included directions for all 3 methods below, and have tested this on Windows Server 2008, 2008R2, 2012, 2012R2, and 2016. However, if neither of those work, it’s quite easy to manually rebuild the RD licensing database. Microsoft allows you to remove an individual CAL license pack using powershell, or rebuild the entire database. There are many circumstances where you will need to remove a RDS CALs from an RDS Server, or in some cases you want to rebuild the entire RD licensing database.