Solved Hyper-V, Macrium viBoot VM, slow shutdown


Haydon

Well-known member
Power User
VIP
Local time
4:56 AM
Posts
1,992
OS
Windows 10 Pro
Since I enabled Hyper-V and run Macrium viBoot VMs, shutdown time increased dramatically (10+ minutes) whereas startup time did not increase, and the computer also did not slow down in normal operation.

Is the increased shutdown time normal?
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro
Since I enabled Hyper-V and run Macrium viBoot VMs, shutdown time increased dramatically (10+ minutes) whereas startup time did not increase, and the computer also did not slow down in normal operation.

Is the increased shutdown time normal?
I've not used viBoot but not noticed anything out of the ordinary with Hyper V, VHDX or VMWare VM's
 

My Computer

System One

  • OS
    Windows 11 Pro Beta, 11 Dev, W11 Canary
    Computer type
    Laptop
    Manufacturer/Model
    Dell Alienware M15 Ryzen Edition R6
    CPU
    AMD Ryzen™ 9 5900HX
    Memory
    32GB
    Graphics Card(s)
    NVIDIA® GeForce RTX™ 3070 8GB GDDR6
    Hard Drives
    1 x Samsung 980 Pro 1TB
    1 x Samsung 970 Evo Plus 1TB
Since I enabled Hyper-V and run Macrium viBoot VMs, shutdown time increased dramatically (10+ minutes) whereas startup time did not increase, and the computer also did not slow down in normal operation.

Is the increased shutdown time normal?
No issue for me. You are closing down the viboot VM first?
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
In the Hyper-V Manager console, (viBoot) VM panel in the lower right:
What is Turn Off ...
What is Shut Down ...
 

My Computer

System One

  • OS
    Windows 10 Pro

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 4GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 4GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
Continuing to troubleshoot the issue, I notice the following sequence.

Create new (viBoot) VM >
VM starts automatically because the pertinent box was ticked off >
Error message 'Enhanced session not available' >
Click OK >
VM restarts >
Lo and behold, the enhanced session window (empty brown screen) opens >
Click 'Basic session' button >
VM restarts >
Basic session window with my familiar desktop appears >
I can toggle between basic session and enhanced session without any error message appearing

Is this behavior normal?

Update: Shutdown time is now normal, but the little hiccup has become repeatable, it happens every time I create a new viBoot VM

Update #2: I'm very surprised to learn from the docs that the host OS also runs under Hyper-V!

Update #3: The viBoot VMs themselves appear to be OK , just the hiccup right before their 1st run remains unexplained.
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro
Update #2: I'm very surprised to learn from the docs that the host OS also runs under Hyper-V!
This is because Hyper-V is a type 1 hypervisor. Here is a post I wrote a few years ago.



1652457548520.png

The MS docs are slightly misleading. The hypervisor is a layer that fits between the hardware and the OS. This layer is needed to run Hyper-V vms and is often referred to as Hyper-V. Hyper-V is really the management gui that interfaces with the hypervisor. It is rather semantics though as without Hyper-V installed, there is no type 1 hypervisor, so in effect they are the same thing.


If you did not have Hyper-V installed or type 2 system like virtualbox, system would simply be :

1652458056509.png

If you had Hyper-V installed, but no Hyper-V vms running, or any type 2 system, system would simply be :

1652458344102.png

So normally, if you have installed Hyper-V, with no vms running, system looks like above, and one might think there is a performance penalty. I have never detected an penalty in performance between having the hypervisor enabled or not.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
MS docs are clear, IMHO. After enabling Hyper-V, Windows is just another VM, like viBoot, for example.

Hyper-V.jpg
 

My Computer

System One

  • OS
    Windows 10 Pro
After the latest WU and MR update, all issues are gone.

I had been chipping away at the issues before that, though. My note taking in all this could have been better, next time something similar happens, I would have to reinvent the steps taken.

In any case, all issues have disappeared, I will mark this thread 'Solved', thanks to all who responded (y)
 

My Computer

System One

  • OS
    Windows 10 Pro
MS docs are clear, IMHO. After enabling Hyper-V, Windows is just another VM, like viBoot, for example.

View attachment 29137
That is really a simplification of things. Hyper-V is only one type of hypervisor - there are others e.g. ESXi

Thus the hypervisor layer is not necessarily Hyper-V based (or even Windows based)

MS documents show it like that, but that is because they only talk about Hyper-V

In the end, it is semantics if you install Hyper-V as your hypervisor tool.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
I don't think my graphics is that much of a simplification, here is another one, which is snipped from Wikipedia. Of course MS talks about Hyper-V only, that's the exact name of their native (bare metal) hypervisor product.

Screenshot.png

 

My Computer

System One

  • OS
    Windows 10 Pro
I don't think my graphics is that much of a simplification, here is another one, which is snipped from Wikipedia. Of course MS talks about Hyper-V only, that's the exact name of their native (bare metal) hypervisor product.

View attachment 29143

That is the same as my original picture - just drawn differently.

1652527073811.png
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
And that's the same as my picture just with specific names :)

Hyper-V.jpg
 

My Computer

System One

  • OS
    Windows 10 Pro

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
So, we are in agreement then :)

BTW, I made that specific picture myself (using PowerPoint and Paint) to suit the topic and title of this thread. It's not a picture that I got from MS, MR, Wiki or from anywhere else. I think you made your own pictures too (y)(y)
 

My Computer

System One

  • OS
    Windows 10 Pro
So, we are in agreement then :)

BTW, I made that specific picture myself (using PowerPoint and Paint) to suit the topic and title of this thread. It's not a picture that I got from MS, MR, Wiki or from anywhere else. I think you made your own pictures too (y)(y)
No mine were images pasted from online articles.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Hi there

@cereberus

If you say install an OS on a physical VHDX without enabling HYPER-V there's obviously a "Skeltal OS" running to present in GUI form a menu to select an OS to load, accept input from the user and load the desired OS from a Disk or even a USB device in the first place -

e.g
multios.png
So what is this OS - it must be some sort of minimal OS to be able to present a GUI and run a boot loader to select an OS from the menu.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

Latest Support Threads

Back
Top Bottom