SEO, PHP and Javascript Web Dev

Search Engine Optimisation, Web Development and Network Administration Ramblings

-->
29  10 2006

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 this Post:
  • Reddit
  • Sphinn
  • del.icio.us
  • Digg
  • e-mail
  • Mixx
  • Google
  • StumbleUpon

Related posts:

  1. Terminal Server Licensing.
  2. Mapping Client Network Printers
  3. Offering Remote Assistance
  4. Monitoring SVCHOST.exe
  5. Kerberos General Information

No tags for this post.
« Solving File/ Registry Permission Problems
Memory Testing »

2 Responses to “Regenerating Temporary Terminal Server CALS.”

  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. :)

Leave a Reply

-->
  • Photography