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

Credentials Test or Job Fails when attempt to use VIX

KB ID: 1788
Product: Veeam Backup & Replication 11, Veeam Backup & Replication 10, Veeam Backup & Replication 9.5
Published: 2013-07-08
Last Modified: 2021-08-18
Languages: IT | FR | ES

Challenge

When using Veeam Backup & Replication with a VMware environment the following error may be seen when using the Guest Credentials Test or when processing a VM that is in a DMZ or Isolated environment.
Failed to prepare guest for hot backup. Error: Failed to connect to guest agent. Errors:
Cannot connect to the admin share. Host:  [vm.domain..tld]. Account: [VM\backupsvc].
Win32 error:The network path was not found.
 Code: 53
Cannot connect to the admin share. Host:  [192.168.1.42]. Account: [VM\backupsvc].
Win32 error:Access is denied.
 Code: 5
In this example, two attempts can be seen. The first is a failure to connect directly because the VM is in a different network. The second is the VIX-related failure due to "Access is denied."
Log File Examples
Task.<vmname>.<morefid>.log in C:\ProgramData\Veeam\Backup\<job_name> on Veeam Server
Error        Failed to install via  VMWare Api
Error        Failed to connect to guest process (VIX) (Veeam.Backup.VssProvider.VssVixException)
Error        Failed to connect to guest service via vSphere API (Veeam.Backup.VssProvider.VssVixException)
Error        Failed to connect to guest service via web service (Veeam.Backup.VssProvider.VssVixException)
Error        Cannot connect to host [192.168.1.42] over web services. Login: [vsphere.local\administrator]. Guest Login: [VM\backupsvc].
Error        Failed to execute Pwdkey
Error        Failed to execute vSphere API command: [Failed to set registry value BiosUUID 
Error        Failed to create SOFTWARE\VeeaM\Veeam Backup and Replication registry key 
Error        Win32 error:Access is denied.
VeeamVixProxy_ddmmyyyy.log in C:\ProgramData\Veeam\Backup of Guest OS
INFO    ================================================================================================
INFO    VeeamVixProxy started.
        Command line: ["C:\Windows\TEMP\{1a30c420-1237-4b91-8163-e3c9f029460d}" -func Pwdkey -out "C:\Windows\TEMP\{5c44eb01-7a6f-4cc6-a25e-6ddc2f6324a6}"]
WARN        Failed to check is directory exist
WARN        Win32 error:Access is denied.
WARN         Code: 5
WARN        Failed to check is directory exist
WARN        Win32 error:Access is denied.
WARN         Code: 5
        Generated key
ERR     Error: 
ERR         Failed to set registry value BiosUUID 
ERR         Failed to create SOFTWARE\VeeaM\Veeam Backup and Replication registry key 
ERR         Win32 error:Access is denied.
ERR          Code: 5
WARN        Failed to check is directory exist
WARN        Win32 error:Access is denied.
WARN         Code: 5

Cause

Veeam Backup & Replication uses the VIX API as a network-less connection method to perform Guest Processing when a VM cannot be contacted directly via RPC. Due to the way VIX operates, it is blocked by Windows User Account Controls. Also, because VIX relies on VMware Tools, if VMware Tools is out of date, issues may occur.

Solution

In VMware environments, Veeam Backup & Replication can use two methods to connect to a guest: RPC or VIX. If RPC is testing successfully, it is generally acceptable for the VIX test to fail as it will not likely be used.

Ensure the correct account is used

To use VIX for Guest Processing, one of the two following accounts must be specified for Guest Processing:

  1. The Built-in Administrator (i.e., hostname\Administrator)

    Note:
     This must be the original Built-in Administrator who has a SID that ends in -500. This user is unique and has the ability to bypass Windows User Account Controls. Even if the account was renamed, it will work.

     
  2. The Domain Administrator (i.e, domain\Administrator)

Troubleshoot VMware Tools

  • If issues with VIX connectivity persist, confirm that VMware Tools is up-to-date for the VM to be protected.
    For information regarding issues when upgrading VMware tools, please reference: https://kb.vmware.com/kb/1001354
  • Uninstall VMware Tools, and reinstall VMware Tools.
    For information regarding uninstalling VMware tools from the command line: https://kb.vmware.com/kb/2010137

 

Note: If the Veeam Server, which acts as the default Guest Interaction Proxy, is in an isolated network, separate from the production VMs, RPC will fail. In such a situation, building a dedicated Guest Interaction Proxy
that sits in both the isolated and production networks may be preferable to allow for RPC-based Guest Processing.

More information

If none of the provided account options are viable, it is possible to disable UAC. This will allow all accounts to be used for VIX-based networkless guest processing. This option should be considered a last resort as it involves disabling a major Microsoft Windows OS security feature.
KB ID: 1788
Product: Veeam Backup & Replication 11, Veeam Backup & Replication 10, Veeam Backup & Replication 9.5
Published: 2013-07-08
Last Modified: 2021-08-18
Languages: IT | FR | ES

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend

ty icon

Thank you!

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

OK

error icon

Oops! Something went wrong.

Please try again later.