If you happen to get the error pictured below, it's probably due to the BCD (Boot Configuration Data) store being corrupt:
Anyway, the quickest way to fix it is this command: bcdedit /set hypervisoraunchtype auto - you should get a confirmation same as this one:
In the end, just restart the system - the Hyper-V should work as expected.