Microsoft System Preparation Tool (Sysprep), “ExtendOemPartition=1” and Imaging a 512e/4K Advanced Format Hard Drive

Microsoft System Preparation Tool (Sysprep), “ExtendOemPartition=1” and Imaging a 512e/4K Advanced Format Hard Drive

Users may use the Microsoft System Preparation Tool (Sysprep) to prepare an image for deployment. One rule for the use of Sysprep has been that the size of the destination computer’s hard disk must be at least the same size as the hard disk of the master installation. If the destination computer has a larger hard disk, the difference is not included in the primary partition. However, the "ExtendOemPartition" entry in the Sysprep.inf file can be used to extend the primary partition on the destination computer if it was formatted to use the NTFS or FAT32 file system by using the following values.

Modify the Sysprep.inf file to use the "ExtendOemPartition" key in the [Unattended] section to extend the partition to the full size of the target disk or the extra size (in megabytes) that you want. Values:

  • ExtendOemPartition = 0 (do not extend)
  • ExtendOemPartition = 1 (extend to the end of the disk)
  • ExtendOemPartition = number_in_megabytes (extend the volume this many megabytes in size)

The "ExtendOemPartition=1" entry has been known to cause a blue screen when used in combination with a 512e/4K Advanced Format hard drive. The problem arises when a Windows XP image is using Sysprep and has the entry "ExtendOemPartion=1" in the sysprep.inf file. That invokes XP's version of Diskpart to extend the XP partition (NTFS or FAT32) to use any unutilized disk space on the hard drive. When that happens, it extends the drive during sysprep and ends that partition extension on a boundary that is not aligned and compatible with the partition boundary that was set to be compatible with 512e/4k Advanced Format hard drives. This process creates a partition that is of an unrecognizable size and may result in a blue screen during the imaging process. To resolve this issue, please remove the "ExtendOemPartion=1" line in Sysprep.

Note: Both legacy and 512e/4K Advanced Format hard drives can be affected by this issue if the partition alignment is done prior to imaging using the diskpart switch on a drive with unallocated free space. Microsoft does not support the use of Windows XP with 512e/4K Advanced Format hard drives.


Microsoft TechNet - How to Prepare Images for Disk Duplication with Sysprep

Microsoft Support - Best Practices for Using Sysprep with NTFS Volumes

Microsoft Support - Information about Microsoft support policy for large sector drives in Windows

문서 ID: SLN82460

최종 수정일: 01/07/2015 12:12 PM

이 문서 평가하기

이해하기 쉬운
이 문서가 도움이 되셨나요?
지원 미지원
피드백을 보내 주십시오.
의견에는 <>()\와 같은 특수 문자를 사용할 수 없습니다.
죄송합니다. 현재 피드백 시스템은 사용하실 수 없습니다. 잠시 후에 다시 시도하십시오.

피드백을 보내주셔서 감사합니다.