I followed the older guides for installing Windows 8.1 to VHD. After I create and attach the vhd using Diskpart, I get the following error message:
We couldn't install Windows in the location you chose. Please check your media drive. Here's more info about what happened: 0x80300024.