Appendix A: Rebuild the RD Licensing Database

Updated: February 16, 2011

Applies To: Windows Server 2008 R2 with SP1

You can use the Managing licenses Wizard in Remote Desktop Licensing Manager to rebuild the RD Licensing database on a license server that is running Windows Server 2008 R2. The automatic rebuilding method requires Internet connectivity from the computer running the Remote Desktop Licensing Manager tool. Internet connectivity is not required from the license server itself. This method uses TCP/IP (TCP port 443) to connect directly to the Microsoft Clearinghouse.


Rebuilding the RD Licensing database deletes any RDS CALs that are currently installed on the license server. After the RD Licensing database is rebuilt, you must reinstall your licenses onto the license server. Therefore, before you rebuild the RD Licensing database on a license server, ensure that you have your RDS CAL or VDI license purchase agreement documentation available.

Membership in the local Administrators group, or equivalent, on the RD Licensing server that you plan to configure, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (

To rebuild the RD Licensing database automatically

  1. On the license server, open Remote Desktop Licensing Manager. To open Remote Desktop Licensing Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Licensing Manager.

  2. Right-click the license server RDL-SRV, and then click Properties. On the Connection Method tab verify that the connection method for the Remote Desktop license server is set to Automatic connection (recommended), change the connection method if necessary, and then click OK.

  3. Select the license server RDL-SRV, and then on the Action menu, click Manage Licenses.

  4. On the Welcome to the Manage licenses Wizard page, click Next.

  5. On the Action Selection page, click Rebuild the license server database.

  6. Select The license server is being redeployed from the Select a reason for rebuilding the RD Licensing database:, and then click Next.

  7. On the Confirm Deletion of licenses page, select the Confirm deletion of licenses currently installed on this license server check box, and then click Next.

  8. After the contents of the RD Licensing database have been deleted, on the Reinstalling licenses page, click Next.


You can only reinstall one set (or pack) of licenses at a time. After you have reinstalled the first set of licenses, the wizard asks you if you want to reinstall another set of licenses. You are asked this after each set of licenses is reinstalled.

  1. On the License Program page, select the appropriate program through which you purchased your RDS CALs, and then click Next.


If you are installing licenses for a Virtual Desktop Infrastructure environment, select Select License for License program.

  1. The License Program that you selected on the previous page in the wizard determines what information you need to provide on this page. In most cases, you must provide either a license code or an agreement number. Consult the documentation provided when you purchased your licenses.


If you are installing licenses for a Virtual Desktop Infrastructure environment, enter 67679281 for the Agreement number.

  1. After you have entered the required information, click Next.

  2. On the Product Version and License Type page, select the appropriate product version, license type, and quantity of licenses for your environment based on your license purchase agreement, and then click Next.


If you are installing licenses for a Virtual Desktop Infrastructure environment, select Windows Server 2008 or Windows Server 2008 R2 for the Product version, and then select VDI Premium Suite Per Device subscription license, or VDI Standard Suite Per Device subscription license for the License type. Select the quantity of licenses for your environment based on your license purchase agreement.

The Microsoft Clearinghouse is automatically contacted and processes your request. The RDS CALs are then automatically reinstalled onto the license server.
  1. To reinstall another set of RDS CALs, on the Reinstalling Additional licenses page, click Continue reinstalling additional licenses, and then click Next. Repeat steps 9 through 12.

    To finish rebuilding the RD Licensing database, click Finish rebuilding the RD Licensing database, click Next, and then click Finish.


If you do not have RDS CALs, or Virtual Desktop Infrastructure client licenses, the license server will issue a temporary license valid for 90 days.