Méthodes d'installation (5/6)
Sections et entrées respectives du fichier de réponse unattend.
Détails de la structure (partie 4)
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. |
| [OsChooser] | Section
réservée à l'installation à distance (RIS) [non couverte ici].
In general, the RIS administration tools
generate this entry. |
| [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 ER_Enable_Reporting ER_Include_EXE(n) ER_Include_MSApps Headlines RA_AllowToGetHelp RA_AllowUnsolicited |
| [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
HTTP_Proxy_Server Proxy_Enable |
| [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 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 |
| [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 |
| [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 SFCQuota |
| [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 |
Mis en ligne le 18 novembre 2001 / Dernière modification : 3-12-2001