Windows XP Unattend Install

B

Brian

Hello,

Can anyone tell me wy Windows XP doesn't format my
harddisk to 5 GB? My disk is 8 GB and i only want
to use 5 GB for the C:\ and the rest for D:\

Thanks,

Brian


This is the answer file:

;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
Repartition=Yes
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
FileSystem=ConvertNTFS
ExtendOEMPartition=5000

[GuiUnattended]
AdminPassword="*******"
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=2
OEMSkipRegional=1
OEMSkipWelcome=yes
TimeZone=110

[UserData]
ProductKey=*****-*****-*****-*****-*****
FullName="*******"
OrgName="*******"
ComputerName=*

[Display]
BitsPerPel=32
Xresolution=800
YResolution=600
Vrefresh=72

[TapiLocation]
CountryCode=31
AreaCode=024

[RegionalSettings]
LanguageGroup=1
SystemLocale=00000413
UserLocale=00000413
InputLocale=0413:00020409

[Components]
msmsgs = off
msnexplr = Off
oeaccess = Off
wmaccess = Off

[Shell]
DefaultStartPanelOff = Yes
DefaultThemesOff = Yes

[Identification]
JoinWorkgroup=Werkgroep

[GuiRunOnce]
%systemdrive%\install\main_batch.cmd

[Networking]
InstallDefaultComponents=Yes
 
G

George Ellis

If doesn't because that is not the way it works. The extension is done to
an already formatted NTFS partition for the amount specified.

You cannot specify initial size in the setup. You can create it using a
number of tools and leave it alone.
 
J

Jerry G. Young II

Brian,

In order to what you want to do, you need to go about it in a different way.

The Repartition=Yes setting tells Setup to delete all existing partitions
and create a single partition that is the same size as the entire disk. It
also formats using NTFS. There isn't anything left to extend or convert to
NTFS.

What you need to do is to create a boot disk that will create a small
parition (FDISK) on the disk (about 2 GB is good), and then format (FORMAT)
it in FAT or FAT32.

Once you do that, you then need to change the Repartition value to "No".
You don't want to wipe out that 2 GB FAT/FAT32 partition you are going to
extend to 5 GB and convert to NTFS.

Then, you just need to change the value for ExtendOEMPartition to the
difference between 5 GB and 2 GB. After all, you're extending to 5 GB.
Simply set the value to 3072. Keep in mind that a GB, strictly speaking, is
1024 MB so, 5 GB is really 5120 MB.

By formatting a 2 GB (2048 MB) FAT/FAT32 parition and choosing to extend it
during an unattended setup by 3 GB (3072 MB), you'll end up with your 5 GB
(5120 MB) NTFS partition. *8^)

Hope this helps.

Cordially yours,
Jerry G. Young II
 
P

Patrick J. LoPresti

An alternative which avoids any arithmetic, uses a fixed unattend.txt
regardless of partitioning scheme, and does not require repartitioning
later:

Under DOS, create the partition table exactly the way you want (5G
NTFS partition followed by 3G NTFS partition). Then *delete* the 5G
partition and create a 2G FAT/FAT32 partition in its place.

Set Repartition=No, FileSystem=ConvertNTFS, and ExtendOEMPartition=1
(yes, 1). Windows will extend the partition as far as it can without
overrunning the other partition(s) on the drive; in this case, 5G.

Or just download <http://unattended.sourceforge.net/> which will
automate all of this for you.

- Pat

Jerry G. Young II said:
Brian,

In order to what you want to do, you need to go about it in a different way.

The Repartition=Yes setting tells Setup to delete all existing partitions
and create a single partition that is the same size as the entire disk. It
also formats using NTFS. There isn't anything left to extend or convert to
NTFS.

What you need to do is to create a boot disk that will create a small
parition (FDISK) on the disk (about 2 GB is good), and then format (FORMAT)
it in FAT or FAT32.

Once you do that, you then need to change the Repartition value to "No".
You don't want to wipe out that 2 GB FAT/FAT32 partition you are going to
extend to 5 GB and convert to NTFS.

Then, you just need to change the value for ExtendOEMPartition to the
difference between 5 GB and 2 GB. After all, you're extending to 5 GB.
Simply set the value to 3072. Keep in mind that a GB, strictly speaking, is
1024 MB so, 5 GB is really 5120 MB.

By formatting a 2 GB (2048 MB) FAT/FAT32 parition and choosing to extend it
during an unattended setup by 3 GB (3072 MB), you'll end up with your 5 GB
(5120 MB) NTFS partition. *8^)

Hope this helps.

Cordially yours,
Jerry G. Young II

news:[email protected]...
....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top