Update the application in silent mode

February 5, 2024

ID 179906

You can update Kaspersky Anti-Ransomware Tool for Home in silent mode from the command prompt. Before updating the application, please open and carefully read the terms and conditions.

To update the application in silent mode:

  1. Please open and carefully read End User License Agreement, Statement Regarding Data Processing For Marketing Purposes, Supplemental Statement On Data Processing, Supplemental Statement on Data Processing, and Privacy Policy, for using the application.
    • If you agree to the terms and conditions, continue to update the application in silent mode.
    • If you do not agree to the terms and conditions, do not update Kaspersky Anti-Ransomware Tool for Home.
  2. Start the command prompt.
  3. Enter cd <path to the folder with the installation file>
  4. Enter <name_of_installation_file.exe> /q AGREETOEULA=1 AGREETO_SUPPLEMENTAL_STATEMENT=1 AGREETOPRIVACYPOLICY=1 AGREETO_MARKETING_STATEMENT=1 ADWARE_DETECT=1 REBOOTCOMPUTER=1 <settings>[=<value>]

    Description of the parameters:

    • /q – enable silent mode.
    • AGREETOEULA=1 – use this parameter if you confirm that you have fully read, understand and accept the terms of the End User License Agreement. If you don't enter this parameter, Kaspersky Anti-Ransomware Tool for Home won't be installed.
    • AGREETO_SUPPLEMENTAL_STATEMENT=1 – use this parameter if you confirm that you have fully read, understand and accept the terms of the Supplemental Statement on Data Processing. If you don't enter this parameter, Kaspersky Anti-Ransomware Tool for Home won't be installed.
    • AGREETOPRIVACYPOLICY=1 – use this parameter if you confirm that you are aware and agree that your data will be handled and transmitted (including to third-party countries) as described in the Privacy Policy, and if you confirm that you have fully read and understand the Privacy Policy. If you don't enter this parameter, Kaspersky Anti-Ransomware Tool for Home won't be installed.
    • AGREETO_MARKETING_STATEMENT=1– use this parameter if you confirm that you have fully read, understand and accept the terms of the Statement Regarding Data Processing for Marketing Purposes. If you don't enter this parameter, Kaspersky Anti-Ransomware Tool for Home won't be installed.
    • ADWARE_DETECT=1 – enable detection of adware and other legitimate software that could be used to harm your data. You can disable this function and detect only malware by entering ADWARE_DETECT=0. If you don't enter this parameter, Kaspersky Anti-Ransomware Tool for Home won't be installed.
    • REBOOTCOMPUTER=1 – restart the computer to finish updating. You can enter REBOOTCOMPUTER=0 to restart manually.
    • <settings> – specify additional settings.

    All parameters are case-sensitive. Receiving the application error code ErrorCode: 253 alongside with an MSI error, indicates that the command did not use correct command syntax. Please review these instructions and try again.

  5. Restart your computer.

    The application is updated.

If you first need to export your application settings, run the anti_ransom_gui.exe file in the application folder with the exportsettings parameter. Your settings will be exported to c:\ProgramData\Kaspersky Lab\AntiRansom4\protected\settings_storage.xml.

When updating, the application edits the [HKEY_LOCAL_MACHINE\SOFTWARE\KasperskyLab\AntiRansom4] registry flag to "UpgradeFlag"=dword:00000001.

See also

Application settings for the command prompt

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.