1- Boot to the Windows Server DVD
On the Install Windows screen, select Next > Repair your computer.
Open Command Prompt
2- Run the diskpart command:
List disk
Select disk 0
(select the disk that contains the Windows volume)
List volume
Select volume 2
(Select the volume that Windows is installed on)
Type Bootrec /fixmbr
Type Bootrec /fixboot
Type Bootrec /rebuildBCD
Exit and restart the VM.
If it doesn't work, follow this instruction:
3- Install the DiskGenius Application and Open It
From the disk menu select “Open Virtual Disk”
Right-click on the added virtual disk and select “Convert to MBR Partition Table”
Click Save All
** If the Save All icon is grayed out, it means the virtual disk is read-only or the selected Virtual disk is VHDX**
4- You can convert the VHDX file to VHD format with the following PowerShell command:
Convert-VHD –Path yourvhdxpath –DestinationPath yourdestinationpath
After converting the VHDX file to VHD, convert it to MBR via the DiskGenius app as mentioned above.
5- Attach the VHD file to the VM and try steps 1 and 2