Solved

Windows XP Unattended Setup Problem

Posted on 2004-04-20
3
374 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
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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…
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

864 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

25 Experts available now in Live!

Get 1:1 Help Now