sorry you didn't get a response to your last post.
I'm wondering if Kaspersky was installed to a non-default location, and whether there's something in the registry hanging around from the previous install relating to a different location to where it's installed now.
There are a bunch of registry keys (managed by the Kaspersky AV SDK, rather than our code) that live in
HKEY_LOCAL_MACHINE\Software\KasperskyLab\sdk
Our Kaspersky AV for WinGate module keeps its config in
HKEY_LOCAL_MACHINE\Software\Qbik Software\WinGate\Kaspersky AV for WinGate
There are a bunch of file paths in here, and if they are pointing to the wrong place this could explain the issues.
You can be sure this isn't happening if you do the following (apologies in advance)
1. Stop WinGate Service
2. Run the Kaspersky AV for WinGate uninstaller
3. Delete the registry key HKEY_LOCAL_MACHINE\Software\KasperskyLab\sdk
4. Delete the registry key HKEY_LOCAL_MACHINE\Software\Qbik Software\WinGate\Kaspersky AV for WinGate
5. Delete the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Packages\{300ef82b-76de-4047-90c0-c70b95a4af6a}
6. Probably best now to restart the server, but may not be necessary
7. Run the Kaspersky AV for WinGate installer.
8. Update the Kaspersky.key file (see below)
8. Start the WinGate service.
UPDATING KASPERSKY KEY FILE
this file can be downloaded from
https://www.wingate.com/updates/Kaspersky.keyThe file needs to replace the Kaspersky.key file that was installed by the installer in step 7 (yes, we will update the installer). Normally there's a folder called Scanner underneath the Kaspersky AV folder (wherever you installed that).
However it can be diverted in the registry, as I believe the Kaspersky.key file is used to enable the scanning SDK and also the Kaspersky Updating SDK (used to update the signature files - yes, there are 2 SDKs). If so, its location is specified in the Kaspersky AV for WinGate registry key under the value "LicensePath".
Updated versions of the Kaspersky.key file are normally retrieved on a scheduled event. The event is called "Kaspersky AV for WinGate Key Updater" and it lives in WinGate => Control Panel => Scheduled Events.
Regards
Adrien de Croy