VirtualBox gets stuck with a black screen.

Recently I have experienced two problems:

First, I download a Kali box that worked in the other machines but I tried in my latest HP Omen and it got stuck after the grub loader.

Second, there was another problem that I faced VMSetError: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87).

Solution: RUN > CMD > bcdedit /set hypervisorlaunchtype off

In an elevated Command Prompt write this :

To disable:

bcdedit /set hypervisorlaunchtype off

To enable:

bcdedit /set hypervisorlaunchtype auto

(Restart to take effect)

Helpful link: