I used MDT 2010 to create an unattended Windows 7 installation, having some applications to be installed. All is fine except for one problem.
During the install, The MDT during PE does not ask for the customization of Drives i.e. Formatting and Partitioning. If the installed is a Fresh install, MDT by default wipes out all the drives and creates only one partition of all the available HDD space.
Now the problem is I don't want it like this. I have been searching for the solution for 26 hours. I have been through a lot of scripting and XML coding etc etc, but I ain't really in to these. (again pardon my noobness)
Then I found cluberti's post
if you had a portable partition/format app that ran as an .exe, you could probably insert it into the task sequence before that point and disable the task sequence pre-existing partition/format step. It could work, I would think. The download for Partition Wizard is self contained once installed on a test machine (or extracted from it's inno setup package - see innounp if you want to just extract it). Add the app to the \Scripts folder in the DeploymentShare or mount the PE WIM and add it to \Program Files there and unmount/commit, and then in the task sequence call a .cmd that runs "start /w <path to exe>" (you'll have to create this in the \Scripts folder of the deployment share - if you call the .exe directly, the task sequence won't pause and once the .exe launches, it'll continue and fail) as a task in the same location as the New Computer partition task (disable the partition/format task itself).
Rebuild your WIMs, and try again - instead of automatic formatting at that point in the task sequence, you should get a Partition Wizard GUI popping up which will allow you to partition/format the drive.
This was what he said
I Installed Partition Wizard on my computer. I copied the Partition Wizard installed folder and its files to the SCRIPTS folder of the deployment-share.
I then wrote a .cmd file, start /w X:\Deploy\Scripts\Partition Wizard\PartitionWizard.exe. Saved this file to the SCRIPTS folder.
In the Task Sequence, Under the New Computer Only group, I added a Run Command Line with the contents cscript.exe "%SCRIPTROOT%\PartitionWizard.cmd"
Completely Rebuilt Boot Images, but when the deployment commenced, the Partition Wizard did not start and gave 7 errors.
Can anyone help???