Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
xmerric

MDT 2010

Recommended Posts

Hi all, not 100% sure this is the right place to post as its sort of win PE

im using Microsoft MDT 2010 and it all works great.

im wondering if its possible to change/made a script to manualy pick the hard drive and partiton to install on.

Thanks Michael

Share this post


Link to post
Share on other sites

MDT2010 uses the "Format and Partition Disk" step in the "New Computer Only" section of the "Preinstall" phase to determine what/how to format and partitioin the disk. You could try disabling or deleting that step, but I've not checked to see what will happen.

Share this post


Link to post
Share on other sites

I have tried simply disabling or deleteing it just comes up with error sayin basicly no partition to install onto, the options for picking the hard drive/ partition all seem to have to be pre defined

i was thinkin along the lines of a script file to make a basic GUI to choose partiton to format

Share this post


Link to post
Share on other sites

I have been lookin through the code im "DeployWiz_Definition_ENU.xml" this is the main wizard file. usingMDT Wizard Editor i can see the option for picking the hard drive/partition is there but seemingly only active when upgrading.

would it be possible to change the code to make it active and to choose the partition on a "NEWCOMPUTER" install? im not much use with XML coding

Thanks Michael

Share this post


Link to post
Share on other sites

Honestly, not sure - would be worth asking over at the Deployment Guys' blog. However, 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.

Share this post


Link to post
Share on other sites

Think il be scraping the idea, at least for now and look at alternates.

Share this post


Link to post
Share on other sites

I was able to get this to work by using Partition Wizard, for what it's worth.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Hey, I have copied all the Partition wizard files into the boot wim's and inserted a command in the task sequence, the files are all in the wim and i have also tried manualy running partitonwizard.exe from a command prompt but it fails to load.

ive been thinking even if i can get it to manualy format the partition, would it know that the partiton i formated was the one to copy files to? im thinkin it wouldnt.

Share this post


Link to post
Share on other sites

It worked here - I made sure to install it on my machine first, and then run it once, and then copy the program files folder to the PE image (if you put it in the PE itself, it's X:\<path>, as it's running from the RAMdrive). As to what drive to install to, it simply starts at drive 0/partition0 and looks for a volume large enough to hold the files, and installs on the first one it finds, and it does this in one of the WSF files that runs at that point to bootstrap the installer.

Share this post


Link to post
Share on other sites

Cool it worked! i was using %SCRIPTROOT% for the path to script folder when i told it the exact path it works great. thanks a lot :D

Share this post


Link to post
Share on other sites

Can you explain how to obtain Partition Wizard please ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...