Published: October 22, 2009
Updated: October 22, 2009
Applies To: Windows 7, Windows Server 2008 R2
You can use the ImageX tool to capture Windows® Image (.wim) files for deployment.
This table shows the types of partitions that you must capture and those that are managed automatically.
System partition (BIOS system partition or EFI System Partition)
Optional.
If only a simple set of partition files is required, you do not need to capture this partition.
Microsoft Reserved partition (MSR)
No.
Primary partitions (Windows partitions, utility partitions)
Yes.
Extended partition
Logical partitions (Windows partitions, utility partitions)
diskpart
X:> diskpart DISKPART>
select disk
DISKPART> select disk 0
list partition
DISKPART> list partition DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Primary 300 MB 1024 KB Partition 2 Primary 200 GB 301 MB
select partition
DISKPART> select partition=1
assign letter
DISKPART> assign letter=S
exit
DISKPART> exit X:\>
cd C:\Windows\System32
imagex /capture c:\ c:\my-windows-partition.wim "My Windows partition" imagex /capture s:\ c:\my-system-partition.wim "My system partition"
net use n: \\Server\Share
md N:\Images\ copy C:\my-windows-partition.wim N:\Images\ copy c:\my-system-partition.wim N:\Images\
After the image is captured and stored, you can: