How to use Kaspersky Update Utility 4 for Windows from the command line
Make sure your device is connected to the Internet. It is required for downloading updates and checking licenses of the applications to update.
To start Kaspersky Update Utility from the command line, enter the full path to the file UpdateUtility-Console.exe and press Enter.
Use the following parameters in the command line interface:
Parameter | Description |
---|---|
--accepteula | Accept the End User License Agreement. The License Agreement can be found in the license.txt file in the downloaded installer. You must accept the terms of the End User License Agreement to proceed with the installation. If you run the application without specifying this parameter, you will be requested through the command line. To accept the terms of the License Agreement, press Y on the keyboard. |
--acceptprivacypolicy | Accept the terms of the Privacy Policy. The Privacy Policy can be found in the license.txt file in the downloaded installer. You must accept the terms of the Privacy Policy to use the application. If you run the application without specifying this parameter, you will be requested through the command line. To accept the terms of the Privacy Policy, press Y on the keyboard. |
--acceptksn | Agree to participate in Kaspersky Security Network (KSN). The Kaspersky Security Network Statement can be found in the license.txt file in the downloaded installer. If you run the application without specifying this parameter, you will be requested through the command line. To participate in Kaspersky Security Network, press Y on the keyboard. |
--declineksn | Opt out of participation in Kaspersky Security Network (KSN). If you run the application without specifying this parameter, you will be requested through the command line. To opt out of Kaspersky Security Network, press N on the keyboard. |
-u | Run an update. |
-o <filename>
-c <filename> |
Specify the configuration file. If this parameter is not specified, the updater.ini file is used. |
-t | Enable tracing of the tool’s operation |
-d | Write a crash dump file. |
-s | Run in silent mode. |
-r | Enable logging. |
-h | View the list of parameters with descriptions. |
--proxy_login <login> | Set the proxy server login. |
--proxy_password <password> | Set the proxy server password. |
When starting the application from the command line with the -u parameter for the first time, read carefully the Kaspersky End User License Agreement and the Product and Services Privacy Policy in the license.txt file, and the Kaspersky Security Network Statement in the ksn.txt file. If you agree to all the terms, press Y on the keyboard.
To grant or withdraw your consent to participate in the Kaspersky Security Network at a later time, open the updater.ini file in a text editor and set for the AgreedWithKsn parameter one of the following values:
- true, if you agree with the Kaspersky Security Network Statement.
- false, if you do not agree with the Kaspersky Security Network Statement.
Example of starting the utility from the command line
Type in the command line:
Kaspersky Update Utility for Windows will start in silent mode with the updater.ini configuration file, generate a trace file and log a report to the report.txt file.
Storing user credentials for proxy server access
Kaspersky Update Utility for Windows saves user account credentials for proxy server access in the current user folder: %USERPROFILE%\.kuu\updater_s.ini. The credentials are additionally encrypted by Windows encryption tools. If you don't want to keep the credentials stored on a disk, use the console version of the utility and submit them for each utility session using the following command line parameters:
- --proxy_login <login>
- --proxy_password <password>
Create a separate unprivileged user. Start Kaspersky Update Utility as this user. For details, see this article.