Manual Image Deployment Facts
To manually deploy an image from a network share, use the following process:
- Boot the new computer using WinPE.
- Use Diskpart to partition and format the hard drive prior to installing the image. Microsoft recommends creating two partitions formatted with NTFS:
- 100 MB partitioned for BitLocker information
- Remaining space partitioned for the Windows 7 image
- Use ImageX to apply the image to the local drive.
The following steps show additional details on deploying an image.
- Insert the bootable Windows PE medium into the reference computer.
- If necessary, modify the boot order to boot from the source containing the WinPE files.
- Reboot the computer into WinPE.
- Open a command prompt and enter diskpart.exe to open the Diskpart tool.
- At the DISKPART>command prompt, use the following commands to format the local hard drive to reflect the disk configuration requirements:
- select disk 0
- create partition primary size=100
- select partition 1
- format fs=ntfs label="system"
- assign letter=c
- create partition primary
- select partition 2
- format fs=ntfs label="Windows 7 Enterprise"
- assign letter=d
- At the command prompt, connect to the network share and map the drive with a letter. For example, to connect to your network share and map the share as drive letter Z:, enter:
net use z: \\[servername]\images
- Use ImageX tool on the Windows PE medium to copy and apply the image to the local drive. For example, if drive X: is the optical drive containing the Windows PE medium, drive Z: contains the WIM file, and Windows Enterprise is the 1st edition in the WIM file, and drive D: is the local hard drive where the WIM file should be applied, you would enter:
x:\imagex.exe /apply z:\win7ent.wim 1 d:\
- At the command prompt, use BCDBoot to initialize the Boot Configuration Data (BCD) store and copy boot environment files to the system partition. For example, enter:
d:\windows\system32\bcdboot d:\windowsBCDBoot is a command-line tool used to configure a partition so that it can be used to start the computer. BCDBoot copies the necessary boot loader files to the partition. These files are:
- The BOOTMGR program, which is responsible for locating available operating system installations and starting the operating system.
- The Boot Configuration Data (BCD) store, which is a database that identifies possible operating systems and their locations on disk. The BCD store contains BCD entries, with each entry identifying a separate installation instance. (The BCD store in Windows 7 and Vista is similar to the Boot.ini file in previous Windows versions.)