In this video I will be looking at how to deploy a WIM image to a hard disk. Check out http://itfreetraining.com/ for the rest of our always free training videos. The process is performed using windows PE. This video looks at how to perform this for the command line and also gives you some scripts to help automated the process.
[image.bat]
@echo off
diskpart /s z:\diskpartrans.txt
z:
imagex /apply z:\%1 1 g:
g:\windows\system32\bcdboot g:\windows
g:\Windows\system32\shutdown /r /t 0
[diskpartrans.txt]
select disk 0
clean
create partition primary size=100
select partition 1
format fs=ntfs quick label=system
active
create partition primary
select partition 2
format fs=ntfs quick label=windows
assign letter=g
176 Comments