Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Symptoms

In a Microsoft Windows Server 2003-based domain, the following Windows event is logged in the System log on the Terminal Server or on the Terminal Services 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.

Note If this event is logged on the Terminal Server, you must make the registry changes on the Terminal Server. If this event is logged on the Terminal Services Licensing Server, you must make changes on the licensing server.

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.

↑ Back to the top


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.

↑ Back to the top


Resolution

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows


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.

↑ Back to the top


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

↑ Back to the top


Keywords: KB885013, kbtshoot, kbtermserv, kbwinservperf

↑ Back to the top

Article Info
Article ID : 885013
Revision : 2
Created on : 4/16/2008
Published on : 4/16/2008
Exists online : False
Views : 311