How to use a VHD to dual-boot Windows 8 on a Windows 7 PC
Summary: Updated for Windows 8 RTM: Want to try Windows 8 but don't want to mess up a perfectly good Windows 7 installation? Follow these simple step-by step instructions to to run Windows 8 from a virtual hard disk.
Update, August 17, 2012: I have tested the steps in this article with the Windows 8 RTM code on multiple test systems and can confirm that everything works just as described here.
My portable PC of choice these days is an ASUS Zenbook UX31E. It’s a wonderful little machine—light, fast, fun to use, and a great example of what’s right with the whole Ultrabook category.
I wanted to try Windows 8 on this machine, but I didn’t want to mess up a perfectly good Windows 7 installation. This is, after all, a machine I use for work, and Windows 8 is still a new operating system. Before I commit to it, I want to be sure everything works well.
See also:
- Surprise! What you can expect from Windows 8 RTM
- 8 things to do right away after you set up Windows 8
- How to get Windows 8 ahead of the general public
The Zenbook has a 128GB SSD, which is fine for a secondary work PC but not enough to split in half for a conventional dual-boot setup. And there's no way to upgrade that built-in drive. After a few milliseconds of thought, I rejected the idea of trying to shrink my existing disk partition so I could pull that off.
And then it struck me: Wait a minute. I can boot Windows 8 from a virtual hard disk on this machine! And 30 minutes later, that’s exactly what I was doing.
I still have a single SSD with a single partition. But this is what I see at startup:

The actual steps for creating a virtual hard disk (VHD) and installing Windows 8 on it are very simple. The hardest part, in my experience, is wrapping your mind around exactly how this procedure works. So in this post I’m going to explain everything in detail, in the clearest, simplest language I can. Follow along, and I am confident it will work for you too.
Disclaimer, right up front: This works for me. I’ve tested it on several PCs, and I’m confident enough to write about it. But I haven’t tested it on your hardware. You should make a complete backup of your PC (preferably as a system image) before you try the procedures I describe in this post. In fact, you should have a complete backup of your PC even if you don’t try this. OK?
First things first. To make this work, you need the following ingredients:
- A desktop or notebook PC running Windows 7 Ultimate or Enterprise (preferably 64-bit). The Boot from VHD feature does not work on other versions of Windows 7. If you’re running Windows 7 Home Premium or Professional, you can’t do this.
- Windows 8 installation media (32-bit or 64-bit). You can use any edition of Windows 8. If you have a DVD, use it. MSDN/TechNet subscribers can download ISO files from those sites. Microsoft makes a free 90-day trial version of Windows 8 Enterprise available as well. Get details about these options here.
- The Windows 7 USB/DVD download tool, which is available for download here. (Don’t let the name fool you—it works just fine with Windows 8.)
- A 4GB (or larger) USB flash drive or a DVD. I highly recommend using a USB flash drive as your installation media. It’s faster, and it works on any modern PC.
- At least 20GB of free space on a local hard disk or SSD. If you plan to do more than tinker with Windows 8, I recommend that you have at least 60 GB of free disk space, plus enough extra disk space to accommodate a paging file equal in size to the amount of RAM in your PC.
And one extra caution: If you've protected your system drive with BitLocker encryption, stop right now. This will just make you cry.
OK? We good? Then continue...
Download the Windows 8 Release Preview ISO file and use the download tool to make a bootable USB flash drive or DVD:

You are now ready to begin the process of creating a virtual hard disk and installing Windows 8.
Page 2: Creating a virtual hard disk -->
Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.
Talkback
Parallels workstation makes it a snap...
but VHD boot should have better performance
Not the same thing at all
Second, it introduces additional third-party software into the equation.
Third, it doesn't allow direct access to hardware, the way Direct Boot to VHD does.
Virtualization is great for certain scenarios, but Direct Boot to VHD is a much cleaner solution, with fewer complcations.
Virtual Box is just as good as VMware Workstation
The reason I went the other direction
I've seen this before...
And I'm pretty sure you can do it with Windows 7 Home Premium (that's what I did)
According to the specs...
See the Direct Boot from VHD entry in this chart:
http://windows.microsoft.com/en-US/windows7/products/compare
As for Scott's post, I have seen it before, along with a dozen other posts that tackle the same topic. This is my independent work and a different presentation. There's plenty of room in the world for multiple people to put their own stamp on ideas.
Thankfully Windows 8 Pro supports Boot to BHD.
To be clear, Win7 Home Premium and Pro support creating and attaching VHDs but not booting from them.
Pity, as I wanted to try this simple way to Windows 8 on my Win7 Home Premium PC too.
Win 7 Pro
VHD
Create the VHD in diskpart...
I created and attached the VHD in diskpart. installed with no issues and have a dual boot with Win7 Pro. Only Win8 boots from the VHD.
Command is: CREATE VDISK FILE="C:\VHD\win8-cp.vhd" MAXIMUM=60000
In order for that to work, the C:\VHD directory must first exist.
WIN8 boots to the OS selection screen and then I can select which OS to boot.
And they say Win8 is for Consumers!
I think they've finally reached a point where it's more beneficial to run apps in a "thin-client" style... virtualized OS image and Remote App setup... than to maintain multiple hardware and software configurations. :)
Windows 7 Recovery Disk/Flash drive for Ultrabooks?
Any tips, resources?
You're still under warranty
Thanks. Tried it again. It worked.
I used VHDs
I had no problems with the VHDs (well ... I couldn't do an upgrade from DP to CP).
W8 CP, on the other hand ... :(
Dual Boot
How can I do this?
Don't you need a server and the correct software to create a virtual harddrive?
Say what?
Thanks Ed