Kaspersky Anti Virus problems activating and deactivating licenseSolvedLocked

I am having an intermittent problem with license activation and deactivation by calling TurboActivate.Activate() and TurboActivate.Deactivate() on my dev Win7 VM (I allow activations from virtual machines). I am using C# and for both calls, TurboActivate returns the error code TA_E_INET and then subsequently throws an InternetException. I traced this issue to my Kaspersky Free Anti Virus and a setting within that product called "Web Anti-Virus": https://support.kaspersky.com/12111#block3

Turning off "Web Anti-Virus" stops the problem and activation and deactivation both work. If I however leave "Web Anti-Virus" on and add "https://wyday.com" as a URL that is excluded from scanning or as a trusted URL, I still have the issue. There is no problem going to "https://wyday.com" on Internet Explorer when the anti-virus setting is enabled.

It seems that Kaspersky doesn't always cause the problem and that sometimes calling TurboActivate.Activate() or TurboActivate.Deactivate() will be successful. This is especially true if it is called repeatably after encountering an InternetException; sometimes it will work on the 3rd or 4th try.

On my same VM machine, activating the license via TurboActivate.exe with Kaspersky Web Anti-Virus turned on does not have any issue; this is surprising. Also note that when I try to activate via my app on the Win10 host machine (same machine that runs the VM), the anti-virus does not seem to pose any issues and activation and deactivation work correctly.

Before doing anything else, use the latest version of TurboActivate. It looks like you're at least using an old version of a C# / VB.NET integration file (TurboActivate.cs / TurboActivate.vb). Update that *and* update the TurboActivate library itself:

https://wyday.com/limelm/help/faq/#latest-libs

This is all with the latest version of TurboActivate (4.0.9.6) and the exact TurboActivate.cs that is in the zip from the 4.0.9.6 download.

"TurboActivate.Activate() or TurboActivate.Deactivate() "

Those are old-style static calls to functions that aren't available in the latest version. Hence the assumption that you're using an old version.

>> "I traced this issue to my Kaspersky Free Anti Virus and a setting within that product called "Web Anti-Virus": https://support.kaspersky.com/12111#block3"

If you truly are using the latest version of TurboActivate, and you're still having problems, my advice would be to ditch Kaspersky. They're a tool of the Russian government. Here's some reliable reporting on the issue: https://www.nytimes.com/2017/10/10/technology/kaspersky-lab-israel-russia-hacking.html

Use the free, built-in antivirus in Windows. It's fast, reliable, and will not collect kompromat for a dictator's use.

From: https://wyday.com/limelm/help/faq/#fix-broken-wmi

"Remove all anti-virus software except Microsoft's Defender anti-virus. (Or if you're still using Windows 7 or Windows Vista, use Microsoft's Security Essentials -- the predecessor to Windows Defender). All 3rd party anti-virus products are junk: slow, bloated, expensive, and do more harm than good. Windows Defender is free and lean."

I am not calling it via a static call, I am calling it via a TurboActivate object. The TurboActivate object could be called anything so I thought it was more clear to specify the full class name.

Switching anti-virus is not a solution since my customers may have Kaspersky anti virus or a similar problem may happen with other antivirus programs. I can easily turn off the Kaspersky web anti-virus setting and have everything work fine on my computer but my concern is not what happens on my computer but what happens on my customers computers. If a customer encounters the same problem (with either Kaspersky or some other anti virus program) it may not be viable to ask them to temporarily disable anti-virus or switch to another anti-virus vendor in order to activate/deactivate their license especially since they may be corporate customers who don't have the necessary permissions to do so.

Unfortunately more information is needed. And we're not willing to install compromised software on our systems.

The solution to TA_E_INET is:

1. Remove malicious anti-virus programs (like Kaspersky) -- use default Windows anti-virus instead

2. Configure routers / switches / etc. to whitelist https://wyday.com/* (not the IP addresses, just the actual domain names)

Beyond that, if the customer is unwilling / unable to do that offline activation remains an option: https://wyday.com/limelm/help/offline-activation/