Installing Updates in Unattended Mode
Veeam Backup & Replication Updates can be installed in the unattended mode.
To install an Veeam Backup & Replication Update, perform the following steps:
Step 2 is performed in the unattended mode.
  | 
The script installing Veeam Backup & Replication Updates must be run with elevated privileges (run as Administrator).  | 
Step 1. Download Update Installation Archive
- Download the installation archive for the Veeam Backup & Replication Update from https://www.veeam.com/updates.html.
 - Extract the executable file from the downloaded archive.
 - Save the extacted file locally on the backup server where you plan to install the update or in a network shared folder.
 
To install the Veeam Backup & Replication Update on the backup server, use the following command syntax:
%patch% [/silent][/noreboot][/log <log_path>][VBR_AUTO_UPGRADE=1]  | 
The following command-line options can be used:
Option  | Parameter  | Required  | Description  | 
%patch%  | path  | Yes  | Specifies a path to the Update installation file on the backup server or in a network shared folder.  | 
silent  | —  | Yes  | Sets the user interface level to “no”, which means no user interaction is needed during installation.  | 
noreboot  | —  | No  | Suppresses reboot if reboot is required during the Veeam Backup & Replication Update installation.  | 
log  | path  | No  | Specifies a full path to the log file for the Veeam Backup & Replication Update installation.  | 
VBR_AUTO_UPGRADE  | Boolean  | No  | Starts automatic upgrade for existing components in the backup infrastructure. Set this parameter to 1 to enable components upgrade. Automatic components upgrade is performed after the Veeam Backup Service on the backup server is started.  | 
For example:
You want to install the Veeam Backup & Replication Update with the following options:
- Path to the Update installation file: C:\Temp\VeeamBackup_Replication_9.0.0.1491_Update1.exe
 - Silent install: enabled
 - Noreboot: enabled
 - Path to log file: C:\Logs\veeam.log
 - Components auto upgrade: enabled
 
The command to install the Veeam Backup & Replication Update will be the following:
C:\Temp\VeeamBackup_Replication_9.0.0.1491_Update1.exe /silent /noreboot /log C:\Logs\veeam.log VBR_AUTO_UPGRADE=1  | 
Installation Results
You can use the last exit code to verify if the installation process has completed successfully.
- In cmd.exe, use the %ERRORLEVEL% variable to check the last exit code.
 - In Microsoft Windows PowerShell, use the $LastExitCode variable to check the last exit code.
 
Veeam Backup & Replication does not provide any confirmation about the results of the automatic components upgrade. To check if components have been successfully upgraded, use the Veeam Backup & Replication console.