Skip to main content

GetLastError Prevents Kofax Searching Matching Server Installation

Article # 3014778 - Page views: 134


Question / Problem: 

When attempting to install the Kofax Searching and Matching Server (KSMS), then an error is received which prevents the installation: 

Error getting file security: D:\Kofax\KSMS\Databases\
GetLastError: 5


What is causing the error and how can the issue be resolved to allow the installation to proceed?  

Answer / Solution: 

The issue can be related to insufficient permissions held by the installation user account.  
Use of a Process Monitor Trace with a filter on Result as Access Denied should show with the condition.  


Steps to Resolve: 

  1. Adding the EVERYONE Profile with Full Control to the KSMS Directories has been shown to resolve the installation issue
  2. It should be safe to remove that User Profile after the installation has been completed
  3. Sample affected directories for the KSMS installation & GetLastError issue are included, below: 
  • C:\ProgramData\Kofax\KSMS\Databases
  • C:\ProgramData\Kofax\KSMS\Upload

Applies to:  

Product Version
KTM 6.0
KTM 6.1
KTM 6.2
KTM 6.3