Windows 10: Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed?

Discus and support Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed? in Windows 10 Gaming to solve the problem; Hi, Why does hyper-v virtual machine log out after the host machine W11 is suspended/resumed?... Discussion in 'Windows 10 Gaming' started by jose luisfernandez diaz, Oct 24, 2024.

  1. Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed?


    Hi, Why does hyper-v virtual machine log out after the host machine W11 is suspended/resumed? https://onedrive.live.com/?cid=553558B76510538D&id=553558B76510538D%21sd80b0984f879434a9f93ecca164b73ef&parId=553558B76510538D%21106&o=OneUp Thanks in advance. Regards, Jose Luis

    :)
     
    jose luisfernandez diaz, Oct 24, 2024
    #1

  2. what is the relationship between Host machine RAM and number of hyper V virtual machines?

    what is the relationship between Host machine RAM and number of hyper V virtual machines?
     
    Issau Neshiri, Oct 24, 2024
    #2
  3. Andre Da Costa, Oct 24, 2024
    #3
  4. Kari Win User

    Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed?

    Suspend and Resume VM much slower on HYPER-V than vmware

    First, there are two ways to suspend a Hyper-V vm, Save (#1 in screenshot below) and Pause (#2):


    Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed? 101037d1485971752t-suspend-resume-vm-much-slower-hyper-v-than-vmware-image.png


    Both can also be found in Action menu. Using PowerShell, the cmdlets are Save-VM "vm_name" (to resume Start-VM "vm_name") to save vm, and Suspend-VM "vm_name" (to resume Resume-VM "vm_name") to pause vm.

    Difference between these two methods is that whereas Pause only releases all host processor resources still reserving RAM allocated to it, Save releases all host resources, including RAM. Pausing and resuming a vm is instant and the recommended way to suspend if your host has enough RAM to manage without part allocated to vm.

    You could say that relation of these two suspend options is as relation of Sleep (Pause) and Hibernate (Save) on a physical machine.

    Saving a vm really takes some time. This, the time needed of course depends on how much is going on, how many and how resource hungry processes are running on vm. Testing it just now on three virtual machines with different programs up and running I got Save times from 12 - 15 seconds (resume 5 to 10 seconds, no programs running) up to 25 - 30 seconds (resume 20 - 25 seconds, Windows Update installing updates, a document open in Word, a presentation in PowerShell, video playing in Kodi and so on). These times on low end i5 / 12 GB / 7200 spinner laptop host.

    Not knowing Plex I can only guess that it might be at least a partial reason for your slow suspend. Why VMware does this faster, I have not a faintest clue. Sorry.


    Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed? tipsmall.png
    Tip Did you know that you can shut down / restart the host letting virtual machines to be up and running? I have selected Save the virtual machine state as Automatic Stop Action for all my virtual machines:


    Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed? 101042d1485971752t-suspend-resume-vm-much-slower-hyper-v-than-vmware-image.png


    When I shut down the host, all my virtual machines running at that moment will be automatically saved. After restart they are not automatically resumed because I have selected Automatically start if it was running when the service stopped option in Automatic Start Options:

    Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed? 101043d1485971752t-suspend-resume-vm-much-slower-hyper-v-than-vmware-image.png

    If I want a specific vm be run every time I sign in to Windows on host I would select Always start this vm automatically.
     
Thema:

Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed?

Loading...
  1. Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed? - Similar Threads - Why does hyper

  2. Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed?

    in Windows 10 Software and Apps
    Why does hyper-v virtaul machine log out after the host machine W11 is suspended/resumed?: Hi, Why does hyper-v virtual machine log out after the host machine W11 is suspended/resumed? https://onedrive.live.com/?cid=553558B76510538D&id=553558B76510538D%21sd80b0984f879434a9f93ecca164b73ef&parId=553558B76510538D%21106&o=OneUp Thanks in advance. Regards, Jose Luis...
  3. Virtual Machine Failed On Hyper-V

    in Windows 10 Software and Apps
    Virtual Machine Failed On Hyper-V: Last 3 Years I have discovered a Virtual Machine I used VMware, and VirtualBox, But I Never Tried Hyper-V so I downloaded the Windows XP ISO file, so i added it and started it but it failed, it said that not enough of memory, how do I fix it,...
  4. what is the relationship between Host machine RAM and number of hyper V virtual machines?

    in Windows 10 Gaming
    what is the relationship between Host machine RAM and number of hyper V virtual machines?: what is the relationship between Host machine RAM and number of hyper V virtual machines? https://answers.microsoft.com/en-us/windows/forum/all/what-is-the-relationship-between-host-machine-ram/6f6840d9-ff87-4c8b-b4ca-c37c816f02ec
  5. what is the relationship between Host machine RAM and number of hyper V virtual machines?

    in Windows 10 Software and Apps
    what is the relationship between Host machine RAM and number of hyper V virtual machines?: what is the relationship between Host machine RAM and number of hyper V virtual machines? https://answers.microsoft.com/en-us/windows/forum/all/what-is-the-relationship-between-host-machine-ram/6f6840d9-ff87-4c8b-b4ca-c37c816f02ec
  6. Hyper v machine password does not work

    in Windows 10 Installation and Upgrade
    Hyper v machine password does not work: Hello,I'm trying to create a virtual machine with Win 10 pro, when I try to enter, every time I'm asked to enter my user and password for my account and I get the message "your credentials do not work". I've tried everything and I'm sure my Microsoft account password is...
  7. Backing up Hyper-V Virtual Machines

    in Windows 10 Virtualization
    Backing up Hyper-V Virtual Machines: Hi, I was wondering if all I really need to do to backup activated virtual machines but not associated virtual hard drives is just to copy the virtual hard drive folder to another drive (or even one drive) . All I am really interested is in saving the machines which have...
  8. Manage remote Hyper-V machine

    in Windows 10 Virtualization
    Manage remote Hyper-V machine: I have 2 win 10 pro and considering this setup: Desktop with hyper-v to tun virtual machine laptop with hyper-v management what i can now achieve is connect to the desktop with RDP then launch hyper-v management in the desktop; using the laptop hyper-v management...
  9. Running Hyper-V and VMware on the same machine?

    in Windows 10 Virtualization
    Running Hyper-V and VMware on the same machine?: As the title indicated, anybody tried running both successfully on Win 10? I've seen people doing that on Win 8 forum( Solved Hyper V and VMWare on the same machine - Page 2 ), so I'm wondering if this method would work on Win 10... Any help/pointers would be great as I...
  10. Hyper V not Showing Host Machine

    in Windows 10 Virtualization
    Hyper V not Showing Host Machine: Hyper V Manager Not showing Host Machine so i can make virtual machine screen shoot is below [img] 51539