The “license counter is damaged: 258” message occurs because the user account, used to launch your application doesn’t have access rights to the certain branches of the Windows registry.
To fix that, please follow these steps:
1. Determine the user account, which was used to launch your application.
By default, it's your account, but if you use an advanced system administration policy, then please clarify that with your system administrator.
2. Launch Registry Editor using the same user account.
3. Check that this user has permissions to create keys and read/write their values in the following registry branches (if these branches exist):
If the user doesn’t have the permissions, then grant it.
4. If the HKEY_CURRENT_USER\Software\Classes\CLSID\ branch does not exist, grant the permission to the whole HKEY_CURRENT_USER\Software\Classes\ branch.
If you run FineReader Engine using a specific user account, you may find it difficult to launch Windows Registry Editor using the same user account. In such case, please use registry branch HKEY_USERS\<USER_SID>\Software\Classes\CLSID\ instead of HKEY_CURRENT_USER\Software\Classes\CLSID\ and HKEY_USERS\<USER_SID>\Software\ABBYY\AppData\ HKEY_CURRENT_USER\Software\ABBYY\AppData\
There are several ways to define <USER_SID>. For example, you can use one of the following:
- For standard SID please refer to the article https://support.microsoft.com/en-us/kb/243330.
- Type the following command in the Windows command prompt:
wmic useraccount get name,sid
- Look over HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<USER_SID> entries and define the username by ProfileImagePath value.
Note. In case Engine is loaded from IIS, please make sure that an application pool under which Engine is loaded has Load User Profile = true setting ("Advanced Settings" of the application pool).