Unable to Log In to Hyper-V Virtual Machine on Windows 11

Rabie Najib 0 Reputation points
2025-03-04T09:16:44.23+00:00

In Hyper-V Manager on Windows 11, the ability to log in to a virtual machine has been disrupted. Previously, the login was successful through the following window:

User's image

However, the virtual machine has become very slow, and today, after entering the username and password and pressing OK, the login process hangs for several minutes:
User's image

Eventually, an error message appears:
User's image

What steps can be taken to resolve this login issue?

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,836 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hania Lian - MSFT 22,076 Reputation points Microsoft External Staff
    2025-03-06T08:22:02.42+00:00

    Hello,

    1、Check Event Viewer Logs

    Open Event Viewer on the host machine:

    Press Win + R, type eventvwr.msc, and press Enter.

    Navigate to Windows Logs > System and Windows Logs > Application.

    Look for errors or warnings related to Hyper-V or the VM.

    2、Ensure Network Connectivity:

    Verify that the VM is connected to the correct virtual switch in Hyper-V Manager.

    Open Hyper-V Manager, select the VM, and check the Network Adapter settings.

    Test Network Connection:

    Log in to the VM (if possible) and check the IP address using ipconfig.

    Ping the host machine or another device on the network to test connectivity.

    Reconfigure Virtual Switch:

    If the VM is not getting an IP address, reconfigure the virtual switch:

    Open Hyper-V Manager.

    Go to Virtual Switch Manager.

    Ensure the virtual switch is set to External or Internal (depending on your setup).

    3、Ensure both the host machine and VM are running the latest updates:

    On the host machine:

    Open Settings > Windows Update and install any pending updates.

    On the VM:

    Log in (if possible) and check for updates.

    Best Regards,

    Hania Lian

    ============================================

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

    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.