Event ID 1009 is logged on a Terminal Server License server in a Windows Server 2003-based domain (885013)



The information in this article applies to:

  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Datacenter Edition

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

In a Microsoft Windows Server 2003-based domain, the following Windows event is logged in the System log on the Terminal Server License server:Event Type: Warning
Event Source: TermService
Event Category: None
Event ID: 1009
Computer: Server Name
Description:
The terminal server licensing grace period is about to expire on date and the service has not registered with a license server with installed licenses. A terminal services license server is required for continuous operation. A terminal server can operate without a license server for 120 days after initial start up.This symptom occurs if the following conditions are true:
  • The Windows Server 2003-based domain has Windows Server 2003 Terminal Server License servers with Terminal Services Per User Client Access License (CAL) tokens installed.
  • The Windows Server 2003-based domain has Windows Server 2003 Terminal Services servers running in Per User mode.

CAUSE

This issue occurs if the LicensingGracePeriodEnded registry entry is not set. The LicensingGracePeriodEnded registry entry suppresses the event messages that appear in the System log and ends the Terminal Services license count-down process.

RESOLUTION

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue, add the LicensingGracePeriodEnded registry entry to the registry. To do this, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters

  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type LicensingGracePeriodEnded, and then press ENTER.
  5. Right-click LicensingGracePeriodEnded, and then click Modify.
  6. In the Edit DWORD Value box, make sure that the Value data box contains a NULL value (0), and then click OK.
  7. Quit Registry Editor.

MORE INFORMATION

For additional information about Terminal Server Client Access Licenses in Windows Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:

822134 The function of Terminal Server CALs in Windows Server 2003


Modification Type:MajorLast Reviewed:11/22/2004
Keywords:kbwinservperf kbTermServ kbtshoot KB885013 kbAudITPRO