Windows XP Unattended Setup Problem

We have Unattended Setup working and it's great.

2 questions in regards to this.

1)  Is it possible to make the XP Setup to format the HDD to an NTFS partition (size = max hdd size)?  At the moment, I have it scripted to use gdisk to delete all partiton, create the partition, reboot, then run setup...I would like XP to just format (saves me rebooting) regardly of whether the HDD has any partition or data on it.

2)  After unattended setup firsts runs (below is how I am calling it) - it copies the files (expecting a 2Gb FAT32 parition which my gdisk script gives it), then reboots, asks F6 for additional drivers and starts the actual install.

This is where the major problem arises.  On a system which doesn't have normal IDE Hard drives (ie.  SATA, SCSI, RAID etc), I hit F6.  Then say "S" for specify additional drivers, put the floppy disk in for that specific hardware.  It finds it, I hit okay and it continues.

But then, next, when it starts to copy the files, it first tries to copy the driver files which I just specified, and it fails.  Saying:

"Setup cannot copy the file:  xxx.sys
* To Retry:  Press ENTER
* To Skip: Press ESC
* To Quit:  Press F3"

If I skip it, the same thing happens as if I didn't specify the driver,  Setup will not be able to talk to the hard drive controller and will Blue Screen.  If I keep retrying, the message just loops.

This seems to be a bug for Windows XP in unattended mode, If I just grab the CD, boot of it, F6, it all works fine.

However, I CANNOT just do a 'normal' XP install, it _needs_ to be unattended from the network (from a network bootdisk) for numerous reasons which I cannot mention.

Can anyone help me?

If anyone can point me to a program or script (NOT A GUIDE) which will automatically slipstream the drivers into the unattended network install point I will also accept that as an answer.

Thanks.
plattzeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

venishjoeCommented:
Hai,

 Chaeck the following links to get the script.I also posted a ample script

http://www.svrops.com/svrops/documents/xpunattend.htm
http://forum.abit-usa.com/showthread.php?threadid=14297
http://forums.sudhian.com/messageview.cfm?catid=81&threadid=38861
http://www.winnetmag.com/Windows/Article/ArticleID/3773/3773.html
http://www.mcpmag.com/columns/article.asp?EditorialsID=498
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/deploy/ccmdepl/ccmappd.asp
http://www.tacktech.com/display.cfm?ttid=160

following is an example of a winnt.sif file(Addition comment is included for drivers)

[Data]
AutoPartition="0"
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=DefaultHide
OemPreinstall=Yes
OemFilesPath="..\$OEM$"
OemPnPDriversPath="Drivers\Matrox;Drivers\IntelNIC"            <----
DriverSigningPolicy=Ignore
;;NonDriverSigningPolicy=Ignore
OemSkipEula=Yes
TargetPath="\WIN2000"
Filesystem=LeaveAlone
OverwriteOemFilesOnUpgrade=No

;[MassStorageDrivers]
; "Adaptec AIC-7899 Ultra160/m PCI SCSI Card" = RETAIL
; "Intel(r) 82801BA Ultra ATA Controller" = RETAIL
; "Primary IDE Channel" = RETAIL
; "Secondary IDE Channel" = RETAIL

;[OEMBootFiles]
; IdeBusDr.sys
; IdeChnDr.sys
; IdeChnDr.inf
; IATA3000.CAT
; TxtSetup.oem

[GuiUnattended]
AdminPassword=psswd
AutoLogon=Yes
AutoLogonCount=2
OEMSkipRegional=1
TimeZone=4
OemSkipWelcome=1
ProfilesDir="%SystemDrive%\Users"
DetachedProgram="%SystemDrive%\$WIN_NT$.~LS\I386\svcpack\dxsetup.exe"
Arguments="/windowsupdate /silent /packageinstall"


Hope this helps


Regards
Venish
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.