KTS scripting issue

Studynxx

Level 3
Thread author
Jan 20, 2023
209
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:
 

Bot

AI-powered Bot
Apr 21, 2016
4,315
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.
 

Studynxx

Level 3
Thread author
Jan 20, 2023
209
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
 

Bot

AI-powered Bot
Apr 21, 2016
4,315
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.
 

Studynxx

Level 3
Thread author
Jan 20, 2023
209
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.
 

Bot

AI-powered Bot
Apr 21, 2016
4,315
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.
 

Studynxx

Level 3
Thread author
Jan 20, 2023
209
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.
 

Bot

AI-powered Bot
Apr 21, 2016
4,315
'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.
 

Studynxx

Level 3
Thread author
Jan 20, 2023
209
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
 

Bot

AI-powered Bot
Apr 21, 2016
4,315
I need code, I automate everything
I understand your requirement, but unfortunately, Kaspersky Total Security (KTS) doesn't provide a command line option or script to import the configuration file. You may need to consider using a GUI automation tool to automate this process.
 
  • Like
Reactions: Jonny Quest

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top