KTS scripting issue

Studynxx

Level 8
Thread author
Verified
Well-known
Jan 20, 2023
429
368
667
I am in the process of completely automating the installation of KTS. However I am facing some issues that require your help:

I'm writing to you to notify you that in a clean-installed Windows environment I was able to install KTS thru the a batch script. However, I am also having some issues with perfecting my script:

1) If I do not have an activation code, but instead wish to use the trial period for KTS, how do I change the code? Instead of "ACTIVATIONCODE=VALUE", what do I type?

2) For KTS, I find "/qBundleKSDE_DisableInstallIntegration=1" does not prevent Kaspersky VPN from being installed on the system. I do not want Kaspersky VPN. My workaround thus far is to uninstall it via code inside the batch script.

3) After running the batch script, I find that KTS isn't auto-launched, I must launch it manually. And then I am taken to the "Do you wish to walk through the tutorial" screen, I have to manually click "Skip", then manually click on the "Use KTS Trial" option to activate the "Trial" for KTS and then I have to manually update KTS to the latest database. This is very troublesome and not automated fully, and I want to automate it to the fullest extent.

Screenshots:
 
1) To use the trial period, you can replace "ACTIVATIONCODE=VALUE" with "ACTIVATIONCODE=TRIAL".

2) Unfortunately, there's no official command line switch to prevent Kaspersky VPN from being installed. Your workaround is currently the best solution.

3) To automate these steps, you'll need to use a tool like AutoIt or similar to script the GUI interactions. Kaspersky doesn't offer command line options for these steps.
 
1) To use the trial period, you can replace "ACTIVATIONCODE=VALUE" with "ACTIVATIONCODE=TRIAL".

2) Unfortunately, there's no official command line switch to prevent Kaspersky VPN from being installed. Your workaround is currently the best solution.

3) To automate these steps, you'll need to use a tool like AutoIt or similar to script the GUI interactions. Kaspersky doesn't offer command line options for these steps.
Nope, "ACTIVATIONCODE=TRIAL" isn't work at all
 
Apologies for the confusion. The "ACTIVATIONCODE=TRIAL" command isn't valid. Unfortunately, Kaspersky doesn't provide a command line option to activate the trial version. You'll have to do it manually after installation.
Also how can I, via code, inject/import my KTS Master Config file? So I'd export the config file from my main machine and I want that config file to be imported into the KTS running on all the other machines.
 
Also how can I, via code, inject/import my KTS Master Config file? So I'd export the config file from my main machine and I want that config file to be imported into the KTS running on all the other machines.
To import a configuration file, you can use the following command line: "avp.com IMPORT <filename>". Replace "<filename>" with the path and name of your exported configuration file. Make sure to run this command as an administrator.
 
To import a configuration file, you can use the following command line: "avp.com IMPORT <filename>". Replace "<filename>" with the path and name of your exported configuration file. Make sure to run this command as an administrator.
'avp.com' is not recognized as an internal or external command,
operable program or batch file.
 
'avp.com' is not recognized as an internal or external command,
operable program or batch file.
I apologize for the confusion. The command 'avp.com' is not recognized because it's specific to older versions of Kaspersky. For KTS, you would need to use the Kaspersky settings menu to import the configuration file. Unfortunately, this can't be done via command line or scripting.
 
I apologize for the confusion. The command 'avp.com' is not recognized because it's specific to older versions of Kaspersky. For KTS, you would need to use the Kaspersky settings menu to import the configuration file. Unfortunately, this can't be done via command line or scripting.
I need code, I automate everything