Hyper-v Server 2019 core issue (not under windows server). "An error occurred while attempting to connect to server" ...

Anonymous
2021-04-13T10:29:58.057+00:00

Hi All,

We have been using Hyper-V Server over our local network successfully for about a month now. However, when arriving this monday morning and trying to re-connect to manage the remote hyper-v VMs we receive the folling error:

An error occured while attempting to
connect to server " ************* "
Check that the Virtual Machine
Managment service is running and that
you are authorised to connect to the
server.

You do not have the required permission to complete
this task. Contact the administrator of the
authorization policy for the computer
' ************** '.

87383-capture-hyperv.png

I have searched high and low for a resolution to this and even re-visited the sites that helped me to setup Hyper-V Server in the first instance + the following. All to no avail.

I know the VMs on this Hyper-V Server work because I was able to RDP into a guest VM which i left running over the weekend. So, VMs work but we are unable to remotly (or locally on Hyper-V server host) manage the VMs and there checkpoints.

Can someone advise which end needs fixing and the detail as to how to fix it (bearing in mind the Hyper-V host is not windows, its command line etc.).

Thanks in advance
Regards,
Barry

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
{count} votes

Accepted answer
  1. Anonymous
    2021-04-27T12:49:35.44+00:00

    Hi YuhanDeng-MSFT,

    Thanks for the information.

    Through your last post I have managed to find what it is that i was looking for. The information I was looking for was as follows:

    91733-image.png

    0 comments No comments

10 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-04-27T09:18:14.4+00:00

    Hi Barry,
    Would you try another powershell code? It should help you change the policy directly on your core server:
    91714-image.png

    For your reference:
    https://www.tenforums.com/tutorials/87386-change-maximum-minimum-password-age-local-accounts-windows-10-a.html
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    Thanks for your time.
    Best regards,
    Danny

    -----------------------------

    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.

    0 comments No comments

  2. Anonymous
    2021-04-28T02:53:44.703+00:00

    Hi Barry,
    Thanks for your information. If you have any other problem, please feel free to feedback; if you don’t, please help accept the answer.

    Thanks for your time.
    Best regards,
    Danny

    -----------------------------

    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.

    0 comments No comments

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.