Minimum disk size MDT 2012
-
Monday, September 24, 2012 6:12 PM
Hi,
When deploying HP thin clients with MDT 2012 i cant deploy XPE to clients with a flash disc smaller than 1GB.
This used to work in MDT 2010. Has any setting/prereq changed?There seems to be som kind of parameter called minimumpartitionsize? Is there a way to change this requirement to say 512 mb?
/Bosse
both
All Replies
-
Monday, September 24, 2012 10:28 PM
Can you specify what fails when you try to configure this? Is it the partitioning itself that doesn't work properly, or the applying of the image onto the partition?
If it's the first, you can always replace the built-in mdt step "format and partition disk" with a run command line that executes diskpart with the /s parameter to specify a scriptfile, example: diskpart /s %scriptroot%\custompartition.txt
Content of that file could look like (this example creates a partition of 900mb)
Sel Disk 0 Clean Create Par Pri Size=900 Active Assign Letter C
Kind regards,
Stephan Schwarz
If one of these posts answered your question or issue, please click on "Mark as answer".
My Blog | Twitter: @Schwarz_Stephan | MCTS, MCITP, MCSA, MCC-2011.
How to configure Windows RE/OEM Recovery Partition with MDT- Edited by Stephan Schwarz Monday, September 24, 2012 10:29 PM
-
Tuesday, September 25, 2012 7:05 AM
Thank you. That helped with the partitioning task. However the install OS part still fails and the log tells me min disk size : 1GB.
Here's part of the log:
New ZTIDiskPartition : \\MININT-79NVUG4\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0" \\MININT-79NVUG4\root\cimv2:Win32_LogicalDisk.DeviceID="C:" LTIApply 2011-12-30 22:39:55 0 (0x0000)
Disk Size : 419 MB LTIApply 2011-12-30 22:39:55 0 (0x0000)
Min Size : 1 GB LTIApply 2011-12-30 22:39:55 0 (0x0000)
Partition is set too small, assume BDEPartition and recover. LTIApply 2011-12-30 22:39:55 0 (0x0000)
No partition Found! LTIApply 2011-12-30 22:39:55 0 (0x0000)both
-
Wednesday, September 26, 2012 11:14 PM
Hi, I'm not sure where this is configured, however you can try to comment out the following inside LTIApply.wsf on line 763. Simply put a ' in front of a line, or delete it. In either case make sure to save a copy of the original file before you modify it.
The following section only would have any effect if you're applying a .wim image onto the disk.
' Check the size set oDiskPart = new ZTIDiskPartition oDiskPart.Drive= sDestinationDrive TestAndFail not oDiskPart.oWMIDiskPart is nothing, 5606, "Verify Destination Drive is defined(1)" TestAndFail not oDiskPart.oWMIDrive(false) is nothing, 5607, "Verify Destination Drive is defined(2)" If (oDiskPart.oWMIDiskPart.Size /1000 /1000) < (GetMinimumDiskPartitionSizeMB) then oLogging.CreateEntry "Destination Drive May be too small: " & FormatLargeSize(oDiskPart.oWMIDiskPart.Size) & " Needed: " & FormatLargeSize( GetMinimumDiskPartitionSizeMB * 1000 * 1000 ), LogTypeInfo ElseIf (oDiskPart.oWMIDrive(false).FreeSpace /1000 /1000) < (GetMinimumDiskPartitionSizeMB) then oLogging.CreateEntry "Destination Drive May not have enough free space: " & FormatLargeSize(oDiskPart.oWMIDrive(false).FreeSpace) & " Needed: " & FormatLargeSize( GetMinimumDiskPartitionSizeMB * 1000 * 1000 ), LogTypeInfo End if
I haven't tested this, so I'm not 100% sure this is it, but it's the closest thing I could find real quick.
Kind regards,
Stephan Schwarz
If one of these posts answered your question or issue, please click on "Mark as answer".
My Blog | Twitter: @Schwarz_Stephan | MCTS, MCITP, MCSA, MCC-2011.
How to configure Windows RE/OEM Recovery Partition with MDT

