1-800-691-1991 | 9am - 8pm ET

Remote execution of a PowerShell script fails when the VeeamBackup SQL database is on a remote SQL Server.

KB ID: 2067
Product: Veeam Backup & Replication
Version: 6.x, 7.x, 8.x
Published: 2015-10-02
Last Modified: 2020-08-13


When using a PowerShell script that is intended to remotely execute a command upon the Veeam server, it may fail if the SQL instance that Veeam Backup & Replication is configured to use is on a different server.
This KB article applies only if the following two statements are true.
  1. A PowerShell script is attempting to run on the Veeam server from a machine that is not the Veeam server.
  2. The SQL instance where the VeeamBackup database is located is on separate server from the Veeam server.
The following error may also occur for other reasons, this KB only applies if it related to above stated intent.

Error: Microsoft SQL server hosting the configuration database is currently unavailable. Possible reasons are heavy load, networking issue, server reboot, or hot backup. Please wait, and try again later. Error information: SQL server is not available


CredSSP is not being used to delegate credentials which is causing the query to time out.


The following cmdlets need to be run in an elevated PowerShell prompt: 
  1. On the server, where PS script is running please do the following:
         Enable-WSManCredSSP -role Client -DelegateComputer "FQDN of the Veeam server"
  2. On the Veeam server please run the following command in PowerShell: 
         Enable-WSManCredSSP -Role Server 
 After this is configured, all scripts run from the remote server must contain the following line:
      $ses = New-PSSession -ComputerName "FQDN of the Veeam server" -Credential $creds -Authentication CredSSP

More information

Here is an article that discusses how to configure delegated credentials with CredSS:
KB ID: 2067
Product: Veeam Backup & Replication
Version: 6.x, 7.x, 8.x
Published: 2015-10-02
Last Modified: 2020-08-13

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.


error icon

Oops! Something went wrong.

Please go back try again later.