Solved

Windows XP Unattended Setup Problem

Posted on 2004-04-20
3
388 Views
Last Modified: 2009-09-04
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.
0
Comment
Question by:plattze
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
venishjoe earned 500 total points
ID: 10875263
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

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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