How to create 100 MB Windows 7 system reserved partition in MDT 2012
-
Monday, September 24, 2012 1:37 PM
Please help me, how to create 100 MB system reserved partition, boot partition and data partition automatically by using Lite Touch installation of Windows 7 (MDT 2012). I have tried so many times and failed, if only boot partition is created in Task Sequence then system partition is created automatically and named system with 499 MB size, if I create second partition in Task Sequence then system partition is not automatically created at all.
I just want to simulate what manual installation would do, create 100 MB system partition named System Reserved, boot partition with OS on it and data partition for storing data. Am I asking too much from MDT 2012. Is there any way to achieve this. I watched many training videos but in these videos instructors did not mentioned Windows 7 system partition at all and also they always created only one partition on disk, probably for simplicity reasons.
Thanks in advance!
- Edited by BoxiKG Monday, September 24, 2012 1:37 PM
- Edited by BoxiKG Monday, September 24, 2012 1:38 PM
- Edited by BoxiKG Monday, September 24, 2012 1:38 PM
- Edited by BoxiKG Monday, September 24, 2012 1:39 PM
- Edited by BoxiKG Monday, September 24, 2012 1:40 PM
- Edited by BoxiKG Monday, September 24, 2012 1:41 PM
All Replies
-
Monday, September 24, 2012 2:11 PM
Hi,
I took a look at the Task Sequence Template and it looks like the partition is already 100 Mb (OSDPartitions0Size)
<step type="SMS_TaskSequence_PartitionDiskAction" name="Format and Partition Disk" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010"> <defaultVarList> <variable name="OSDDiskIndex" property="DiskIndex">0</variable> <variable name="OSDPartitions0Type" property="Partitions0Type">Primary</variable> <variable name="OSDPartitions0FileSystem" property="Partitions0FileSystem">NTFS</variable> <variable name="OSDPartitions0Bootable" property="Partitions0Bootable">True</variable> <variable name="OSDPartitions0QuickFormat" property="Partitions0QuickFormat">True</variable> <variable name="OSDPartitions0VolumeName" property="Partitions0VolumeName">OSDisk</variable> <variable name="OSDPartitions0Size" property="Partitions0Size">100</variable> <variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">%</variable> <variable name="OSDPartitions0VolumeLetterVariable" property="Partitions0VolumeLetterVariable">OSDisk</variable> <variable name="OSDPartitions" property="Partitions">1</variable> <variable name="OSDPartitionStyle" property="PartitionStyle">MBR</variable> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIDiskpart.wsf"</action> </step>could you try to set the value in your CustomSettings.ini for the variable OSDPartitions0Size ?
here's an extract of MDT's help file
Microsoft Deployment Toolkit Documentation Library OSDPartitionsxSize

The size of the partition at the specified index.
Note The x in this properties name is a placeholder for a zero-based array that contains partition configurations.
Property configured by
Property applies to
BootStrap.ini
LTI
˜
CustomSettings.ini
˜
MDT DB
˜
ZTI
Value
Description
Size
Partition size
Example
[Settings]
Priority=Default
[Default]
OSDPartitions0Size=60
OSDPartitions0SizeUnits=GB
David Sebban | Nelite North America | My Blog | Follow me on twitter : @davidsebban
-
Tuesday, September 25, 2012 6:09 AM
It means 100% of space on disk, default task sequence creates one partition which consumes whole disk space. This has nothing to do with system partition.
<variable name="OSDPartitions0Size" property="Partitions0Size">100</variable>
<variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">%</variable>
- Edited by BoxiKG Tuesday, September 25, 2012 6:09 AM
-
Tuesday, September 25, 2012 8:43 AM
I have just cracked it. I created 100 MB System Reserved partition as boot partition and after that I created OS partition and Data partition. Then I set that Windows 7 will be installed on OS partition. Also I unchecked check box Create extra 'Active' partition.
I have done this according to the following link.
http://www.autoitconsulting.com/site/deployment/create-a-windows-7-bitlocker-partition-in-configmgr/
It is for configuration manager but I followed the logic and I think I have solved the problem.- Marked As Answer by BoxiKG Tuesday, September 25, 2012 8:44 AM
-
Tuesday, September 25, 2012 2:41 PM
It means 100% of space on disk, default task sequence creates one partition which consumes whole disk space. This has nothing to do with system partition.
<variable name="OSDPartitions0Size" property="Partitions0Size">100</variable>
<variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">%</variable>
I gave you 2 different example, the first one is extracted from the TS template and says 100% (Partitions0Size = 100, Partitions0SizeUnits = %) and the second one says 60 GB (Partitions0Size = 60, Partitions0SizeUnits = GB)David Sebban | Nelite North America | My Blog | Follow me on twitter : @davidsebban

