Restored Hyper-V server fails to boot showing "system_thread_exception_not_handled winhv.sys"

Last Modified

Wed Jun 19 11:52 GMT 2019

Description

  • Hyper-V shows blue screen on boot for file winhv.sys

Environment

  • Cove Data Protection (Cove)

Solution

  • The issue occurs because the Hyper-V role cannot start within a virtual environment
  • To resolve:
    1. Boot into safe mode
    2. Disable the Hyper-V Hypervisor Role from starting in the virtual machine.
    3. Open an Administrator Command Prompt
    4. Run the following command:
      • BCDEDIT /set hypervisorlaunchtype off
    5. Reboot the machine
  • This means the hypervisor setting is disabled so if the virtual machine has it's own virtual machines then the option will need to be re-enabled
  • To re-enable Hyper-V after the restore execute:
    1. Open an Administrator Command Prompt
    2. Run the following command:
      • BCDEDIT /set hypervisorlaunchtype auto
    3. Reboot the machine