Share via

HYPER-V Manager Connection Issue (Windows Server 2022)

EMR 171 Reputation points
2023-07-13T03:11:54.7466667+00:00

I have two physical Windows 2022 Standard Edition servers. Each physical server has Hyper-V installed and is running two virtual machines.

I am experiencing an issue when I try to connect to either of the physical servers using the Hyper-V Manager snap-in. I receive the following error:

An error occurred while to attempt to connect to server. check that the virtual machine management service is running and that you are authorized to connect to the server. The WinRM client received a status code of 403from the remote WS-Management service.

I Googled the issue, and followed the instructions for Windows Security to uncheck "exploit protection settings-code flow protection guard" for vmcompute.exe. I also ran 'MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof'.

Nothing seems to have fixed the problem. Please help me!!!

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Server | User experience | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-07-14T03:07:33.87+00:00

    Hi,

    Please open PowerShell as administrator and run Enable-PSRemoting on the local and remote servers and then see if you can connect to the remote server.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

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