I am trying to boot into windows 7 VHD (flat file 20GB) that has been prepared with a syspreped wim file and winvblock installed offline with grub4dos.
create a 20GB fixed VHD file eg win7.vhd
mount and give drive letter
use imagex to apply to the vhd (the install.wim from the official windows 7 ISO) - untouched
install bcd and update the BCD there (so it boots)
copy the winvblk32.sys to sys32 drivers folder
mount the registry hive and add winvblock under the correct root\enum and system
add the grub4dos menu.lst entry
From here I can boot into the VHD, however when it gets to the 'setup is updating registry settings' it immediately crashes and the error message appears 'windows could not finish configuring the system to attempt to resume configuration restart computer'.
(I have tested this with several wim files and I know they are ok, because I can install windows from wim files if I use the setup CD with winvblock and attaching a VHD file there.)
If I use shift + f10 to get command prompt I can see winvblock is ok and the BCD is ok.
What is preventing windows from booting, and is there a registry setting I need to add to allow it to continue past the 'setup is updating registry settings'?