May 20, 200917 yr Im trying to make a diskpart script and I want it to create the recovery parition first then create the main paritionSo on blank drive it creates a 5GB partition first and then formats it and then labels it and assigns a letterthen it creates the main parition with what ever space is left over.Select disk 0Create Partition PRI Size=5000Select partition 1Format FS=NTFS Label="winre" QUICKAssign letter=RCreate Partition PRIselect partition 2Format FS=NTFS Label="Vista" QUICKAssign LETTER=Cactive
May 20, 200917 yr Select disk 0cleanCreate Partition PRI Size=5000Format FS=NTFS Label="winre" QUICKAssign letter=RCreate Partition PRIselect partition 2activeFormat FS=NTFS Label="Vista" QUICKAssign LETTER=CDon't forget the clean command!Edit: No i am not going to update my thread yet. I'm getting burn out already so I'll save that for another day.
May 20, 200917 yr Don't forget, the assigned drives are only for thw winpe session. They may appear different in your installed operating system.
May 20, 200917 yr I would hope that the OP will be hiding the recovery partition, in such case it should not get a drive letter except during the deployment phase. When you boot into the recovery partition after being unhidden, it will then appear to be the C drive iirc.
Create an account or sign in to comment