MDT 2012: Custom Partition Configuration

In the task sequence you can specify how do you want to size your disks.

In the test lab that is usually ok, because I thin provision most disk anyway. On some of the test client I still wanted that extra performance. But to save space I’ve created smaller disks.
Result: Task sequence fails due to insufficient disk space

Solution

Specify the size of disk C: during the installation

Find out what we need to add

  • look into the deployment share: .\Scripts\ZTIDiskpart.wsf
' // Variables:
...
' //   OSDPARTITIONS0SIZE = 200
  • That is the variable that we need to set during the Deployment Wizard

How to add it

  • Task sequence: 30GB of disk space for C: and not 100%
  • download the MDT Wizard Studio
  • open the MDT Wizard Studio and open the file .\Scripts\DeployWiz_Definition_ENU.xml
  • Click on “SelectLanguageUI”
  • Tab “HTML
  • Insert below the time zone setting some more lines to create the input form
[...]
<input type=hidden Name=TimeZone /> <!-- XP Style TimeZone PST = 004 -->
<input type=hidden Name=TimeZoneName />  <!-- Vista Style TimeZone PST = "Pacific Standard Time" -->
</p>
		
<tr><td colspan=2>
<br>
<H4>Disk Settings</H4>
</td>
</tr>
<tr valign=top>
<td width=50>
<img src="DeployWiz_Network.png">
</td>
<td>
<p>Disk Size C: </br>
<input type=text id="size" name=OSDPARTITIONS0SIZE  size=1  AccessKey=c value=30 />GB
</tr>
</table>
  • save
  • enjoy
Tagged