Many features of Windows operating systems that are accomplished natively by Sysprep are included in the various imaging solutions available on the market. One example of these features is the extension of a partition to utilize the total amount on the disc to be imaged, regardless of specific size. This particular feature is executed during mini-setup. Some imaging solutions include features to perform this operation well. The trouble is that some do not. In the case where this feature is not included in the employed imaging solution, an administrator must resort to using the native toolset by manipulating the Unattend.XML file, (in Windows Vista and newer).
<extendospartition> <extend>true</extend> </extendospartition>
<runsynchronous> <runsynchronouscommand wcm:action="add"> <order>1</order> <path>net user administrator /active:yes</path> </runsynchronouscommand> </runsynchronous> <extendospartition> <extend>true</extend> </extendospartition> </component></settings>