April 6, 200620 yr 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
April 6, 200620 yr 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
April 6, 200620 yr 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.
April 7, 200620 yr 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
April 7, 200620 yr How does one get diskpart.exe to do this?is it in a resource kit? or only as part of winpe?
April 7, 200620 yr Diskpart.exe: Diskpart Command Line UtilityInstall it and copy diskpart.exe (and diskpart.txt also) to winpe or bartpe cd path (%windir%).
April 10, 200620 yr Author 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?
April 10, 200620 yr 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.
April 11, 200620 yr 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
April 12, 200620 yr Author Your solution works perfectly jyrwin thanks a lot,i'm trying now to execute at the BartPE's boot the diskpart.cmdSee you
April 15, 200818 yr 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
Create an account or sign in to comment