The main change for just booting form VHD file is the new boot manager for Windows 7 which allow mounting VHD as hard disk,so if you need to allow the same feature while you are still using Vista so you can change the boot manager only.

To do so, you have to unhide and replace bootmgr which located on the root of your vista drive and the bcdedit.exe which located under windowssystem32

To unhide

attrib -h -r –s c:bootmgr
attrib -h -r -s c:windowssystem32bcdedit.exe
To replace 

Find these files from Installed Windows 7 or 2008 R2, then you can use the commands below to add your VHD as Bootable option.

C:>bcdedit /copy {current} /d "My New VHD Description" 
C:>bcdedit /set <guid> device vhd=[driveletter:]<directory><vhd filename> 
C:>bcdedit /set <guid> osdevice vhd=[driverletter:]<directory><vhd filename> 
C:>bcdedit /set <guid> detecthal on

Mahmoud Ibrahim (admin)

About the Author

Mahmoud Ibrahim has technology experience with over 18 years of IT industry. He'd worked in many organizations in many roles and expanded his knowledge across technology stacks, and he is enjoying sharing his expertise whenever possible :).
He is working as a presales expert in Micro Focus serving the international community.

View all posts by Mahmoud Ibrahim (admin)
Previous Article
Next Article