Skip to content


Regenerating Temporary Terminal Server CALS.

From time to time it becomes necessary to regenerate temporary terminal server licenses. Whether it be a genuine error which is preventing you from using temporary licenses or the fact that someone “forgot” to purchase TSCALS within the grace period allowed by Microsoft.

In my experience the below will fix 99.9% of problems surrounding temporary licenses and let you get back up and running with enough time to source some legitimate TSCALS.

*Note: These only apply to temporary licenses. If you are running a system with permanent TSCALS make sure you fully back your licenses up before doing this. If you don’t you will have to call the Microsoft Clearing House to get your TSCALS back.

On the client:

Start up regedit.exe. Drill down to HKEY_LM\Software\Microsoft\MSLicensing and delete this whole key.

On the server itself:

Go to Control Panel, Administritive tools, Services manager.

STOP Terminal Server Licensing Manager Service.

Delete contents of %systemroot%\system32\Lserver directory.

RESTART Terminal Server Licensing Manager Service.

As an absolute final resort (on the server):

Caution:Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

To set a preferred license server by using the registry (on Windows Server 2003)

  1. On the license server, open Registry Editor. To open Registry Editor, click Start, click Run, type regedit, and then click OK.
  2. Locate, and then click, the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\
    CurrentControlSet\Services\
    TermService\Parameters
  3. On the Edit menu, point to New, click Key, and then type LicenseServers to name the new key.
  4. Locate, and then click, the following key in the registry:

HKEY_LM\SYSTEM\CurrentControlSet
\Services\TermService\Parameters
\LicenseServers

On the Edit menu, point to New, click Key, and then type ServerNamewhere ServerName is one of the following:

• The FQDN of the server (for example, Server1.contoso.com)

• The NetBIOS name of the server(for example, Server1)

• The IP address of the server (for example, 206.73.118.1)

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • Fark
  • Reddit
  • StumbleUpon

Profile:  John has administered networks of various sizes for many years and also dabbles in PHP web development. More articles.

Posted in Terminal Services.

3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. You are a lifesaver! I have been to Technet and many other sites, but yours was the first (and only) one that worked. I have spent hours going round and round with this and you saved me. Thank you very much.

  2. Thank god for the Internet, and the dodgy stuff it serves. :)

  3. I completely agree with Kenneth.

    Bests

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.