Hyper-V Virtual Machine Logs off/Disconnects after a few seconds with Enhanced Session Mode

Anonymous
2024-04-02T16:07:15+00:00

I have Hyper-V running on a 64-Bit Windows 11 machine with 64GB memory. I've created a few virtual machines also running Windows 11. Everything had been working fine. Then about a week ago, when I logged in with any of the vm's, it would log me out/disconnect after about 10 seconds. The vm is still running, and I can re-connect/re-login, but it just disconnects after a few seconds again. Disabling "Enhanced Session Mode", through "Hyper-V Settings..." -> User -> Enhanced Session Mode lets me log in and stay connected. But then I can't use multiple monitors.

***moved from Windows / Windows 11 / Performance and system failures***

Windows Windows Client for IT Pros High availability Virtualization and Hyper-V

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

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-04-09T02:39:26+00:00

    Hi Admin,

    Hope you are doing well.

    It seems you're encountering an issue with your Hyper-V virtual machines disconnecting after login. Let's explore some potential solutions:

    1. Check Integration Services:

    (1) Shut down the affected virtual machine.

    (2) Edit the VM settings and navigate to “Integration Services”.

    (3) Uncheck “Guest Services” and click OK.

    (4) Edit the settings again, re-enable “Guest Services”, and hit OK.

    (5) Start up the VM and see if the login issue persists.

    1. Ensure that the guest operating system inside the VM is fully updated. Check for and install any available Windows updates within the VM.
    2. If you're using Remote Desktop, enable the “Configure keep-alive connection interval” policy in the group policy settings.This policy ensures a stable connection by sending periodic keep-alive signals.

    Best Regards

    1 person found this answer helpful.
    0 comments No comments