Verwijderd schreef op 15 augustus 2001 @ 11:05:
Running Setup in Unattended Setup Mode
By using an answer file, network administrators and experienced users can perform a new installation in unattended Setup mode. In unattended Setup mode, no user intervention is required during Setup because the answer file contains all of the information that Setup requires, including acceptance of the license agreement, computer name, and network adapter. Answer files can help you quickly install Windows 2000 on multiple computers.
A sample answer file, Unattend.txt, is included in the I386 folder on the Windows 2000 Professional CD. Using the file as a template, you can create your own answer file to customize Setup. For detailed information about creating an answer file, see the information on deployment in the Windows 2000 Professional Resource Kit.
To run unattended Setup in Windows 95, Windows 98, Windows NT 3.51, or Windows NT 4.0, start Winnt32.exe by using either the /unattend[num]:[answer_file] option or the /unattend option.
For more information, see Winnt32.exe Command Syntax, earlier in this chapter.
----------------
Info is te vinden op:
http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/WINDOWS2000/en/server/help/starting_windows_2000_setup_from_the_network.htm
Winnt32.exe Command Syntax
Running Winnt32.exe installs or upgrades Windows 2000. You can run the Winnt32 command at a Windows 95, Windows 98, or Windows NT command prompt.
The syntax of the Winnt32 command is as follows:
winnt32 [/s:sourcepath] [/tempdrive:drive_letter]
[/unattend[num]:[answer_file]] [/copydir:folder_name]
[/copysource:folder_name] [/cmd:command_line]
[/debug[level]:[filename]] [/udf:id[,UDF_file]]
[/syspart:drive_letter] [/checkupgradeonly]
[/cmdcons] [/m:folder_name] [makelocalsource]
[/noreboot]
where:
/s:sourcepath
Specifies the source location of the Windows 2000 files. To simultaneously copy files from multiple servers, specify multiple /s sources. If you use multiple /s switches, the first specified server must be available or Setup fails.
/tempdrive:drive_letter
Directs Setup to place temporary files on the specified partition and to install Windows 2000 on that partition.
/unattend
Upgrades your previous version of Windows 2000, Windows NT 4.0, Windows NT 3.51, Windows 95, or Windows 98 in unattended Setup mode. All user settings are taken from the previous installation, so no user intervention is required during Setup. Using the /unattend switch to automate Setup affirms that you have read and accepted the Microsoft License Agreement for Windows 2000. Before using this switch to install Windows 2000 on behalf of an organization other than your own, you must confirm that the end user (whether an individual, or a single entity) has received, read and accepted the terms of the Windows 2000 Microsoft License Agreement. OEMs may not specify this key on machines being sold to end users.
/unattend[num]:[answer_file]
Performs a fresh installation in unattended Setup mode. The answer file provides Setup with your custom specifications. Num is the number of seconds between the time that Setup finishes copying the files and when it restarts your computer. You can use num on any computer running Windows NT or Windows 2000. Answer_file is the name of the answer file.
/copydir:folder_name
Creates an aPitional folder within the folder in which the Windows 2000 files are installed. For example, if the source folder contains a folder called Private_drivers that has modifications just for your site, you can type /copydir:Private_drivers to instruct Setup to copy that folder to your installed Windows 2000 folder. So then the new folder location would be C:\Winnt\Private_drivers. You can use /copydir to create as many aPitional folders as you want.
/copysource:folder_name
Creates a temporary aPitional folder within the folder in which the Windows 2000 files are installed. For example, if the source folder contains a folder called Private_drivers that has modifications just for your site, you can type /copysource:Private_drivers to have Setup copy that folder to your installed Windows 2000 folder and use its files during Setup. So then the temporary folder location would be C:\Winnt\Private_drivers. Unlike the folders /copydir creates, /copysource folders are deleted after Setup completes.
/cmd:command_line
Instructs Setup to carry out a specific command before the final phase of Setup. This occurs after your computer has restarted twice and after Setup has collected the necessary configuration information, but before Setup is complete.
/debug[level]:[filename]
Creates a debug log at the level specified, for example, /debug4:C:\Win2000.log. The default log file is C:\%windir%\Winnt32.log, with the debug level set to 2. The log levels are as follows: 0-severe errors, 1-errors, 2-warnings, 3-information, and 4-detailed information for debugging. Each level includes the levels below it.
/udf:id[,UDF_file]
Indicates an identifier (id) that Setup uses to specify how a Uniqueness Database File (UDF) modifies an answer file (see the /unattend entry). The UDF overrides values in the answer file, and the identifier determines which values in the UDF are used. For example, /udf:RAS_user,Our_company.udb overrides settings specified for the RAS_user identifier in the Our_company.udb file. If no UDF_file is specified, Setup prompts the user to insert a disk that contains the $Unique$.udb file.
/syspart:drive_letter
Specifies that you can copy Setup startup files to a hard disk, mark the disk as active, and then install the disk into another computer. When you start that computer, it automatically starts with the next phase of the Setup. You must always use the /tempdrive parameter with the /syspart parameter.
/checkupgradeonly
Checks your computer for upgrade compatibility with Windows 2000. For Windows 95 or Windows 98 upgrades, Setup creates a report named Upgrade.txt in the Windows installation folder. For Windows NT 3.51 or 4.0 upgrades, it saves the report to the Winnt32.log in the installation folder.
/cmdcons
APs to the operating system selection screen a Recovery Console option for repairing a failed installation. It is only used post-Setup.
/m:folder_name
Specifies that Setup copies replacement files from an alternate location. Instructs Setup to look in the alternate location first and if files are present, use them instead of the files from the default location.
/makelocalsource
Instructs Setup to copy all installation source files to your local hard disk. Use /makelocalsource when installing from a CD to provide installation files when the CD is not available later in the installation.
/noreboot
Instructs Setup to not restart the computer after the file copy phase of Winnt32 is completed so that you can execute another command.