Uninstalling Veeam Backup & Replication in Silent Mode

You can uninstall Veeam Backup & Replication in the unattended mode with a special XML answer file by using the command line interface. The answer file contains all the necessary uninstallation settings in the proper order and their thorough description.

Before You Begin

Before starting the uninstallation of Veeam Backup & Replication in the silent mode with the answer file, consider the following:

  • The user account that you use to run the silent installation must be in the local Administrators group on the machine where the silent installation will run. The silent installation cannot be run under the LocalSystem and NetworkService accounts.
  • If the user account that you use to run the unattended uninstallation is logged on the machine using the network logon method, the unattended uninstallation will fail. To avoid this, use an additional /SkipNetworkLogonErrors command line key. For example, it is required when the unattended uninstallation is started within a remote PowerShell session.
  • When configuring the answer file, remove or comment out the unused [Optional] parameter. Otherwise, the uninstallation session will fail.

Uninstalling Veeam Backup & Replication

To uninstall Veeam Backup & Replication in the silent mode with the answer file, take the following steps:

  1. Copy the VbrAnswerFile_uninstall.xml file to your local drive.

You can find the template answer file on the Veeam Backup & Replication installation disk in the \Setup\Silent\AnswerFiles\VBR folder. This folder contains the following templates of answer files used for installing, uninstalling, and upgrading Veeam Backup & Replication:

  • VbrAnswerFile_install.xml — for installing Veeam Backup & Replication
  • VbrAnswerFile_uninstall.xml — for uninstalling Veeam Backup & Replication
  • VbrAnswerFile_upgrade.xml — for upgrading Veeam Backup & Replication
  1. Configure uninstallation parameters according to your needs. For details, see Configuration Parameters.

Check that the answer file has the correct bundle (Vbr) and mode (uninstall) specified in line 2:

<unattendedInstallationConfiguration bundle="Vbr" mode="uninstall" version="1.0">

  1. After you make all the necessary changes in your answer file, start the uninstallation by running the Veeam.Silent.Install.exe file located on the Veeam Backup & Replication installation disk in the \Setup\Silent folder. Use the following command line keys in your uninstallation command:

D:\Setup\Silent\Veeam.Silent.Install.exe /AnswerFile E:\MyAnswerFileVBRUninstall.xml /SkipNetworkLogonErrors


  • /AnswerFile — required key for specifying the path to your custom answer file, for example: E:\MyAnswerFileVBRUninstall.xml.
  • /SkipNetworkLogonErrors — optional key that allows skipping additional pre-uninstallation validations that do not work under the network logon, which will block the silent uninstallation from running.
  • /LogFolder — optional key for specifying the path where the setup should save log files if it is different from the default path. The default path is: C:\ProgramData\Veeam\Setup\Temp.

Configuration Parameters

The configuration file contains only the following parameter:








Specify 1 if you want to reboot the machine where you uninstall Veeam Backup & Replication after the uninstallation finishes. Specify 0 if you do not want to reboot the machine.

Uninstallation Result Codes

The uninstallation result is written into the uninstallation log file located at your selected log folder. It may show one of the following result codes:

Result Code





install failure


reboot required


logoff required

Uninstallation Error Codes

The uninstallation error codes accompanied by their detailed description are displayed in the command line dialog. They can also be found in the UnattendedInstallationResult_%DATE%_%TIME%.xml file in the log folder (by default, C:\ProgramData\Veeam\Setup\Temp). You can use such an XML file for retrieving uninstallation results from the scripts or utilities that are used to run the uninstallation. The error message may show one of the following error codes:

Error Code



Uninstallation has been completed successfully.


Unable to start the setup program, because machine reboot is pending.


Failed to start the installer.


Invalid answer file provided.


Invalid launch conditions.


Failed to uninstall the product.


Unexpected error occurred.