Microsoft KB Archive/281511

= Sample Unattend.txt Files for Unattended Installation of the Windows NT 4.0 Option Pack =

Article ID: 281511

Article Last Modified on 6/22/2005

-

APPLIES TO


 * Microsoft Internet Information Server 4.0, when used with:
 * Microsoft Windows NT 4.0

-



This article was previously published under Q281511



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SUMMARY
This article provides two sample Unattend.txt files that contain all of the commonly selected options for configuring Internet Information Server (IIS) and other Option Pack components. You must modify these sample files according to your desired options and settings.



MORE INFORMATION
The following sample file provides the default Windows NT 4.0 Option Pack installation: [Version] Signature = &quot;$Windows NT$&quot;

[Global]
 * In K2 setup, Iis.dll will handle this [Global] section and set Setup mode appropriately.
 * You don’t have to worry about this section.
 * You can specify the mode that Setup runs in.
 * Setup takes on the install modes based on the configuration of the target computer.
 * Fresh, Maintanence, Upgrade
 * FreshMode = [ Minimal | Typical | Custom ]
 * MaintanenceMode = [ AddRemove | RemoveAll ]
 * UpgradeMode = [ UpgradeOnly | AddExtraComps ]
 * MaintanenceMode = [ AddRemove | RemoveAll ]
 * UpgradeMode = [ UpgradeOnly | AddExtraComps ]

the default value is Typical.
 * If the computer is in FreshMode, but no &quot;FreshMode=&quot; line is specified,

specified, there is no default value and you receive an error message in the registry.
 * If the computer is in MaintanenceMode, but no &quot;MaintanenceMode=&quot; line is
 * (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OC Manager\MasterInfs\Errors)

specified, the default value is UpgradeOnly.
 * If the computer is in UpgradeMode, but no &quot;UpgradeMode=&quot; line is

FreshMode = Typical MaintanenceMode = RemoveAll

[Components]
 * =[ ON | OFF ]
 * This [components] section is valid only when
 * FreshMode = Custom
 * MaintanenceMode = AddRemove
 * UpgradeMode = AddExtraComps

iis_common = ON iis_inetmgr = ON iis_www = ON iis_ftp = ON iis_htmla=ON iis_w3samp = OFF iis_doc_common = ON iis_doc_ismcore = ON iis_doc_asp = ON iis_doc_sdk = OFF iis_doc_mm = OFF
 * IIS

mts_core=on mts_mmc=on mts_core_docs=on mts_mtsdev=off mts_mtsdev_core=off mts_mtsdev_core_docs=off mts_mtsdev_vbaddin=off
 * MTS

indexsrv_system  = ON indexsrv_language = ON indexsrv_samples  = ON indexsrv_onlinedoc= ON indexsrv_language_english_us = ON indexsrv_language_english_uk       = OFF indexsrv_language_french_french   = OFF indexsrv_language_german_german   = OFF indexsrv_language_italian_italian = OFF indexsrv_language_swedish_default = OFF indexsrv_language_spanish_modern  = OFF indexsrv_language_dutch_dutch     = OFF indexsrv_language_japanese_default = OFF
 * IndexServer components

fp_extensions=ON fp_vid_deploy=OFF
 * FrontPage Extensions

certsrv = OFF certsrv_client = OFF certsrv_server = OFF certsrv_doc = OFF
 * Cert Server

DAC_ADO_CORE = ON DAC_DRV_BRAZOS = ON DAC_DRV_SQLSRV = ON DAC_DRV_ORACLE = ON DAC_ADO_DOC = ON DAC_RDS_11 = OFF DAC_RDS_CORE ON DAC_RDS_DOC ON DAC_RDS_SAMPLE = ON
 * DAC

PostAcc = OFF WebPost = OFF SA2IIS = OFF UsageAnalyst = OFF
 * Site Analyst

iis_smtp = ON iis_smtp_docs = ON iis_nntp = OFF iis_nntp_docs = OFF
 * SMTP and NNTP

wsh_core = ON
 * WSH

iisdbg = ON
 * Caesars

COMMONDOC = OFF CMAKDOC = OFF CPSDOC = OFF CIASDOC = OFF CMAKPROG = OFF CPSAD = OFF CPSSRV = OFF CIASOCM = OFF
 * Rasics

Msmq_Server_Core = OFF Msmq_Admin = OFF Msmq_SDK = OFF Msmq_Doc = OFF
 * MSMQ requires the Msmqinst.ini file.

[iis] PathFTPRoot=C:\Inetpub\ftproot PathWWWRoot=C:\Inetpub\wwwroot PathPROGRoot=C:\program files
 * Each major component may have its own private data.
 * Path =c:\install\path

[mts_core] Path=&quot;D:\Program Files\Mts&quot;
 * USERID=&quot;Interactive User&quot;
 * PASSWORD=&quot;&quot;

[indexsrv]
 * CiCatalogPath=

[certsrv_client] sharedfolder = C:\Shared

[certsrv_server] name = my server name organization = my test org organizationalunit = my organizational unit locality = my locality State = my state country = US

The following sample file provides a minimal Windows NT 4.0 option pack installation with only IIS: [Version] Signature = &quot;$Windows NT$&quot;

[Global]
 * In K2 setup, Iis.dll will handle this [Global] section and set Setup mode appropriately.
 * You don’t have to worry about this section.
 * You can specify the mode that Setup runs in.
 * Setup takes on the install modes based on the configuration of the target computer.
 * Fresh, Maintanence, Upgrade
 * FreshMode = [ Minimal | Typical | Custom ]
 * MaintanenceMode = [ AddRemove | RemoveAll ]
 * UpgradeMode = [ UpgradeOnly | AddExtraComps ]
 * MaintanenceMode = [ AddRemove | RemoveAll ]
 * UpgradeMode = [ UpgradeOnly | AddExtraComps ]

the default value is Typical.
 * If the computer is in FreshMode, but no &quot;FreshMode=&quot; line is specified,

specified, there is no default value and you receive an error message in the registry.
 * If the computer is in MaintanenceMode, but no &quot;MaintanenceMode=&quot; line is
 * (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OC Manager\MasterInfs\Errors)

specified, the default value is UpgradeOnly.
 * If the computer is in UpgradeMode, but no &quot;UpgradeMode=&quot; line is

FreshMode = Custom MaintanenceMode = AddRemove UpgradeMode = AddExtraComps

[Components]
 * =[ ON | OFF ]
 * This [components] section is valid only when

iis_common = ON iis_inetmgr = ON iis_www = ON iis_ftp = OFF iis_htmla=OFF iis_w3samp = OFF iis_doc_common = OFF iis_doc_ismcore = OFF iis_doc_asp = OFF iis_doc_sdk = OFF iis_doc_mm = OFF
 * iis

mts_core = ON mts_mmc = ON mts_core_docs = ON mts_mtsdev = ON mts_mtsdev_core = ON mts_mtsdev_core_docs = ON mts_mtsdev_vbaddin = ON
 * MTS

indexsrv_system  = OFF indexsrv_language = OFF indexsrv_samples = OFF indexsrv_onlinedoc= OFF indexsrv_language_english_us = OFF indexsrv_language_english_uk      = OFF indexsrv_language_french_french   = OFF indexsrv_language_german_german   = OFF indexsrv_language_italian_italian = OFF indexsrv_language_swedish_default = OFF indexsrv_language_spanish_modern  = OFF indexsrv_language_dutch_dutch     = OFF indexsrv_language_japanese_default = OFF
 * IndexServer components

fp_extensions = OFF fp_vid_deploy = OFF
 * FrontPage Extensions

certsrv = OFF certsrv_client = OFF certsrv_server = OFF certsrv_doc = OFF
 * Cert Server

DAC_ADO_CORE = ON DAC_DRV_BRAZOS = ON DAC_DRV_SQLSRV = ON DAC_DRV_ORACLE = ON DAC_ADO_DOC = ON DAC_RDS_11 = ON DAC_RDS_CORE = ON DAC_RDS_DOC = ON DAC_RDS_SAMPLE = ON
 * DAC

PostAcc = OFF WebPost = OFF SA2IIS = OFF UsageAnalyst = OFF
 * Site Analyst

iis_smtp = OFF iis_smtp_docs = OFF iis_nntp = OFF iis_nntp_docs = OFF
 * SMTP and NNTP

wsh_core = OFF
 * WSH

iisdbg = ON
 * Caesars

COMMONDOC = OFF CMAKDOC = OFF CPSDOC = OFF CIASDOC = OFF CMAKPROG = OFF CPSAD = OFF CPSSRV = OFF CIASOCM = OFF
 * Rasics

Msmq_Server_Core = OFF Msmq_Admin = OFF Msmq_SDK = OFF Msmq_Doc = OFF
 * MSMQ requires the Msmqinst.ini file

[iis] PathFTPRoot=C:\Inetpub\ftproot PathWWWRoot=C:\Inetpub\wwwroot PathPROGRoot=C:\program files
 * Each major component may have its own private data.
 * Path =c:\install\path

[mts_core] Path=&quot;D:\Program Files\Mts&quot;
 * USERID=&quot;Interactive User&quot;
 * PASSWORD=&quot;&quot;

[indexsrv]
 * CiCatalogPath=

[certsrv_client] sharedfolder = C:\Shared

[certsrv_server] name = my server name organization = my test org organizationalunit = my organizational unit locality = my locality State = my state country = US To create an attended installation of the Windows NT 4.0 Option Pack, use the following command line:

\setup.exe /u:

where path to the Windows NT Option Pack is the full path to the Setup.exe file for the Windows NT Option Pack; /u: instructs the Windows NT Option Pack to install in an unattended, or silent, mode; and path to setup text file is the full path information to the Setup text file that is necessary for the unattended installation.