unattended installation missing entries

Questions about Update Pack making? Ask here.
Post Reply
ruulist
Posts: 19
Joined: Thu Nov 09, 2006 5:47 am

unattended installation missing entries

Post by ruulist » Sun Jul 05, 2009 8:28 am

Hi Everyone -

Thanks to Ryan's indispensable work I managed to create once again an updated XP installation! A great work from Ryan!

There aroused few questions of improvement of my results, which I hope this friendly community can provide support to me.

My questions are about WINNT.SIF

I'd be very thankful about description w syntax of few missing sections of this file :-)


The original is US xp pro sp3 volume edition.
and Windows XP Post-SP3 Update Pack 1.0.3 January 18, 2009
(I guess it's latest available to integrate)


in the installation end phase -

1. How to bypass without user intervention
Welcome to Microsoft Windows
Thank you for purchasing Microsoft Windows XP
Let's spend ...
To continue, click Next

2. How to select and bypass without user intervention -
Help protect your PC screen
- desired option - "download and let me decide when to install"

3. To bypass with defaulted
"Will this computer connect to the Internet directly, or through a network?"
desired default with bypass "Yes, this computer will connect through a local area network or home network"

4. to bypass with default
Ready to register with Microsoft?
desired option - No, not at this time

5. To eliminate alter Take a Tour of Windows XP
6. Switch Control Panel to Classic View


TIA
John

Presently my WINNT.SIF looks like following:

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

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

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

[UserData]
ProductKey=YTTD2-xxxxxxxxxxxxxxxxx
FullName="Intel"
OrgName=""
ComputerName=Intel

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=www.google.com

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

User avatar
beats
Posts: 772
Joined: Tue Nov 27, 2007 4:11 am
Location: Netherlands

Post by beats » Sun Jul 05, 2009 10:01 am

First you need to add a few things to WINNT.SIF (see sections below):

Code: Select all

[Unattended]
UnattendMode=FullUnattended
UnattendSwitch="Yes"
OemSkipEula=Yes
OemFilesPath="..\$OEM$"
Repartition=No
Hibernation=No
AutoActivate=No
runoobe=no
FactoryMode=Yes
DUDisable=Yes
CrashDumpSetting=0
NtUpgrade=No
Win9xUpgrade=No
WaitForReboot="No"
TargetPath=\WINDOWS
OemPnpDriversPath=""
OemPreinstall=Yes
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
NoWaitAfterTextMode=1
KeyboardLayout=US

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
OemSkipWelcome=1
ServerWelcome=No

[Shell]
DefaultStartPanelOff=Yes
DefaultThemesOff=Yes
And you need to change a few registry settings:

Code: Select all

;Disable the annoying Windows Tour
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

;Force Classic Control Panel
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"ForceClassicControlPanel"=dword:00000001

;Set registration to done
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"RegDone"="1"
Save as settings.reg for example, then you can use cmdlines.txt to import the registry keys:

Code: Select all

[COMMANDS]
"regedit /s settings.reg"

User avatar
5eraph
Site Admin
Posts: 4621
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Sun Jul 05, 2009 12:15 pm

To skip OOBE, the only thing you need to add to WinNT.sif is the following:

Code: Select all

[Unattended]
    UnattendSwitch="Yes"
To configure Automatic Updates through the registry, add the following to beats's REG file. If you use this then you'll only be able to change the configuration through the registry; the AU GUI will be grayed-out for all users including Administrator. For more information visit WindowsNetworking.com.

Code: Select all

Windows Registry Editor Version 5.00

; Set AU to download, but not install.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU]
"AUOptions"=dword:00000003

ruulist
Posts: 19
Joined: Thu Nov 09, 2006 5:47 am

Post by ruulist » Mon Jul 06, 2009 7:44 am

Hi, Thanks for replies!

I have failed to figure out which fix is for what problem, excpet registry ones.
Could you please point out more percisely, then I could have more control.

The installation I need, should be rather universal and so it has been already for many years with WINNT.SIF as given in my initial post.
The minor imperfections I named, aren't worth of starting to build everythiong over again.

As I prefer not to mess w registry to avoid any future possible incompatibilities, then now there remains non registry fixes:

1. How to bypass without user intervention
Welcome to Microsoft Windows
Thank you for purchasing Microsoft Windows XP
Let's spend ...
To continue, click Next

2. How to select and bypass without user intervention -
Help protect your PC screen
- desired option - "download and let me decide when to install"

3. To bypass with defaulted
"Will this computer connect to the Internet directly, or through a network?"
desired default with bypass "Yes, this computer will connect through a local area network or home network"

4. to bypass with default
Ready to register with Microsoft?
desired option - No, not at this time

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Mon Jul 06, 2009 9:25 am

[Unattended]
FileSystem=*
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
UnattendSwitch=Yes
TargetPath=\Windows




I never see it...

User avatar
5eraph
Site Admin
Posts: 4621
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Mon Jul 06, 2009 11:11 am

Those four items are OOBE, see my previous post...

User avatar
beats
Posts: 772
Joined: Tue Nov 27, 2007 4:11 am
Location: Netherlands

Post by beats » Mon Jul 06, 2009 11:44 am

5eraph wrote:To skip OOBE, the only thing you need to add to WinNT.sif is the following:

Code: Select all

[Unattended]
    UnattendSwitch="Yes"
runoobe=no, like the name implies, also skips OOBE, and is an undocumented Unattended Section feature, amongst a few other options that I posted in the example. ;)

ruulist
Posts: 19
Joined: Thu Nov 09, 2006 5:47 am

Post by ruulist » Sat Jul 11, 2009 5:49 pm

beats wrote:
5eraph wrote:To skip OOBE, the only thing you need to add to WinNT.sif is the following:

Code: Select all

[Unattended]
    UnattendSwitch="Yes"
runoobe=no, like the name implies, also skips OOBE, and is an undocumented Unattended Section feature, amongst a few other options that I posted in the example. ;)
Hi Beats,
The single line UnattendSwitch="Yes" works as expected!
Except now there is no option to input user name during installation.

I'm not sure, but I belive that there is no difference to Windows XP system, if another admin account is added manually instantly when installation has finished.

Or is there a way still to force unattended setup just to stop once for user name?

Tia

Post Reply