how to connect two hyper-v managers on remote machines

mahery rafanomezantsoa 0 Reputation points
2023-02-09T13:13:48.4+00:00

Hello, I get this error message when I go to connect two hyper-v managers together

"WinRM cannot process the request. The following error with error code 0x8009030e occurred when using kerberos authentication. The specified login session does not exist. It may have already been closed.

Possible causes are

the specified username or password is invalid

kerberos is used when no authentication method and no username are specified.

kerberos accepts domain usernames, but not local usernames.

the primary service name (SPN) for the remote computer name and port does not exist

the client and the remote computer are in different domains and there is no trust between the two domains.

After checking the above problems, try the following:

check the event viewer for events related to authentication

change the authentication method, add the destination computer to the WinRM trustedHosts configuration parameter or use HTTPS transport

Note that computers in the trustedhost list may not be authenticated.

For more information about WinRM configuration, run the following command: winrm help config".

  • the version of windows on the machines= version 2004 (OS Build 19041.264)
  • they are in a domain
  • the domain is managed by a ClearOS 7 server
  • the machines are well present in the list of the computers member of the domain
  • I use the local account of the system when I connect to it
  • I added the computer to the list of TrustedHosts with the Set-Item WSMan:\localhost\Client\TrustedHosts -Value "ip address" command
  • I can connect remotely in powershell from one to the other and vice versa with the command Enter-PSSession -ComputerName "ip address" -Credential <username>
  • and I can navigate and modify in the document of the remote machine
  • but when I go to connect the hyper-v manager with the hyper-v of the remote machine, I always get the error message.
  • the goal is to be able to manage remotely the virtual machines on another host by connecting the hyper-v manager of the remote machines

please can you help me.

Translated with www.DeepL.com/Translator (free version)

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,809 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,621 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.