KLIF-service could not be started. System cannot find file

Document ID: 10403

Synopsis

The event log shows the following system error message. "KLIF-service could not be started. System cannot find file".

More Information

KLIF-service could not be started. System cannot find file The event log shows the following system error message. "KLIF-service could not be started. System cannot find file". This issue is to do with how files for Kaspersky Anti Virus are used differently between version 6 and later versions.

Possible Remedies

Force the system to download a fresh copy of the updates.

  • Stop SMTPDA and SMTPRA.
  • Navigate to MailSite\Kaspersky\Backup and delete the contents of this folder.
  • Restart the two services.

If you are still getting errors then you will need to delete some keys from the Registry

WARNING!!
Incorrectly editing the registry can damage the server, please be sure to take a full backup of the Registry before proceeding
  • Open a command line and type regedit
  • Delete the following keys:
    1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services\KLIF\
    2. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_KLIF
    3. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\klif
    4. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\klif
    5. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_KLIF
    6. You may also see similar entries under 'TSP' in addtion to 'KLIF' key. If you examine the entry in detail, you will see it is referring to mailsite\kaspersky\master\klif.sys location on disk, this file no longer exists. These can be deleted also
  • Restart the Server