Set partition Size in an unattended file

Posted on 2005-05-13
Medium Priority
Last Modified: 2010-04-14
I need to set partition size exactly in an unattended installation file for Windows 2000 Server.

I have found the following:

Value: 0 | 1 | <extra size in MB>
The ExtendOemPartition key is used to extend the partition on which you are installing Windows 2000. This key causes Setup to extend this destination partition into any available unpartitioned space that physically follows it on the disk.
•      0      Setup does not extend the partition
•      1      Setup extends the partition to fill out the hard disk
•      <extra size in MB>       Setup increases the current partition size by this amount.

But i would like to see a clear example of how this works (if it is the right key).

For example, i have a 60GB hard disk, i need to install W2k Server in a 20GB partition.
Question by:llandajuela
LVL 29

Accepted Solution

Michael Pfister earned 1500 total points
ID: 13994055
Es, it is the right key.

Lets say for the first part of your unattend you create a 1 GB partition.
In your unattend.txt you put an
ExtendOemPartition = 19000

This should give you a final size of 20 GB.

LVL 10

Expert Comment

ID: 13999835
I use

You use unattend.txt then you run the installation from DOS or winnt32
If it is from DOS you can create the 20 Gb Partition first if it not exists.
If it exists the /S and /T options can be used to force the installation on the 20 gb harddisk

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Last month Marc Laliberte, WatchGuard’s Senior Threat Analyst, contributed reviewed the three major email authentication anti-phishing technology standards: SPF, DKIM, and DMARC. Learn more in part 2 of the series originally posted in Cyber Defense …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question