zbarre Posted April 6, 2006 Posted April 6, 2006 Hello everybody,I would like to know if someone has a method to limit the partition c:\ to 20 or 30 Gb for example during an unattented installation.I do not want to use, a Bart Pe way.First of all is it possible?Thanks
mattdcknsn Posted April 6, 2006 Posted April 6, 2006 Hello everybody,I would like to know if someone has a method to limit the partition c:\ to 20 or 30 Gb for example during an unattented installation.I do not want to use, a Bart Pe way.First of all is it possible?ThanksFrom my understanding you cannot specify a default C partition using the unattend method. If you activate the autopartition option it will format your entire drive as the C drive. I think their are 3rd party apps that will create a partiton and start the install but I dont use them, somebody else here should know how to do it.-Matt
tguy Posted April 6, 2006 Posted April 6, 2006 You would need some kind of 3rd party product to create a boot menu that would allow you to partition the disk first. I would look into Diskpart.exe from Microsoft. Diskpart can read a text file that serves as a answer script to create and format partitions. You just need a utility that will boot the cd and launch the utility for you.Once that task is complete you can have then launch Windows install from there.Good luck.
zbarre Posted April 7, 2006 Author Posted April 7, 2006 Hum OK, i 'll try to do tha?Thanks for your help
jyrwin Posted April 7, 2006 Posted April 7, 2006 disk.cmd:diskpart.exe /s Diskpart.txtecho y | %SYS32%\FORMAT C: /fs:ntfs /qDiskpart.txt:select disk 0cleancreate partition primary size=20000 (or 30000)assign letter cactiveexitA Description of the Diskpart Command-Line Utility
oioldman Posted April 7, 2006 Posted April 7, 2006 How does one get diskpart.exe to do this?is it in a resource kit? or only as part of winpe?
jyrwin Posted April 7, 2006 Posted April 7, 2006 Diskpart.exe: Diskpart Command Line UtilityInstall it and copy diskpart.exe (and diskpart.txt also) to winpe or bartpe cd path (%windir%).
zbarre Posted April 10, 2006 Author Posted April 10, 2006 Diskpart.exe: Diskpart Command Line UtilityInstall it and copy diskpart.exe (and diskpart.txt also) to winpe or bartpe cd path (%windir%).i've tested the solution on BartPe, from the command prompt i execute "diskpart.cmd" .But an error appears : " The disk management services could not complete the operationHow can i solve this?
Mordac85 Posted April 10, 2006 Posted April 10, 2006 FWIW,An alternative is to use Ghost's GDisk utility. Since I'm creating images as well using Ghost I have the util as part of the package. I have to say that since I started using Ghost, many many moons ago, this one util has made the entire purchase well worth it. It's basically fdisk from the command line.As far as defining this in the unattended routine, I think you're limited if the partition is not already there.
jyrwin Posted April 11, 2006 Posted April 11, 2006 Diskpart.exe: Diskpart Command Line UtilityInstall it and copy diskpart.exe (and diskpart.txt also) to winpe or bartpe cd path (%windir%).i've tested the solution on BartPe, from the command prompt i execute "diskpart.cmd" .But an error appears : " The disk management services could not complete the operationHow can i solve this?insert this to diskpart.cmd (before diskpart.exe line)%windir%\system32\net start dmadmin
zbarre Posted April 11, 2006 Author Posted April 11, 2006 thanks jyrwin i'll try it tomorrow at work and let you know
zbarre Posted April 12, 2006 Author Posted April 12, 2006 Your solution works perfectly jyrwin thanks a lot,i'm trying now to execute at the BartPE's boot the diskpart.cmdSee you
Kingskawn Posted April 15, 2008 Posted April 15, 2008 disk.cmd:diskpart.exe /s Diskpart.txtecho y | %SYS32%\FORMAT C: /fs:ntfs /qDiskpart.txt:select disk 0cleancreate partition primary size=20000 (or 30000)assign letter cactiveexitA Description of the Diskpart Command-Line UtilityI've got a good install disk of winxp full unattented now and want to partition my disk. We've got disks of 160gb on all business machines and the idea is to put an install dvd and wait till it finishes. I'm using Runoncex.cmd to install all my applications.Can I use this of disk.cmd yours? I don't think so otherwise my winxp install will be deleted. I want a C: partition of 30gb and D: is all the rest.Thanks if you can help me
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now