Set partition Size in an unattended file

Posted on 2005-05-13
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 28

    Accepted Solution

    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

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    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…
    I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now