Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Invalid Credentials “Fix Failed to Connect a Hyper-V Standalone to Veeam Backup”

Posted on 11/03/202411/08/2026 Christian By Christian No Comments on Invalid Credentials “Fix Failed to Connect a Hyper-V Standalone to Veeam Backup”
  1. Home
  2. Backup
  3. Invalid Credentials “Fix Failed to Connect a Hyper-V Standalone to Veeam Backup”
Fix-Failed-to-Connect-a-Hyper-V-Standalone-to-Veeam-Backup

It is a necessary requirement that you must add your Microsoft HyperV host to the backup infrastructure that you plan to use as source and target for backup etc. Therefore, In this guide I will discuss “Invalid Credentials “Fix Failed to Connect a Hyper-V Standalone to Veeam Backup”. Please see Pleasant User Group Permission and User Access, and how to Set up Veeam Backup for Microsoft Azure. See how to Install Veeam Backup and Replication with the default PostgreSQL and How to Grant Local Admin Permissions to a Group [Part 1].

Note: You can connect standalone Hyper-V hosts, Hyper-V clusters or SCVMM servers. If a Hyper-V host is a part of a cluster or SCVMM. It is recommended that you add to the backup infrastructure a cluster or SCVMM, not a standalone Hyper-V host. 

If you plan to migrate VMs between hosts in the cluster or SCVMM. You will not have to reconfigure jobs in Veeam Backup & Replication. Veeam Backup & Replication will automatically locate migrated VMs and continue processing them as usual.

Also, see how to Enable and Disable WMI Traffic through Windows CMD, and Fix VMware vCenter converter standalone started but not running.

Why was the error “Error “Failed to connect to host (IP Address), Access denied or Time out” prompted?

When you try to add a HyperV server as inventory on Veeam Backup and Replication. Tthis might fail with the following error.

Error “Failed to connect to host (IP Address), Access denied or Timeout expired. Check if you have local administrative privileges on the computer. As you can see below, the posible reasons given are not of help as this is a valid HyperV server and the credentials are correct as we will see shortly in the Windows Event Log.

Amongst other prerequisite to keep in mind, there is an update that hardened DCOM security by Microsoft. In March of 2023, Microsoft enforced this update. Therefore, preventing the non-domain-joined Veeam server from passing the target server’s local admin credentials through to join it to the backup infrastructure. 

Failed-to-connect-to-Host

Note: The Distributed Component Object Model (DCOM) Remote Protocol is a protocol for exposing application objects using remote procedure calls (RPCs). DCOM is used for communication between the software components of networked devices

Other Prerequisites to meet

Below are some prerequisites that must be met before trying to manage a HyperV server server that is part of a domain from a VBR server that is part of a Work group. Apply the latest update might not be sufficient. You will find this being discussed in the Veeam Forum and Community.

1: Files and Printer Sharing must be enabled and allowed through Windows Firewall. If this is not done, you will get the error below. Network path not found or invalid credential.

Note: The images are update for a different Lab environment and as such I have decided to update this section.

Screenshot

To fix this, the VBR server needs to be able to access the HyperV shares. Navigate to the HyperV server

Screenshot of the Windows Network and Sharing Center, displaying network settings including 'Control Panel Home', 'Change adapter settings', and 'Change advanced sharing settings'. Shows active networks with domain and public network information.

Turn on Sharing for everyone

Screenshot of Windows Advanced Sharing Settings showing options for Public folder sharing, including 'Turn on sharing so anyone with network access can read and write files in the Public folders'.

Now, you should be able to access the share from the VBR server

Screenshot
Screenshot

2: The selected account used must have the local Administrator permissions on the target machine. If you are using the builtin Local Administrator account. As an extra precaution make sure you rename the account. So a potential hacker will find the account name difficult to guess.

When your organisation does not allow you (e.g. global security policy) to use the built-in local administrator account, you can create a new local account and give it administrative access. Make sure the Local Administrator account is highly secure in this case.

The downside of creating a newly administrative local account is that you will need to disable Remote User Account Control (UAC). This is because, Windows function will prevent the local accounts from running in an elevated mode when connecting from the network. Veeam accesses the ADMIN$ and C$ through the Installer Service with the local account you presented while adding the Windows server to Infrastructure in Veeam Backup & Replication. See point 4 below for more information.

3: Ensure you are able to perform HyperV name resolution over NETBIOS.

4: Optional [Disable Remote UAC ONLY if you have a new local admin account created]

Under UAC, all accounts in the local Administrators group run with a standard user access token known as UAC access-token filtering. An administrator account can run a script with an elevated privilege “Run as Administrator”. Some securable objects may not allow a standard user to perform tasks and offer no means to alter the default security.

In this case, you may need to disable UAC so that the local user account to ensure it is not filtered and instead becomes a full administrator. This is the downside of creating a newly administrative local account because Windows function prevents local accounts from running in an elevated mode when connecting from the network.

To do this, launch Windows Registry Editor and navigate to disable Remote UAC onto the HyperV (repository server) by editing following registry path.

HKEY\_LOCAL\_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Launch-Registry-Editor

Create a new DWORD Value

Create-DWORD-Value

Name it “LocalAccountTokenFilterPolicy” give it a value of 1. Server Restart is not required in this case.

Local-Account-Token-Policy-Filter

Event Log “The server side authentication level does not allow the user to active DCOM

Even with the above, you will still not be able to add HyperV to VBR inventory if you have not properly patched the VBR and HyperV server to include Microsoft DCOM hardening which we will discuss in the solution section below. This will ensure the credential cannot be validated.

If you find the following error in your log “The server's authentication level policy does not allow the HOST\Administrator SID (xxxxxxx) from address xxx.xxx.xxx.xxx to activate the DCOM server. Increase activation authentication level by at least RPC_C_AUTHN_LEVEL_PKT_INTEGRITY in application”,

If you are still experiencing the same issue, I suggest checking the HyperV event log. Although this issue can be tricky to resolve, taking a look at the event log will help you save time.

The-server-side-authentication-level-policy-does-not-allow-the-user-from-IP-to-activate-DCOm-server

As you can see from the Security logs, the account could login but logged off

Account-logon
Account-Logoff

Also, you could see that the computer attempted to validate the credential without errors below.

The-computer-attempted-to-validate-the-credential

Here is a guide on “Enable HyperV on Windows: How to install Windows 11 on HyperV“. See how to fix “An error occurred while attempting to connect to the server: Check if the Virtual Machine Management service is running or you are not authorized to connect to this server“.

Solution to fixing “Failed to connect to host (IP Address), Access denied or Timeout expired”

To help reduce app compatibility issues. Microsoft have automatically raised the authentication level for all non-anonymous activation requests from Windows-based DCOM clients to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY at a minimum.

With this change, most Windows-based DCOM client requests will be automatically accepted with DCOM hardening changes enabled on the server side without any further modification to the DCOM client

The resolution is to install Microsoft KB 5005102 on the Veeam server: Microsoft Update Catalog. Gladly, you do not need to search for this KB to have it installed. This is because the patch will continue to be included in the cumulative updates!

Working on updates phase

Validate HyperV host Credential

Proceed to validate your credentials once again. This should succeed as shown below.

Validating-credentials

Click Next to proceed.

Credentials-validated-click-next

Review your settings and apply

Review

You can click Finish on the fly or click on Next to have a look at the summary page.

Server-processed

Click Finish to complete the step of adding HyperV host as an inventory on Veeam Backup and Replication.

Host-Summary

This step below is irrelevant to this issue at hand. But I would like to show you the steps on how this was done in the past before the hardening introduced by Microsoft.

Do Not Perform this step: Grant remote DCOM access, activation, and launch rights to the account

The good thing here is, you do not have to manually complete this step anymore “that is, explicitly grant remote DCOM access, activation, and launch rights to the account”. This is due to the Microsoft Hardening introduced as discussed above. This is because, most Windows DCOM clients will automatically work with DCOM hardening changes on the server side without any further modification to the DCOM client.

All you need to do is to update your VBR and HyperV node and then, you should be able to add the hyperV host to the Veeam inventory.

Note: Even when you manually grant remote DCOM access, activation, and launch rights to the account, the host credential validation will fail. Microsoft recommends that clients must meet this hardening requirement.

But if you wish to learn the steps, you never can tell if you will have to do this again in the future if Microsoft changes things around.

Launch component services or run dcomcnfg from the command line to launch the Component Services window.

Launch-component-services

On the My Computer, right click and select Properties to launch the My Computer Properties dialog box.

Access-computer-properties

Select the COM Security tab.

Edit-defaults-and-limits
If the group or user for which you want to configure access permissions are not listed, you must add them.

Note: This is just a test account and just to show you how you would have explicitly granted remote DCOM access, activation, and launch rights to the account.

Add-account

Select the account and ensure you assign the right permission.

Access-permissions

lick the Edit Limits button in the Access Permissions section to launch the Access Permission dialog box. Assign all permissions.

Assign

As you can see, the permissions have been assigned. This is how you would have granted remote DCOM access, activation, and launch rights to the account.

Launch-and-activation-permission

Like I said before, even when yu manually perform these steps, the credential validation will still fail. This is because, Microsoft has changed the approach and all clients must be complaint.

I hope you found this article on “Invalid Credentials “Fix Failed to Connect a Hyper-V Standalone to Veeam Backup”” very useful. Please feel free to leave a comment below.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Backup Tags:Hyper V, Hyper-V, hyperV, Hypervisor, Microsoft Windows, VBR, Veeam, Veeam Backup and Replication, Veeam Data Platform, Windows Server 2016

Post navigation

Previous Post: Install Veeam Backup and Replication with the default PostgreSQL
Next Post: Create local Backup Repository and Add HyperV to VBR Inventory

Related Posts

  • Enhancing Proactive Monitoring with Veeam ONE
    Enhanced Proactive Monitoring with Veeam ONE Backup
  • Veeam ONE 13.1
    Veeam ONE 13.1.0.7034 Upgrade: Complete Pre-flight and Step-by-Step Guide Backup
  • The backup was safe the data center wasnt e1781003439613
    The Backup Was Safe: The Data Center Was not: A Real-World Lesson About Hidden Data Center Risks and Governance Failures Backup
  • Steps to upgrade VBR to v12.1
    How to upgrade Veeam Backup and Replication v11 to 12.1 Backup
  • How to backup Azure VIM 3
    How to backup Azure VM with VM Settings AWS/Azure/OpenShift
  • Azure Backup Copy 1
    How to Delete Backup Job in Recovery Services Vault AWS/Azure/OpenShift

More Related Articles

The backup was safe the data center wasnt e1781003439613 The Backup Was Safe: The Data Center Was not: A Real-World Lesson About Hidden Data Center Risks and Governance Failures Backup
veeamONE integration with VBR Install Veeam ONE and Add VBR: Fix failed to connect to VBR Backup
PowerShell Module Must be set to Remote Signed e1779570167985 Veeam Backup and Replication: PowerShell must be Remote Signed Backup
disaster recovery checklist e1782394730353 Disaster Recovery Test Checklist: What to Capture Before You Start Backup
Tape drive part2 Inside an IBM LTO-6 Tape Drive: Gears, Motors and the Tape Mechanism — Part 2 Backup
VBAWS comprehensive guide Deep Dive into Protecting AWS EC2, RDS Instances and VPC AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • Synergy software kvm
    Why Software KVMs such as Synergy is replacing Hardware KVMs Linux
  • powershell
    How to perform PowerShell syntax check using PSScriptAnalyzer Scripts
  • IAM AWS
    Creating IAM Users, Adding MFA and Policies on AWS AWS/Azure/OpenShift
  • elastic ip association error screen
    Fix Elastic IP Address Could not be Associated AWS/Azure/OpenShift
  • how to fix the sorry this file type is not permitted for security reasons error in wordpress 5e4a5632967c7
    Error 1707: Network address invalid when trying to connect remotely Windows
  • bluetooth headphones to mac 1200x628 1
    How to remove a Bluetooth device and connect a new Bluetooth device to Macbook Mac
  • veeam backup for Proxmox VE
    Backup and Restore Proxmox VE virtual machines with Veeam Backup
  • Restrict Access to USB Drives
    Deny Execute Access: Restrict Access to USB Drives on Windows [Part 1] Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.