Not able to connect to Ubuntu VM instance running in Hyper-V on Windows 11

Anonymous
2023-02-27T11:24:59+00:00

Hi ,

I had enabled HyperV on Windows and installed Ubuntu 22 VM on HyperV.

Everything was working well. I did a shutdown of laptop and started it. Then after I am not able to connect to my Ubuntu VM when using "Connect" option in HyperV manager. Please note I am running HyperV manager as an administrator.

I see following error:

"An error occurred while trying to find the virtual machine 'Ubuntu 22.04 LTS' on the computer. You do not have the required permission to complete this task.Contact the administrator of the authorization policy for the computer".

Tried to paste the image on this question as well, but its failing to upload , not sure of the reason.

Can someone help me what could be wrong?

Windows for business | Windows Server | Devices and deployment | Set up, install, or upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-02-27T11:57:56+00:00

    Hello, I'm Felipe and I'm an independent Community Advisor, and I'll do my best to help you.

    It sounds like there may be an issue with the Hyper-V authorization policies on your computer. Here are some steps you can try to resolve the issue:

    Check your Hyper-V authorization policies: Open the Local Group Policy Editor by pressing Win+R on your keyboard, typing "gpedit.msc", and pressing Enter. Navigate to "Computer Configuration" -> "Windows Components" -> "Hyper-V". Check if the policies "Hyper-V Administrators" and "Hyper-V Service" are configured correctly.

    Make sure you have the necessary permissions: Ensure that you are logged in as an administrator account or a user with Hyper-V administrator privileges.

    Restart the Hyper-V service: Open the Services window by pressing Win+R on your keyboard, typing "services.msc", and pressing Enter. Find the Hyper-V Virtual Machine Management service, right-click it, and select "Restart".

    Check the VM's configuration: Make sure that the VM is still properly configured in Hyper-V Manager, and that it hasn't been accidentally deleted or removed from the list of VMs.

    Reinstall Hyper-V: If none of the above steps work, you may need to reinstall Hyper-V. You can do this by going to "Turn Windows features on or off" in the Control Panel, unchecking the box next to Hyper-V, restarting your computer, and then checking the box again and restarting again.

    If none of these steps work, you may need to contact your IT administrator or seek further assistance from Microsoft support.

    0 comments No comments
  2. Anonymous
    2023-03-01T09:30:42+00:00

    Hi Felipe,

    I could not find the option of "Hyper-V" in Windows Components under Computer Configuration inside local group policy editor.

    I tried restarting the Hyper-V service , checked the VM configuration and also reinstalled Hyper-V but none of the other options helped.

    I am not an administrator of the machine since its office IT provided laptop, but I am running Hyper-V manager with option "Run as administrator".

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-03-01T09:44:35+00:00

    Since this is office IT provided by your company, you'll need to reach the IT technician to make this work.

    0 comments No comments