- First of all download Windows 8 Developer Preview here.
- Download my script here.
- Select Properties on the zip-package and click on the Unblock button.
- Extract the zip-package to a folder of your choice.
- Mount Windows 8 Developer Preview with your favorite mounting tool, my favorite tool is Virtual Clone Drive you can find it here.
- Look for the file “install.wim” in your installation media and remember the path, in my case F:\sources\install.wim.
- Open a PowerShell command prompt with the run as Administrator option. You need to run the attached bat-file from a PowerShell console as an Administrator and not from the usual command prompt.
- Change directory to the directory where you extracted the zip-package.
- Before I show you how to use the CreateBootableVHD.bat file there is 2 important concepts that you need to know:
- The third parameter in CreateBootableVHD.bat expects you to enter the type of VHD that you want to create. If you choose EXPANDABLE you will need to make sure that you have the specified amount of GB left for the VHD even though the VHD will be small at first.
- CreateBootableVHD.bat will assign your bootable VHD a drive letter, it’s very important to use a FREE drive letter.
- When you enter a drive letter make sure you don’t enter a colon after the letter i.e. X and never X:.
- Now you’re ready to use the CreateBootableVHD.bat-file like this:
<path where you like to store the VHD, doesn’t work on external drives>
<size in MB>
<drive letter assigned to the VHD>
<path to the wim-file, see number 6 above>
Ex: .\CreateBootableVHD_v2.bat C:\VHD\Win8.vhd 80000 FIXED X F:\sources\install.wim.
Sit back and enjoy as the complete automated process of getting your copy of Windows 8 Developer Preview bootable.
Hope you enjoy it!