The issue described in this article only occurred when using the initial Veeam Backup & Replication 12.3 ISO named VeeamBackup&Replication_12.3.0.310_20241201.iso.
On 2024-12-16, a new ISO (VeeamBackup&Replication_12.3.0.310_20241211.iso) was made available, which contains a check that stops the installer from proceeding if the Windows Script Host is disabled (documented in KB4699).
Please note that if the initial upgrade fails as described in this article, simply downloading the latest ISO and reattempting the upgrade will not resolve the issue. If the initial upgrade fails as described in this article, you must still remove the partial PostgreSQL install that was created and enable Windows Script Host before attempting the upgrade again.
[ERROR] Failed to install PostgreSQL server 15.10-1.
Attempt to execute Windows Script Host while it is disabled.
In the scenario described, the Veeam Backup & Replication 12.3 upgrade fails to install PostgreSQL 15.10-1 because the Windows Script Host has been disabled.
The disabling of the Windows Script Host is recommended as part of the Security & Compliance Analyzer and is disabled when using the script to automate the implementation of Security & Compliance Analyzer Recommendations from KB4525.
However, as documented in the Security & Compliance Analyzer documentation:
Before disabling Windows Script Host, make sure that this service is not used by the backup infrastructure components you plan to install on the backup server. If there are any (for example, PostgreSQL database), install these components first, then disable the service. To update these components [PostgreSQL], you need to enable the [Windows Script Host] service temporarily.
With the introduction of Microsoft Entra ID backup in Veeam Backup & Replication 12.3, the installer will automatically deploy a local PostgreSQL instance if one does not already exist. This ensures that an initial default Microsoft Entra ID backup repository can be configured.
For more information about the logic the installer uses to determine whether to attempt to install PostgreSQL and configure the Microsoft Entra ID backup repository, review the More Information section of KB4653.
If the upgrade fails as described, do not attempt to upgrade Veeam Backup & Replication a second time without first completing the relevant solution steps in this article.
However, if you have already run the upgrade a second time, and the upgrade appears to have succeeded, please review the second solution section of this article.
If the Veeam Backup & Replication upgrade has failed while attempting to install PostgreSQL, and you have not attempted to run the upgrade a second time, follow the steps below to complete the upgrade:
If the Veeam Backup & Replication upgrade failed the first time, and you reran the upgrade without following the steps above to correct the cause of the initial failure, please review the following information:
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case