Hymoo
# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Go Back Hymoo > IT Tutorials Forum > Windows Customization > Winnt.sif. (Answer file for unattended install)
 
LinkBack Thread Tools
Old 10-26-2009, 11:42 AM
Darknez's Avatar
Forum Manager
Join Date: Jun 2009
Posts: 12,535
iTrader: 0 / 0%
Hymoo Points: 105.3
Darknez is on a distinguished road
Send a message via Yahoo to Darknez
Default Winnt.sif. (Answer file for unattended install)

I could have retyped the whole thing and used my own screen shots but this is the guide I used.
When you use the unattended option in nlite it creates the winnit.sif file. The Winnit.sif can be found in the I386 folder. You can edit the winnit.sif file in notepad and similar

[Data]
Code:
AutoPartition=0
If you have the selection on 1 then Windows Setup will install the OS on any free partition that is available. If you remove this line or if you put AutoPartition=0 then setup will ask you on which partition you wish to install Windows onto and advises you what to do if your partition already contains an OS.
Code:
MsDosInitiated = "0"
If this setting is on "0" it will inform Setup that you are installing from CD, put a value of 1
if you use only diskettes to boot.
Code:
UnattendedInstall = "Yes"
If "Yes" is input, this will tell Setup you are running an installation of the Unattended type.
Code:
AutomaticUpdates=yes
This entry tells Setup to skip the Help Protect Your PC page that appears when setup is finished. (New in SP2).


[Unattended]
Code:
UnattendMode=FullUnattended
Setting this option to FullUnattended will perform a fully unattended install, which uses the winnt.sif answer file to answer all the Setup questions, you will have no option to change these answers during setup. Other values can be found in the Ref.chm file that was mentioned on the Creating an Answer File page.

Quote:
[IMG]file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot-4.png[/IMG]OemSkipEula=Yes
Setting this option to Yes will skip the EULA screen which you already read when you used Setup Manager. Setting this option to No will mean you have to press F8 on the keyboard to accept the license during text-mode Setup.
Quote:
OemPreinstall=Yes
This option is default to No but if you are using the $OEM$ Distribution Folders then it needs to be set to Yes, so that Setup regards this installation as a distribution and copies these files over to the system drive. This occurs at the end of Text-mode Setup.

Having OemPreinstall set to Yes will also prevent you from loading RAID/SATA drivers from a floppy disc during textmode setup. The only workaround for that problem is to directly integrate the drivers into the CD, as described here.
Quote:
TargetPath=\WINDOWS
This option tells Setup the directory path that Windows should install to.
Quote:
Repartition=No
Specifies whether to delete all partitions on the first drive of the client computer and to reformat the drive with the NTFS file system automatically.
Quote:
FileSystem=*
If you prefer to manually choose a partition during text-mode setup with full control on choice of filesystem, add this entry to your winnt.sif file.
Quote:
UnattendSwitch="yes"
Specifies whether Setup skips Windows Welcome or Mini-Setup when preinstalling Windows XP Home Edition or Windows XP Professional using the CD Boot method. Set this to yes to skip the "Setting Up Internet Connection" and "Create User Accounts" screens.
Quote:
WaitForReboot="No"
Specifies whether the computer waits 15 seconds after GUI-mode Setup finishes. Choosing No will disable the 15 second wait.
Quote:
OemPnPDriversPath="Drivers\Catalyst3_6\2KXP_INF;Dr ivers\asus\sound\"
This is where you can tell Setup to search your updated drivers directories to find a better match than what's in the existing drivers.cab on the XP CD. If it finds a better match it will install those instead. More is explained on the Drivers page.
Quote:
DriverSigningPolicy=Ignore
This will force Setup to install drivers that may not be WHQL certified. This is used in conjunction with OemPnPDriversPath.
[quote]AutoActivate = Yes[/quote[
This will auto-activate your copy of Windows XP. To automatically activate Windows XP, you must first establish an Internet connection. Please make sure your ProductKey is valid under [UserData]
Quote:
ProgramFilesDir="C:\My Program Files"
You can change the default location of Program Files using this entry. Replace the drive letter and folder name as appropriate.
Quote:
CommonProgramFilesDir="C:\My Program Files\My Common Files"
Using this entry will launch this SINGLE line at T-39 before Drivers have begun to install. Many users use this to extract a driver package to save space on their CD.

Code: Select all
Arguments="/s"



This line accompanies DetachedProgram to pass the command in it parameters, such a a silent switch or similar.


[Display]

Code: Select all
BitsPerPel=32



This option sets the color quality in bits. Available values are: 32, 24, 16, and 8 (that's 256 colors!)

Code: Select all
Xresolution=1024



This options sets the screen resolution that windows will start up in by default. This setting is the X size.

Code: Select all
Yresolution=768



This options sets the screen resolution that windows will start up in by default. This setting is the Y size.

Code: Select all
Vrefresh=85



This options sets the display's refresh rate. Make sure you do not exceed a number considered unsafe beyond your monitor's specification, doing so may result in damaging your monitor.

Code: Select all
AutoConfirm=1



This will disable the really annoying box the appears upon first logon if the resolution wasn't properly set. It's the popup that says your current resolution isn't correct for Windows XP.


[UserData]

Code: Select all
ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx



This option is where you enter your cd-key for Setup to use.

Code: Select all
FullName="Insert Name"



This option is where you can specify your own name, this is displayed under "Registered to:" in Windows XP's System Properties.

Code: Select all
OrgName="Insert Organisation Name"



This option is where you can specify your organisation name, this is also displayed under "Registered to:" in Windows XP's System Properties.

Code: Select all
ComputerName=Insert Name



This option is where you can specify a name for your Computer, which is used system and network-wide. This is displayed in the Computer Name tab in Windows XP's System Properties.


[TapiLocation]
Code: Select all
CountryCode=44



This is the option where you can specify your country code. For the UK its 44. Please refer to the ref.chm file in the Deployment Tools to get the correct values for other countries.

Code: Select all
AreaCode=07



This is the option where you can specify your area code. For Queensland, in Australia, it's 07. This is generally the first two digits of your phone number (in Australia at least).

Code: Select all
Dialing=Tone



This option sets the type of phone line you have. Available values are Tone, and Pulse


[RegionalSettings]

Code: Select all
LanguageGroup=1



This option sets the language group of your installation. Please refer to the ref.chm file in the Deployment Tools for more information.

Code: Select all
Language=00000809



This option sets the language of your installation. Please refer to the ref.chm file in the Deployment Tools for more information. 00000809 is for the UK


[Identification]

Code: Select all
JoinWorkgroup=WORKGROUP



This option is specifies what workgroup you wish to join. If you don't use a network, then you can leave this part alone.


[Networking]

Code: Select all
InstallDefaultComponents=Yes



This option tells Setup if you want to install the default components for networking. If you select Yes then the default will be installed, If you select No then you can specify what protocols, services and clients to install and what not to. The best way to configure this is via Setup Manager (setupmgr.exe)


[Components]


Code: Select all
msmsgs=off



This option tells Setup not to install Windows Messenger 4.6

Code: Select all
msnexplr=off



This option tells Setup not to install MSN Explorer 7.

freeCode: Select all
cell=off



This option tells Setup not to install the FreeCell game.
Code: Select all
hearts=off



This option tells Setup not to install the Hearts game.

Code: Select all
minesweeper=off



This option tells Setup not to install the Minesweeper game.

Code: Select all
pinball=off



This option tells Setup not to install the Pinball game.

Code: Select all
solitaire=off



This option tells Setup not to install the Solitaire game.

Code: Select all
spider=off



This option tells Setup not to install the Spider Solitaire Game.

Code: Select all
zonegames=off



This option tells Setup not to install the MSN Zone Games.

For a full list of components, you can view them here. (Thanks to DaveXP for putting this together)

Code: Select all
http://unattended.msfn.org/files/glo...nents_list.txt




[Shell]


Code: Select all
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\MyTheme.theme"



This option sets the default theme that windows will use, this can be a custom theme or another default theme included with Windows XP. This will mean that XP will not boot up using the default Luna theme, but with a theme you set in this option.

Code: Select all
DefaultStartPanelOff = Yes



This tells Windows XP to use the Classic Start Menu, and displays the My Computer, My Documents icons as well as others on the Windows Desktop. If set to No, then the default Windows XP Start Menu is used.

Code: Select all
DefaultThemesOff = Yes



This tells Windows XP to use the Classic Theme. Note: This option overrides CustomDefaultThemeFile option when set to Yes.


[GuiRunOnce]


Code: Select all
"%systemdrive%\install\batch_file1.cmd"




The GuiRunOnce section is where you set the paths to batch files that run when Windows XP Setup has finished. These batch files run when the Admin account (or your own user account) is logged in.


[IEPopupBlocker]


Code: Select all
AllowedSites=www.msfn.org;www.microsoft.com;www.amazon.com



This adds sites to the IE Popup Blocker's allowed sites list. Any number of web addresses can be added to AllowedSites, as long as they are seperated with a semi-colon.

Code: Select all
BlockPopups=Yes



BlockPopups accepts either Yes or No. The Pop-up Blocker is enabled by default.

Code: Select all
FilterLevel=High



FilterLevel accepts either of the three options, those are High, Medium and Low:

High - Blocks all pop-ups

Medium - Blocks most automatic pop-ups (Default Setting)

Low - Allows pop-ups from secure sites



Code: Select all
ShowInformationBar=Yes or No



ShowInformationBar accepts either Yes or No. The Information Bar appears under the Address Bar whenever a pop-up or an attempted ActiveX Control installation is blocked. This is enabled by default.


[WindowsFirewall]


[WindowsFirewall]
Code: Select all
Profiles = WindowsFirewall.TurnOffFirewall


[WindowsFirewall.TurnOffFirewall]
Code: Select all
Mode = 0




The above entries disables the Windows Firewall completely. If you want to leave the Windows Firewall enabled but also want to preset the settings, check ref.chm under Unattended.txt > [WindowsFirewall] for more information as it is too large to cover here.

Last edited by Ruddy; 11-02-2009 at 09:56 AM. Reason: don't post spammed ads

Old 10-26-2009, 11:42 AM
Darknez's Avatar
Forum Manager
Join Date: Jun 2009
Posts: 12,535
iTrader: 0 / 0%
Hymoo Points: 105.3
Darknez is on a distinguished road
Send a message via Yahoo to Darknez
Default

[SetupParams]


[SetupParams]
Code: Select all
UserExecute = "%systemdrive%\install\install.cmd"




The above will execute the quotes command at T-9 during setup. This maybe useful for a cleanup process or anything else you may have to accomplish later.



Other Entries in WINNT.SIF

You can check ref.chm in the Deployment Tools for many other values you might want to use that isn't covered on this page. This can be found on your original XP CD.


Here is a copy of my winnit.sif. Please use this for reference only.

Code:
; Generated by BigB

[Data]
AutomaticUpdates="No"
Autopartition=0
MsDosInitiated=0
UnattendedInstall="Yes"

[Unattended]
UnattendMode=DefaultHide
UnattendSwitch="Yes"
OemPreinstall="Yes"
OemSkipEula="Yes"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore

[SetupData]
OSLoadOptionsVar="/noexecute=alwaysoff"

[SystemRestore]
MaximumDataStorePercentOfDisk=10

[GuiUnattended]
EncryptedAdminPassword="No"
AutoLogon="Yes"
AdminPassword=*
TimeZone=085
OEMSkipRegional=1
OemSkipWelcome=1

[Components]
Iis_common=On
Iis_inetmgr=On
ComPlusNetwork=On
Iis_www=On
Iis_asp=On

[UserData]
ProductKey="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
ComputerName=HOME-PC
FullName="User"
OrgName="Home"

[RegionalSettings]
LanguageGroup=1
SystemLocale="0809"
UserLocale="0809"
UserLocale_DefaultUser="0809"
InputLocale="0809:00000809"
InputLocale_DefaultUser="0809:00000809"

[Networking]
InstallDefaultComponents="Yes"

[Identification]
JoinWorkgroup="Workgroup"

[Display]
BitsPerPel=32
Xresolution=1280
Yresolution=1024
Vrefresh=60
AutoConfirm=1

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\VistaCG.theme"


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Share This Thread
  • Submit Thread to Twitter
  • Submit Thread to StumbleUpon
  • Submit Thread to Digg
  • Submit Thread to Reddit
  • Submit Thread to del.icio.us

Darknez's Threads
Similar Threads
Newest Threads
Latest Posts
©2010 Hymoo