inform.gif (70 octets) Méthodes d'installation (5/6)

Sections et entrées respectives du fichier de réponse unattend.

Détails de la structure (partie 4)

Introduction partie 1 partie 2 partie 3 partie 4 partie 5

Certaines entrées et sections sont communes à la famille Windows XP et 2000, d'autres sont limitées à la famille Windows 2000 Serveur.

SECTIONS ENTREES
[OEMBootFiles] Section spécifique à la pré-installation OEM (non couverte ici)

This entry is valid only if OemPreinstall = Yes and the files listed here have been placed in the \$OEM$\Textmode folder of the OEM’s distribution share point.

This section is necessary if you are using ComputerType in either the [Unattended] or [MassStorageDrivers] sections of Unattend.txt.

HAL_file_name
Maps to a hardware abstraction layer (HAL) description that has been defined by the ComputerType entry in the [Unattended] section of the Unattend.txt file.

SCSI_driver_file_name
Maps to a mass-storage device driver description defined in the [MassStorageDrivers] section of the Unattend.txt file. There can be multiple instances of SCSI_driver_file_name listed in the [OEMBootFiles] section.

TxtSetup.oem
This file contains descriptions of all the OEM-supplied drivers listed in this section and includes instructions on how to install them. This file must exist if the Unattend.txt file contains an [OEMBootFiles] section.

If your mass-storage device is a Plug and Play device, verify that a Hardware Identification section and a reference to the catalog file for the driver (<Driver>.cat) exist in the Txtsetup.oem file.

If the Hardware Identification section does not exist, you must add [HardwareIds.scsi.yyyyy] to the Txtsetup.oem file and verify that the following information is included:

id = "xxxxx", "yyyyy"

where xxxxx represents the device ID, and yyyyy represents the service associated with the device.

For more information about Txtsetup.oem, see the Microsoft Windows Driver Development Kit at:
http://www.microsoft.com/ddk/

 

[OsChooser] Section réservée à l'installation à distance (RIS) [non couverte ici].

In general, the RIS administration tools generate this entry.

Description
Value: string

Specifies the description of the operating system image. This text appears on the client computer within the Client Installation Wizard (CIW).

Help
Value: string

When end users select the operating system description within the CIW, the Help topic is displayed. The Help topic provides a more detailed formal description of the operating system image.

ImageType
Value: Flat | Sysprep

Specifies the type of operating system image. RIS supports either a flat CD-ROM-based image or a Sysprep image created using the Remote Installer Preparation (RIPrep) wizard.

Flat
Supports a flat CD-ROM-based image.
Sysprep
Supports a Sysprep image created using the RIPrep wizard.
LaunchFile
Value: path_and_file_name

Specifies the file to be executed when the end user selects an operating system image from within the CIW. This path is automatically defined when using RIS to install an operating system on a client computer from within the CIW. Use this option to execute preboot maintenance and troubleshooting tools for use with RIS. LaunchFile accepts either a literal path or a relative path to the executable file.

Literal Path:

Setup\English\Tools\VendorName\i386\Vendortool.bin
Relative Path:

%Installpath%\%MachineType%\Vendortool.bin
Version
Value: string

Specifies the version of the operating system or tool being executed when the end user selects an image from within the CIW.

[PCHealth] Section utilisée pour paramétrer les rapports d'erreur, l'assistance à distance et l'aide et support.

Display
Value: 0 | 1
Default: 1
Registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
PCHealth\HelpCtr\SAF\Channels\Microsoft\Display

Spécifie la présence ou non de l'aide assistée dans Aide et Support. Les OEM ne doivent pas mettre cette valeur sur 1.

ER_Display_UI
Value: 0 | 1
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\ShowUI

Spécifie si l'utilisateur reçoit un message l'informant d'une erreur et lui donnant l'accès aux détails de l'erreur. Si ER_Enable_Reporting est activé, l'utilisateur pourra aussi envoyer un rapport. Si ER_Enable_Reporting est désactivé mais pas ER_Display_UI , aucun rapport ne pourra être émis. Dans le cas inverse, le rapport est automatiquement envoyé, mais l'utilisateur n'est pas prévenu de l'existence de l'erreur. c'est ce que l'on choisira de faire sur un serveur ou une machine sans utilisateur.

ER_Enable_Applications
Value: All | Listed | None
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\AllOrNone

Indique si les erreurs des applications font l'objet d'un rapport.
All
Toutes les erreurs des applications sont relevées sauf pour les applications énumérées dans ER_Exclude_EXE(n).
Listed
Erreurs seulement relevées pour les applications énumérées dans ER_Include_EXE(n) et les applications MS si ER_Include_MSapps est activé.
None
Aucune erreur relevée.

ER_Enable_Kernel_Errors
Value: 0 | 1
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\IncludeKernelFaults

Emission de rapport ou non pur les erreur du Kernel.

ER_Enable_Reporting
Value: 0 | 1
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\DoReport

Spécifie si le rapport d'erreur est automatique ou non.

ER_Enable_Windows_Components
Value: 0 | 1
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\IncludeWindowsApps

Rapports d'erreurs pour les applications MS composant Windows.

ER_Exclude_EXE(n)
Value: executable_filename
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\ExclusionList

On spécifie l'application pour laquelle aucun rapport n'est généré.

ER_Exclude_EXE1 = notepad.exe
ER_Exclude_EXE2 = explorer.exe
ER_Exclude_EXE3 = iexplore.exe

ER_Include_EXE(n)
Value: executable_filename
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\InclusionList

Spécifie si l'on inclus le nom de l'application dans le rapport.

ER_Include_EXE1 = notepad.exe
ER_Include_EXE2 = explorer.exe
ER_Include_EXE3 = iexplore.exe

ER_Include_MSApps
Value: 0 | 1
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\IncludeMicrosoftApps

Spécifie si les applications Microsoft sont suivie et font l'objet d'un rapport.

ER_Report_Path
Value: local_or_UNC_path
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\
PCHealth\ErrorReporting\InclusionList

Indication du chemin de stockage des rapport.

local_or_UNC_path
En l'absence d'entrée, les rapports sont envoyés à Microsoft.

Headlines
Value: 0 | 1
Default: 1
Registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
PCHealth\HelpSvc\Headlines

Spécifie si les titres actifs sont affichés dans l'aide (nécessite une connexion).

RA_AllowFullControl
Value: 0 | 1
Default: 1
Registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\TerminalServer\fAllowFullControl

Spécifie si une personne tierce peut prendre le contrôle du PC à partir d'un autre lieu. L'assistant peut demander l'autorisation à l'utilisateur qui eut accepter ou refuser la prise de contrôle. Valide seulement si RA_AllowToGetHelp est sur 1, sinon ignoré.

RA_AllowToGetHelp
Value: 0 | 1
Default: 1
Registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\TerminalServer\fAllowToGetHelp

Voir ci-dessus, mais cette fois le contrôle est plus poussé.

RA_AllowUnsolicited
Value: 0 | 1
Default: 0
Registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\TerminalServer\fAllowUnsolicited

Autorise la prise à distance décidée par un administrateur du réseau, même s'il n'y est pas invité.
 
RA_MaxTicketExpiry
Value: time_in_seconds
Default: 2,592,000 seconds (30 days)
Registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\TerminalServer\fMaxTicketExpiry

Temps d'expiration de l'invitation en secondes.

[params.adapter instance] Spécificités d'une config matérielle réseau.

To create an unattended answer file for identical computers with the same hardware configurations, including the same type of network adapters in the same PCI slots:

Install Windows on one of the computers.
View each network adapter’s properties on the General tab in Device Manager and make a note of the PCI location information.
This information (PCI Bus, Device, and Function numbers) is written in the Unattend.txt file specified later in this document.
The file is now ready to install the operating system on the other computers.
The PCI location information is composed of three entries: PCIBusNumber, PCIDeviceNumber, and PCIFunctionNumber. All of these entries must be used to ensure that the networking settings are applied based on the PCI location.

If only different adapters are on the computers (that is, the Plug and Play IDs are not the same), the answer file can use the explicit Plug and Play IDs of each adapter instead of PCI location information.

Adding devices after the operating system is installed can cause bus numbers to change. As a result, the Unattend.txt file might not work on other computers. If only different adapters are on the computers (that is, the Plug and Play IDs are not the same), the unattended file can use the explicit Plug and Play IDs of each adapter instead of the PCI location information.

ConnectionName
Value: "network_connection_name"

Specifies the name for the network connection associated with the network adapter to install. If this entry is not specified or its value is empty, the default connection name of "Local Area Connection" is used for the first enumerated network adapter and "Local Area Connection x" is used for subsequent adapters where x starts from 2.

ConnectionName = "Corporate Network"
DMA
Value: DMA_channel_number

Specifies the direct memory access (DMA) channel setting of a network adapter.

DMA = 1
DoNotDetectLegacyCards
Value: InfID[, InfID, …]

Specifies legacy (non-Plug and Play) adapters that Setup can ignore when trying to detect the network adapters on a computer. These cards are not detected and/or installed on the computer.

DoNotDetectLegacyCards = *PNP030b,*PNP8132
This entry does not prevent Plug and Play adapters from being enumerated and installed.

Important

The remaining entries in this section are optional and are only meaningful for non-Plug and Play adapters that require resources to be explicitly specified.
InfID
Value: PnP_ID_of_adapter

This entry uniquely identifies a network adapter. Its value is the same as the adapter’s Plug and Play ID.

If InfID = *, Setup matches the first enumerated/detected network adapter on the computer with the settings in this section. Therefore, on a computer with a single network card, you can specify adapter-specific entries without knowing the name or type of the network adapter.

InfID = *PNP030b
For computers with more than one network adapter, the correct Plug and Play ID of each adapter must be specified. For computers with multiple adapters of the same type (that is, the Plug and Play ID for each is the same), the NetCardAddress or PCI location information must be specified. If neither NetCardAddress nor PCI location is specified, only the first adapter enumerated/detected that matches the InfID receives the answer file entries.

If NetCardAddress or PCI location is specified, this entry is not used because it is the least specific entry that can be provided.

IOAddr
Value: numeric_IO_address

Specifies the IO address (hexadecimal number) of a network adapter.

IOAddr = 330
IRQ
Value: IRQ_number

Specifies the interrupt number setting of a network adapter.

IRQ = 5
MEM
Value: memory_range

Specifies the memory base address setting of a network adapter.

MEM = 0xC123456
NetCardAddress
Value: network_card_MAC_address

Specifies the media access control address for the network adapter being configured during unattended Setup. This entry is required when installing multiple network cards of the same type (with the same Plug and Play ID) on a computer and nondefault entries need to be applied to the adapters.

NetCardAddress = 0x123456789AB
This entry is not required for PCI adapters if the PCI location information is specified.

PCIBusNumber
Value: PCI_bus_number_of_adapter

Indicates the PCI bus on which the network card resides. This entry is one of the three entries that are required to specify the PCI location information. PCIDeviceNumber and PCIFunctionNumber must also be specified.

These PCI location entries are required if:

NetCardAddress is not specified.
Multiple network cards of the same type (with the same Plug and Play ID) are installed on a computer.
Nondefault entries need to be applied to the adapter.
PCIBusNumber = 0
PCIDeviceNumber = 11
PCIFunctionNumber = 0
If NetCardAddress is specified, the PCIBusNumber, PCIDeviceNumber, and PCIFunctionNumber entries are not used, because NetCardAddress provides more specific information than the PCI location information.

PCIDeviceNumber
Value: PCI_device_number_of_adapter

Indicates the PCI device number for the network card and approximately relates to the particular slot number in which the network card resides on the given PCI bus. This entry is one of the three entries that are required to specify the PCI location information. PCIBusNumber and PCIFunctionNumber must also be specified.

These PCI location entries are required if:

NetCardAddress is not specified.
Multiple network cards of the same type (with the same Plug and Play ID) are installed on a computer.
Nondefault entries need to be applied to the adapter.
PCIBusNumber = 0
PCIDeviceNumber = 11
PCIFunctionNumber = 0
If NetCardAddress is specified, the PCIBusNumber, PCIDeviceNumber, and PCIFunctionNumber entries are not used, because NetCardAddress provides more specific information than the PCI location information.

PCIFunctionNumber
Value: PCI_function_number_of_adapter

Defines which function on the card provides the networking function; for example, if there is a combination modem/network card. The function number begins with 0. This entry is one of the three entries that are required to specify the PCI location information for the network adapter being configured during unattended Setup. PCIBusNumber and PCIDeviceNumber must also be specified.

These PCI location entries are required if:

NetCardAddress is not specified.
Multiple network cards of the same type (with the same Plug and Play ID) are installed on a computer.
Nondefault entries need to be applied to the adapter.
PCIBusNumber = 0
PCIDeviceNumber = 11
PCIFunctionNumber = 0
If NetCardAddress is specified, the PCIBusNumber, PCIDeviceNumber, and PCIFunctionNumber entries are not used, because NetCardAddress provides more specific information than the PCI location information.
[protocol parameters section]
 
Paramètres du protocole indiqué dans l'entrée du protocole dans la section [NetProtocols].

AdapterSections
Value: section name[,section name, ...]

Liste les sections qui contiennent les paramètres spécifiques à l'adaptateur et au protocole.
AdapterSections = params.TCPIP.Adapter1, params.TCPIP.Adapter2
Voir SpecificTo.
[Proxy] Paramètres proxy.
Pour que les paramètres soient pris en compte il faut inclure la section [Branding] et l'entrée BrandIEUsingUnattended :
[Branding]
BrandIEUsingUnattended = Yes
Dans la section [Unattended], si AutoActivate est sur Yes et ActivateProxy est le Proxy, l'Activation tachera d'activer XP en passant par les paramètres Proxy spécifiés ici.
Si les paramètres ActivateProxy ont une autre valeur que Proxy, WPA uutilisera les paramètres spécifiés dans la section [section_name]. Ces entrées doivent correspondrent à la syntaxe de celles de la section [Proxy].

FTP_Proxy_Server
Value: URL_or_IP_address
Adresse IP ou URL du Proxy FTP.
FTP_Proxy_Server = http://proxyserver:80


Gopher_Proxy_Server
Value: URL_or_IP_address
Adresse IP ou URL du Proxy Gopher.
Gopher_Proxy_Server = http://proxyserver:80

HTTP_Proxy_Server
Value: URL_or_IP_address
Adresse IP ou URL du Proxy HTTP. Pararamètre requis si on utilise Use_Same_Proxy.
HTTP_Proxy_Server = http://proxyserver:80

Proxy_Enable
Value: 0 | 1
Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Internet Settings\ProxyEnable

On indique si on utilise un proxy pour se connecter ou non.

Proxy_Override
Value: list_of_IP_addresses

Registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Internet Settings\ProxyOverride

Listre d'adresses IP séparées par un point virgule pour contourner le proxy.

Proxy_Override = local
Secure_Proxy_Server
Value: URL_or_IP_address
Adresse IP ou URL du Proxy FTP de sécurité.

Secure_Proxy_Server = http://proxyserver:80
Socks_Proxy_Server
Value: URL_or_IP_address
Adresse IP ou URL du Proxy Socks.

Socks_Proxy_Server = http://proxyserver:80
Use_Same_Proxy
Value: 0 | 1
Indique si le même proxy est utilisé pour tous les protocoles.

[RegionalSettings] Si l'on utilise les paramètres régionaux [RegionalSettings] il faudra utiliser le commutateur /copysource:lang dans la ligne de commande de Winnt32.exe afin que l'installation copie les fichiers de langues sur le disque dur. Le dossier source du CD est I386\LANG et les fichiers sont copiés dans le dossier \%windir%\Lang.

[voir les développements en anglais sur la partie sysprep et OEM]

InputLocale_DefaultUser
Value: locale_ID:keyboard_layout_ID

Langue et clavier. Doit correspondre à l'une des langues spécifiée dans l'entrée LanguageGroup, ou à la langue par défaut de WIndows. Le clavier doit être défini dans l'entrée KeyboardLayout de la section [Unattended].

Voir les combinaisons possibles sur http://www.microsoft.com/globaldev/

[RemoteInstall] Réservée aux postes clients installés via le service d'installation à distance (RIS).

Repartition
Value: Yes | No
Specifies whether to delete all partitions on the first drive on the client computer and reformat it with the NTFS file system.
You cannot run unattended Setup on a disk that does not contain a file system. Make sure that your destination disk is formatted with a file system.
Yes
Delete all partitions on the first drive on the client computer and reformat it with the NTFS file system.
No
Use the default entries in the answer file.
UseWholeDisk
Value: Yes | No
Default: Yes
Valid only for RIPrep (Remote Installer Preparation) images.
Yes
Extends the volume to the end of the drive.
No
Stops Setup from extending the volume to the end of the drive.

[Shell] CustomDefaultThemeFile
Value: path_and_file_name
Default: none
Chemin complet vers le fichier de thème à utiliser.

DefaultStartPanelOff
Value: Yes | No
Default: No
Menu Démarrer classique, affichage des icônes sur le Bureau.

DefaultThemesOff
Value: Yes | No
Default: No
Style visuel classique de Windows. Du coup, le CustomDefaultThemeFile sera ignoré.
[SNMP] Accept_CommunityName
Value: community_name:privilege, ...
Default: public:Read_Only

Noms de communauté auxquels le PC faisant tourner le service SNMP accepte un point d'entrée. Chaque communauté doit avoir un privilège associé. Les privilèges valides sont: None, Notify, Read_Only, Read_Write, et Read_Create.

Si aucun privilège n'est assigné au nom de communauté, la valeur par défautRead_Only (lecture seule) est appliquée.

Any_Host
Value: Yes | No
Spécifie si le PC de gestion (celui qui fait tourner SNMP) accepte les packets de tout hôte.

Community_Name
Value: community_name
Nom de communauté pour le PC.

Contact_Name
Value: name
Spécifie le nom du contact sur ce segment et les moyens d'autres coordonnées.

Limit_Host
Value: host_name[, host_name][, host_name]
Limite maximale de trois hôtes, ignorée si la valeur de Any_Host est No.

Location
Location
Value: location
Localisation physique du PC.

Send_Authentication
Send_Authentication
Value: Yes | No
Nécissité ou pas d'une demande d'authentification pour les demandes émanant d'une communauté ou d'un hôte non autorisés.

Service
Value: Physical, Applications, Datalink, Internet, End-to-End
Default: Applications, Internet, End-to-End
Toute combinaison de ces cinq services SNMP peut être spécifiée .

Traps
Value: IP addresses | IPX addresses
Specifies a maximum of three Internet Protocol (IP) or Internetwork Packet Exchange (IPX) addresses to which traps are sent.
For the values specified in the Traps entry to take effect, a valid value must be specified in the Community_Name entry.

[SystemFileProtection] Fonction nouvelle de Windows XP qui remplace SFC (System File Protection) afin de prévenir le remplacement de fichiers système. Il s'agit par défaut des fichiers *.sys, *.dll, *.exe, et *.ocx  et des polices Micros.ttf, Tahoma.ttf, et Tahomabd.ttf.
 
S'il détecte une altération du fichier original, WFP va chercher à remplacer ce fichier par l'original dans :

le dossier Dllcache
le répertoire d'installation réseau
le CD d'installation.
Les entrées suivantes définissent des paramètres utilisés par WFP. Si ces entrées sont vides, les paramètres par défaut sont utilisés.

SFCDllCacheDir
Value: location of Dllcache folder
Default: %systemroot%\%windir%\System32\Dllcache
Dossier utilisé par WFP pour la mise en cache des fichiers protégés (dossier \Dllcache). Seul un chemin local est accepté.
SFCDllCacheDir = %systemroot%\Windows\System32\Dllcache
Indiquez le chemin entre guillemets.

SFCShowProgress
Value: 0 | 1
Default: 0
Affichage ou non d'une barre de progression durant le scan.

SFCQuota
Value: size in MB (hexadecimal)
Default: 0xFFFFFFFF
Spécifie la taille du cache. Si 0xFFFFFFFF est spécifié, tous les fichiers système sont dans le cache.
SFCQuota = FFFFFFFF

[SystemRestore] CheckpointCalendarFrequency
Value: days
Registry entry: HKEY_LM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
SystemRestore\RPGlobalInterval
Default: 1
days
Fréquence à laquelle les poins de vérification ou de restauration sont faits.
Exprimé en jour ici et converti en secondes automatiquement dans la base de registre.

CheckpointSessionFrequency
Value: hours
Registry entry: HKEY_LM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
SystemRestore\RPSessionInterval
Default: 10
hours
Durée de la fréquence après laquelle un point de restauration est automatiquement créé.
Le point de départ du calcul est le point de restauration précédent.

MaximumDataStorePercentOfDisk
Value: disk_percentage
Registry entry: HKEY_LM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
SystemRestore\DiskPercent
Default: 12
Pourcentage du disque dur affecté au fichier de restauration.
Si cette taille est minime, les points peuvent disparaître avant leur échéance.

RestorePointLife
Value: days
Registry entry: HKEY_LM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
SystemRestore\RPLifeInterval
Default: 30
Age maximal en jour d'un point de restauration avant sa purge automatique.

[suite, partie 5 -->]


Mis en ligne le 18 novembre 2001 / Dernière modification : 3-12-2001