Adding hyper v host fails with "invalid credentials" or "spedified host is not a hyper v server"
- Community
 - Community
 - Discussion Boards
 - Adding hyper v host fails with "invalid credentials" or "spedified host is not a hyper v server"
 
Adding hyper v host fails with "invalid credentials" or "spedified host is not a hyper v server"
- January 24, 2024
 - 26 comments
 - 7098 views
 
- Comes here often
 - 17 comments
 
Best answer by Danyang007
Hello Guys,
I finally resolved the issue thanks to 
The resolution is to install Microsoft KB 5034127 on the Veeam server. i restarted after the installation and everything went smoothly.
Got it fixed with the help of Veeam support.
In 2022 there was a MS update that hardened DCOM security. It started out as disabled by default, then it turned into being enabled by default with a reg key you could implement to bypass it. In March of 2023, an update enforced it. This DCOM hardening was preventing the non-domain-joined Veeam server from passing the target server’s local admin credentials through to join it to the backup infrastructure.
Further details: KB4376: Access to Hyper-V or Veeam B&R Components Fails After DCOM Hardening is Enabled
The resolution is to install Microsoft KB 5005102 on the Veeam server: Microsoft Update Catalog
This information was really hard to come by, so I hope this makes it easier for the next person to resolve their issue. This KB does not get applied through normal monthly updates, so simply patching the server will not help.
Thanks everyone for your input along the way!
Thank you guys, you were all amazing.
26 comments
- Veeam Legend
 - 4890 comments
 - January 24, 2024
 
Hi 
Welcome to the Community. Have you looked at the User Guide for assistance? Make sure you've met the prerequisites and use an Administrator account to add your Host, in the format DOMAIN\USER or MACHINE\USER.
- Influencer
 - 257 comments
 - January 24, 2024
 
Can you provide more information?
What version of Hyper-V?
Is the host standalone or in a cluster?
What version of Veeam?
Have you checked the Helpcenter and made sure all pre-reqs are met? https://www.veeam.com/documentation-guides-datasheets.html?productId=8&version=product%3A8%2F221
- Author
 - Comes here often
 - 17 comments
 - January 24, 2024
 
The Hyper v version is 10.0.17763.1
Its standalone
Veeam version 12.1
Veeam Server is Windows Server 2019
Problematic server is also Windows Server 2019
All prerequisites are met.
The server is not on a domain.
credentials format is server01\Administrator (inbuilt Administrator)
I already added one server succesfully, but the other two servers is refusing to add
- Influencer
 - 257 comments
 - January 24, 2024
 
can you get to the other 2 servers via UNC and successfully browse resources?
- Author
 - Comes here often
 - 17 comments
 - January 24, 2024
 
- Influencer
 - 257 comments
 - January 24, 2024
 
how about %hostname%\admin$ ?
- Author
 - Comes here often
 - 17 comments
 - January 24, 2024
 
I could reach the share using %hostname%\admin$ for one of the server
The other server failed when I used %hostname%\admin$
Sorry tried again and both servers are reachable using %hostname%\admin$
- Veeam Legend
 - 4890 comments
 - January 24, 2024
 
Hi 
Some common issues adding HV to Veeam are:
- Credentials (sometimes using .\user works, as noted in 1 of the posts I’ll share below)
 - HV server has firewall enabled; temporarily disable, try to add, then re-enable
 - UAC is enabled; disable then attempt, then if required..re-enable
 - HV host needs to be fully patched, rebooted, then re-attempt to add
 - If role was just added and not yet rebooted, reboot, then re-attempt to add
 
Some of these fixes are found in a few of the following previous Hub posts:
Try these and see if you can then connect.
- Veeam Legend
 - 4890 comments
 - January 24, 2024
 
Also, even though you were able to connect with your other Hosts, if your HV host isn’t on the domain, and are trying to use a local admin account, you may need to add a registry fix to enable a local admin to be used to connect to by Veeam or any other service. See my comment which helped this user for another issue in the post below:
- Veeam Legend
 - 4890 comments
 - January 24, 2024
 
Lastly, make sure DNS is setup correctly since this HV Host is not on the domain
- Author
 - Comes here often
 - 17 comments
 - January 24, 2024
 
- Veeam Legend
 - 4890 comments
 - January 24, 2024
 
Sure...keep us posted!
- Author
 - Comes here often
 - 17 comments
 - Answer
 - January 24, 2024
 
Hello Guys,
I finally resolved the issue thanks to 
The resolution is to install Microsoft KB 5034127 on the Veeam server. i restarted after the installation and everything went smoothly.
Got it fixed with the help of Veeam support.
In 2022 there was a MS update that hardened DCOM security. It started out as disabled by default, then it turned into being enabled by default with a reg key you could implement to bypass it. In March of 2023, an update enforced it. This DCOM hardening was preventing the non-domain-joined Veeam server from passing the target server’s local admin credentials through to join it to the backup infrastructure.
Further details: KB4376: Access to Hyper-V or Veeam B&R Components Fails After DCOM Hardening is Enabled
The resolution is to install Microsoft KB 5005102 on the Veeam server: Microsoft Update Catalog
This information was really hard to come by, so I hope this makes it easier for the next person to resolve their issue. This KB does not get applied through normal monthly updates, so simply patching the server will not help.
Thanks everyone for your input along the way!
Thank you guys, you were all amazing.
- Veeam Legend
 - 4890 comments
 - January 24, 2024
 
Great to hear!..and thanks for posting what worked for you.
- Not a newbie anymore
 - 7 comments
 - January 24, 2024
 
Hello Guys,
I finally resolved the issue thanks to 
The resolution is to install Microsoft KB 5034127 on the Veeam server. i restarted after the installation and everything went smoothly.
Got it fixed with the help of Veeam support.
In 2022 there was a MS update that hardened DCOM security. It started out as disabled by default, then it turned into being enabled by default with a reg key you could implement to bypass it. In March of 2023, an update enforced it. This DCOM hardening was preventing the non-domain-joined Veeam server from passing the target server’s local admin credentials through to join it to the backup infrastructure.
Further details: KB4376: Access to Hyper-V or Veeam B&R Components Fails After DCOM Hardening is Enabled
The resolution is to install Microsoft KB 5005102 on the Veeam server: Microsoft Update Catalog
This information was really hard to come by, so I hope this makes it easier for the next person to resolve their issue. This KB does not get applied through normal monthly updates, so simply patching the server will not help.
Thanks everyone for your input along the way!
Thank you guys, you were all amazing.
So glad this was helpful for you - thanks for the note and the acknowledgement!
- New Here
 - 2 comments
 - February 12, 2024
 
This info has been super helpful! I have a similar issue, however, I am running Server 2022 and KB5005102 is not an available update for that OS. I’ve tried changing the DCOM hardening settings, modifying UAC, ensuring local Administrator accounts are used. Nothing has worked.
- Veeam Legend
 - 4890 comments
 - February 12, 2024
 
- Author
 - Comes here often
 - 17 comments
 - February 13, 2024
 
Hello 
Has this issue been fixed?
KB5005102 is for Windows Server 2016
KB 5034127 is for Windows Server 2019, might even work for 2022
So there may be an updated KB verion for Windows Server 2022
I know you have tried those steps you listed. Have you tried windows update on that server?
Maybe a Windows update can fix the DCOM hardening setttings and fix the issue, just maybe.
- New Here
 - 2 comments
 - February 19, 2024
 
Thanks for checking in 
- Author
 - Comes here often
 - 17 comments
 - February 20, 2024
 
- Veeam Legend
 - 1542 comments
 - March 10, 2024
 
This info has been super helpful! I have a similar issue, however, I am running Server 2022 and KB5005102 is not an available update for that OS. I’ve tried changing the DCOM hardening settings, modifying UAC, ensuring local Administrator accounts are used. Nothing has worked.
Hello 
Has this issue been fixed?
KB5005102 is for Windows Server 2016
KB 5034127 is for Windows Server 2019, might even work for 2022
So there may be an updated KB verion for Windows Server 2022
I know you have tried those steps you listed. Have you tried windows update on that server?
Maybe a Windows update can fix the DCOM hardening setttings and fix the issue, just maybe.
Yes, this is because the patch will continue to be included in the cumulative updates!
- New Here
 - 5 comments
 - March 31, 2024
 
I’m still running in a similar issue. Backup device is Windows 10 Standalone running the latest version of Veeam 12. HyperV host is 2019 standalone. This worked fine for a long time until MS patched the host and now the veeam server is unable to connect. I have run every fix from every article I have found and still nothing. I can rip Veeam 12 off and run Veeam 11 and it works fine. I am using the Built IN Admin account on the HV host as well as it worked with a different local account originally. No local firewall in play. I can connect to \\servername\admin$ just fine. If I roll back the patch from January it works but each month the cumulative update breaks it again and I don’t really want to keep the HV host unpatched. I don’t want to add it to the domain either. The above KB article does not apply when I try to run it on the Veeam server (windows 10). I have tried servername\username and just username, no dice. the above mentioned KB’s don’t apply when I try to apply them. I did find more DCOM changes and i will reboot here to see if they address the issue.
- New Here
 - 5 comments
 - March 31, 2024
 
Furthermore, I uninstalled V12 and install Veeam 11 an still get the same error. Backup device is also added to the domain however HyperV host is not.
- Veeam Legend
 - 1542 comments
 - April 1, 2024
 
Furthermore, I uninstalled V12 and install Veeam 11 an still get the same error. Backup device is also added to the domain however HyperV host is not.
Hi, did you follow the marked answer correctly? Uninstalling and reinstalling is not the fix to this issue. Also, see this link below, you will find some suggestions to resolve this issue.
- New Here
 - 5 comments
 - April 1, 2024
 
I have tried the above mentioned fixes. Nothing works.
Adding hyper v host fails with "invalid credentials" or "spedified host is not a hyper v server"
Hi 
Welcome to the Community. Have you looked at the User Guide for assistance? Make sure you've met the prerequisites and use an Administrator account to add your Host, in the format DOMAIN\USER or MACHINE\USER.
Can you provide more information?
What version of Hyper-V?
Is the host standalone or in a cluster?
What version of Veeam?
Have you checked the Helpcenter and made sure all pre-reqs are met? https://www.veeam.com/documentation-guides-datasheets.html?productId=8&version=product%3A8%2F221
The Hyper v version is 10.0.17763.1
Its standalone
Veeam version 12.1
Veeam Server is Windows Server 2019
Problematic server is also Windows Server 2019
All prerequisites are met.
The server is not on a domain.
credentials format is server01\Administrator (inbuilt Administrator)
I already added one server succesfully, but the other two servers is refusing to add
can you get to the other 2 servers via UNC and successfully browse resources?
how about %hostname%\admin$ ?
I could reach the share using %hostname%\admin$ for one of the server
The other server failed when I used %hostname%\admin$
Sorry tried again and both servers are reachable using %hostname%\admin$
Hi 
Some common issues adding HV to Veeam are:
- Credentials (sometimes using .\user works, as noted in 1 of the posts I’ll share below)
 - HV server has firewall enabled; temporarily disable, try to add, then re-enable
 - UAC is enabled; disable then attempt, then if required..re-enable
 - HV host needs to be fully patched, rebooted, then re-attempt to add
 - If role was just added and not yet rebooted, reboot, then re-attempt to add
 
Some of these fixes are found in a few of the following previous Hub posts:
Try these and see if you can then connect.
Also, even though you were able to connect with your other Hosts, if your HV host isn’t on the domain, and are trying to use a local admin account, you may need to add a registry fix to enable a local admin to be used to connect to by Veeam or any other service. See my comment which helped this user for another issue in the post below:
Lastly, make sure DNS is setup correctly since this HV Host is not on the domain
Sure...keep us posted!
Hello Guys,
I finally resolved the issue thanks to 
The resolution is to install Microsoft KB 5034127 on the Veeam server. i restarted after the installation and everything went smoothly.
Got it fixed with the help of Veeam support.
In 2022 there was a MS update that hardened DCOM security. It started out as disabled by default, then it turned into being enabled by default with a reg key you could implement to bypass it. In March of 2023, an update enforced it. This DCOM hardening was preventing the non-domain-joined Veeam server from passing the target server’s local admin credentials through to join it to the backup infrastructure.
Further details: KB4376: Access to Hyper-V or Veeam B&R Components Fails After DCOM Hardening is Enabled
The resolution is to install Microsoft KB 5005102 on the Veeam server: Microsoft Update Catalog
This information was really hard to come by, so I hope this makes it easier for the next person to resolve their issue. This KB does not get applied through normal monthly updates, so simply patching the server will not help.
Thanks everyone for your input along the way!
Thank you guys, you were all amazing.
Great to hear!..and thanks for posting what worked for you.
Hello Guys,
I finally resolved the issue thanks to 
The resolution is to install Microsoft KB 5034127 on the Veeam server. i restarted after the installation and everything went smoothly.
Got it fixed with the help of Veeam support.
In 2022 there was a MS update that hardened DCOM security. It started out as disabled by default, then it turned into being enabled by default with a reg key you could implement to bypass it. In March of 2023, an update enforced it. This DCOM hardening was preventing the non-domain-joined Veeam server from passing the target server’s local admin credentials through to join it to the backup infrastructure.
Further details: KB4376: Access to Hyper-V or Veeam B&R Components Fails After DCOM Hardening is Enabled
The resolution is to install Microsoft KB 5005102 on the Veeam server: Microsoft Update Catalog
This information was really hard to come by, so I hope this makes it easier for the next person to resolve their issue. This KB does not get applied through normal monthly updates, so simply patching the server will not help.
Thanks everyone for your input along the way!
Thank you guys, you were all amazing.
So glad this was helpful for you - thanks for the note and the acknowledgement!
This info has been super helpful! I have a similar issue, however, I am running Server 2022 and KB5005102 is not an available update for that OS. I’ve tried changing the DCOM hardening settings, modifying UAC, ensuring local Administrator accounts are used. Nothing has worked.
Hello 
Has this issue been fixed?
KB5005102 is for Windows Server 2016
KB 5034127 is for Windows Server 2019, might even work for 2022
So there may be an updated KB verion for Windows Server 2022
I know you have tried those steps you listed. Have you tried windows update on that server?
Maybe a Windows update can fix the DCOM hardening setttings and fix the issue, just maybe.
Thanks for checking in 
This info has been super helpful! I have a similar issue, however, I am running Server 2022 and KB5005102 is not an available update for that OS. I’ve tried changing the DCOM hardening settings, modifying UAC, ensuring local Administrator accounts are used. Nothing has worked.
Hello 
Has this issue been fixed?
KB5005102 is for Windows Server 2016
KB 5034127 is for Windows Server 2019, might even work for 2022
So there may be an updated KB verion for Windows Server 2022
I know you have tried those steps you listed. Have you tried windows update on that server?
Maybe a Windows update can fix the DCOM hardening setttings and fix the issue, just maybe.
Yes, this is because the patch will continue to be included in the cumulative updates!
I’m still running in a similar issue. Backup device is Windows 10 Standalone running the latest version of Veeam 12. HyperV host is 2019 standalone. This worked fine for a long time until MS patched the host and now the veeam server is unable to connect. I have run every fix from every article I have found and still nothing. I can rip Veeam 12 off and run Veeam 11 and it works fine. I am using the Built IN Admin account on the HV host as well as it worked with a different local account originally. No local firewall in play. I can connect to \\servername\admin$ just fine. If I roll back the patch from January it works but each month the cumulative update breaks it again and I don’t really want to keep the HV host unpatched. I don’t want to add it to the domain either. The above KB article does not apply when I try to run it on the Veeam server (windows 10). I have tried servername\username and just username, no dice. the above mentioned KB’s don’t apply when I try to apply them. I did find more DCOM changes and i will reboot here to see if they address the issue.
Furthermore, I uninstalled V12 and install Veeam 11 an still get the same error. Backup device is also added to the domain however HyperV host is not.
Furthermore, I uninstalled V12 and install Veeam 11 an still get the same error. Backup device is also added to the domain however HyperV host is not.
Hi, did you follow the marked answer correctly? Uninstalling and reinstalling is not the fix to this issue. Also, see this link below, you will find some suggestions to resolve this issue.
I have tried the above mentioned fixes. Nothing works.
Comment
Related topics
Failed to connect to ADMIN$ on local servericon
Discussion BoardsNetwork path not found incorrect credentials supplied - Veeam 12icon
Discussion Boardsadding hyper-v host failed with "invalid credentials" noting that we dont have domain and the veeam and Hyper-v are on the same subneticon
Discussion BoardsUnable to get Veeam to authenticate with Hyper-V host using domain credentialsicon
Discussion Boardscan't use non "administrator" account for connecting to Hyper-V hosticon
Discussion Boards
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Scanning file for viruses.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
OKThis file cannot be downloaded
Sorry, our virus scanner detected that this file isn't safe to download.
OK