Question

Locked

Unattended Installations

By Woolly.Watson ·
Hi,

I am currently trying to carry out an unattended install of windows XP using an answer file that i have created. I have saved the answer file to floppy and renamed the unnatend.txt file to winnt.sif and then booted from XP CD with the floppy disk in but the answer file does not run. Am i supposed to be running a dos command as well or is it one or the other? Do I rename the batch file as well?

I have also tried the following command line at command prompt: winnt32 [/unattend[num]:[answer_file]]but get message saying winn32 is not a recognised as an internal or external command, operable program or batch file.


I am getting a bit frustrated with this now so would appreciate some advice. many thanks in advance.

This conversation is currently closed to new comments.

10 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

FD & FD Controller and floppy

by bcpgm In reply to Unattended Installations

Make sure FD & FD Controller are enabled. Also make sure the Floppy itself is OK.
Typically Windows will look for Winnt.sif file from I386 folder (slipstreamed) or FD.

Please post the contents of Winnt.sif.

Collapse -

Contents of winnt.sif file

by Woolly.Watson In reply to FD & FD Controller and fl ...

Hi,

I haev just used the windows wizard to create the answer file using the default options as a starting point. Sorry if I sound a bit thick but do not know what you mean by FD or FD controller. Floppy Disk? When I look in my bios settings their does not appear to be a boot from floppy option. Is this causing an issue? Thanks for your help please find the answer file below.


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

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=85
OemSkipWelcome=1

[UserData]
ProductID=FCKGW-RHQQ2-YXRKT-*TG6W-2B7Q8
FullName="Lee"
OrgName=""
ComputerName=Leetest

[TapiLocation]
CountryCode=44

[RegionalSettings]
LanguageGroup=1
Language=00000809

[SetupMgr]
DistFolder=C:\whistlerdist
DistShare=whistlerdist

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

Collapse -

Try adding the parameters below.

by bcpgm In reply to Contents of winnt.sif fil ...

Try adding the parameters below.

[Unattended]
Repartition=Yes
UnattendSwitch=Yes
DriverSigningPolicy=ignore

[UserData]
ProductID= take out the *.

This product key is one of the pirated keys. You should not be using it.

Collapse -

Thanks

by Woolly.Watson In reply to Try adding the parameters ...

Hi,

Thanks for your response. I have since managed to sort it out. The difference appears to be in the fact that initially I was renaming the unattend.txt file .....winnt.sif rather than saving it as winnt.sif??

Regards.

Collapse -

In BIOS

by bcpgm In reply to Contents of winnt.sif fil ...

I meant FD as Floppy Drive (or Floppy Disk).

A typical BIOS has Main (or Standard) where you set floppy (or Diskette A) as 1.44MB and Integarted peripheral where you enable FD controller. Because each Motherboard is different, you may refer to the manual.
Floppy not apperaing in boot option indicates the above settings were not done.

The first boot option should be CD-ROM with XP CD in it. Windows installation looks for unatteded file, winnt.sif in your case, from the CD or FD.

Collapse -

MS KB

by CG IT In reply to Unattended Installations

http://support.microsoft.com/kb/314459/en-us

here's a link

you've probably already looked at it but if not there ya go.

here's the KB on creating your answer file
http://support.microsoft.com/kb/308662/EN-US/

the WinNT.sif file add a data section

unattendedinstall=yes [must be yes]
MSDosinitiated=no [must be not]
autopartition=1 [1= install into the existing partition 0= prompt for partition to be unattended the value must = 1]

setupmgr.exe wizard can help you create your answer file. ref :sysprep.inf answer file

[Unattended]
ExtendOemPartition
OemPnPDriversPath
OemSkipEula
InstallFilesPath
KeepPageFile
ResetSourcePath
UpdateHAL
UpdateUPHAL
UpdateInstalledDrivers
TapiConfigured

[GuiUnattended]
AdminPassword
Autologon
AutoLogonCount
OEMDuplicatorString
OEMSkipRegional
OEMSkipWelcome
TimeZone

[UserData]
Supports the same set of entries as the Unattend.txt file.
[LicenseFilePrintData]
Supports the same set of entries as the Unattend.txt file.
[GuiRunOnce]
Supports the same set of entries as the Unattend.txt file.
[Display]
Supports the same set of entries as the Unattend.txt file.
[RegionalSettings]
Supports the same set of entries as the Unattend.txt file.
[Networking]
Supports the same set of entries as the Unattend.txt file.
[Identification]
Supports the same set of entries as the Unattend.txt file.
[TapiLocation]
[Sysprep]
Automatically generates the entries in the [SysprepMassStorage] section.
[SysprepMassStorage]
Allows you to use the same image on computers with different mass-storage devices.

Collapse -

Thanks

by Woolly.Watson In reply to MS KB

Hi Thans for your response. I have since got it to work by saving unattend.txt as winnt.sif rather than renaming the unattend.txt file. At least that what i think sorted it.

I'm onto the deploying Windows via the Sysprep tool next which hopefully won't be a frusrating as this was. I'm sure your links will come in handy at this stage.

Regards

Collapse -

sysprep.inf

by sgt_shultz In reply to Unattended Installations

check out those links cg it posted. are you using sysprep to get this done? i can't tell the process you've followed from your post but it doesn't sound right to me. i think you'll want to use setupmgr.exe to create the answer file and you'll need to rename it sysprep.inf and put it in a special folder on the destination hd and other stuff. it's all in the links cg posted. by now you've probably found it all yourself....don't thank us thank microsoft. hih

Collapse -

Unattended Installations

by ssadman In reply to Unattended Installations

use winnt insted of winnt32 if you are running under dos because winnt32 is used under windows only

Back to Storage Forum
10 total posts (Page 1 of 1)  

Related Discussions

Related Forums