Had lots trouble for a while with this error: WHvSetupPartition failed. Finally got it working by “Turn Windows features on or off” in Control Panel and UN-Selecting Containers (also I had Hypervisor disabled).
I’m glad your issue got resolved and thank you for sharing your problem and the solution with the community. If you ever get stuck anywhere, please feel free to get back to us.
Curriculum Support Engineer