Microsoft KB Archive/883399

= How to reset the License Logging service in Windows Server 2003 =

Article ID: 883399

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web 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



INTRODUCTION
This article describes how to reset the License Logging service in Microsoft Windows Server 2003.



MORE INFORMATION
To reset the License Logging service on a computer that is running Windows Server 2003, follow these steps:  Stop the License Logging service. To do this, follow these steps:  Click Start, point to Administrative Tools, and then click Services. In the list of services, right-click License Logging, and then click Stop.  Delete or rename the Cpl.cfg file that is located in the %SystemRoot%\System32 folder on the hard disk. The Cpl.cfg file contains the purchase history of client access license (CALs). Delete or rename the following files that are located in the %SystemRoot%\System32\Lls folder on the hard disk:  Llsuser.lls</li> Llsmap.lls</li></ul>

The Llsuser.lls file contains the user information about the number of connections, and the Llsmap.lls file contains information about license groups.</li> Set the value of the ConcurrentLimit registry entry in the following registry subkey to 0 (zero):

To do this, follow these steps. 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.  Click Start, click Run, type regedit in the Open box, and then click OK.</li> Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LicenseInfo\FilePrint

</li> In the right pane, right-click  , and then click Modify.</li> In the Value data box, type 0, and then click OK.</li> Quit Registry Editor.</li></ol> </li> Create a new Cpl.cfg file in the %SystemRoot%\System32 folder on the hard disk. To do this, follow these steps:  Start Notepad, and then open a new blank file.</li> On the File menu, click Save.</li> In the Save As dialog box, click All Files in the Save as type box, and then type Cpl.cfg in the File name box. Save the new Cpl.cfg file to the %SystemRoot%\System32 folder on the hard disk.

Important Make sure that the new Cpl.cfg that you create uses the .cfg extension and does not use a .txt extension. Additionally, make sure that the Cpl.cfg file is empty. That is, make sure that the size of the Cpl.cfg file is 0 (zero) bytes.</li></ol>

Note If you deleted the original Cpl.cfg file earlier in step 2, assign the Network Service account Full Control permissions to the new Cpl.cfg file that you created. To do this, follow these steps:  Start Windows Explorer, and then locate the Cpl.cfg file that you created in the %SystemRoot%\System32 folder.</li> <li>Right-click the Cpl.cfg file, and then click Properties.</li> <li>Click the Security tab.</li> <li>Click Add.</li> <li>Under Select Users, Computers, or Groups, type Network Service in the Enter the object names to select box, and then click OK.</li> <li>In the Group or user names list, click NETWORK SERVICE.</li> <li>In the Permissions for NETWORK SERVICE list, click to select the Allow check box that is next to the Full Control permission, and then click OK.</li></ol> </li> <li>Assign the Network Service account Full Control permission to the %Systemroot%\System32\Lls folder. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start Windows Explorer, and then locate the %SystemRoot%\System32\Lls folder.</li> <li>Right-click the Lls folder, and then click Properties.</li> <li>Click the Security tab.</li> <li>Click Add.</li> <li>Under Select Users, Computers, or Groups, type Network Service in the Enter the object names to select box, and then click OK.</li> <li>In the Group or user names list, click NETWORK SERVICE.</li> <li>In the Permissions for NETWORK SERVICE list, click to select the Allow check box that is next to the Full Control permission, and then click OK.</li></ol> </li> <li>Start the License Logging service. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, point to Administrative Tools, and then click Services.</li> <li>In the list of services, right-click License Logging, and then click Start.</li></ol> </li> <li>Add the license information that you want.</li></ol>

<div class="references_section">