
Requirements (Download Links at the end of the post)
- Running Windows 7 or Windows 8
- Windows 8 DVD ISO
- Install-WindowsImage PowerShell Script
- USB Drive (Microsoft officially recommend minimum size 32GB)
STEP 1:
Open PowerShell by typing it on the Start Menu:
STEP 2:
Ensure your USB Drive connected. In this case my USB Drive is assigned as G. Please check yours.
Run ‘diskpart’ as shown below:
Sample command as follows:
> list disk
> select disk 1
> list partition
> select partition 1
> format fs=ntfs quick
> active
*disk 1 and partition 1 depends on your system
*if your partition is not a ‘primary partition’ use command ‘delete partition’ and ‘create partition primary’
STEP 3:
Ensure the Windows 8 DVD ISO is being mounted and take note the drive letter assigned. In my case, it is assigned as F. You can use DAEMON Tools Lite to mount the ISO image.
STEP 4:
Run the Install-WindowsImage script in the PowerShell window.
*** NOTE ***
Note: Some machine prohibits the PowerShell’s script execution. In order to enable the script execution, enter the following command:
> Set-ExecutionPolicy Unrestricted
more info, refer to http://technet.microsoft.com/en-us/library/ee176949.aspx
***
In this case, the script was downloaded into C:. Firstly, we check how many configuration there are in the DVD Installer
> .Installer-WindowsImage.ps1 -WIM F:sourcesinstall.wim
Then, the command below is the install the image into USB Drive. In this case, DVD ISO mounted as F and USB Drive as G
> .Installer-WindowsImage.ps1 -WIM F:sourcesinstall.wim -Apply -Index 1 -Destination G:
STEP 5:
Install boot into USB Drive as shown above. Again, in this case USB Drive is assigned as G.
The command:
> bcdboot.exe G:Windows /s G:
Last but not least, the Download Links:
:: aerobrainTech ::