You use the Winnt32.exe program to perform upgrades to existing installations of Windows NT or Windows 2000. You can modify an upgrade by changing how Winnt32.exe runs the Setup program. The following table describes the switches that you can use with Winnt32.exe to control Setup.

Switch Description
/copydir: folder_name Creates an additional folder within the systemroot folder (the folder that contains the Windows 2000 system files). For example, if your source folder contains a folder called My_drivers, type /copydir:My_drivers to copy the My_drivers folder to your systemroot folder. You can use the /copydir switch to create as many additional folders as you like.
/copysource: folder_name Creates an additional folder within the systemroot folder. Setup deletes files created with /copysource after installation completes.
/cmd: command_line Executes a command before the final phase of Setup.
/cmdcons Copies additional files to the hard disk that are necessary to load a command-line interface for repair and recovery purposes.
/debug[level] [:file_name] Creates a debug log at the specified level. By default, it creates C:\Winnt32.log at level 2 (the warning level).
/s:source_path Specifies the location of the Windows 2000 installation files. To simultaneously copy files from multiple paths, use a separate /s switch for each source path.
/syspart: drive_letter Copies Setup startup files to a hard disk, and marks the drive as active. You can then install the drive in another computer. When you start that computer, Setup starts at the next phase. Use of /syspart requires use of the /tempdrive switch.
/tempdrive: drive_letter Places temporary files on the specified drive, and installs Windows 2000 on that drive.
/unattend [number] [:answer_file] Performs an unattended installation. The answer file provides your custom specifications to Setup. If you do not specify an answer file, all user settings are taken from the previous installation.

During an upgrade, you can specify the number of seconds between the time that Setup finishes copying the files and when it restarts.

/udf:id [,udf_file] Indicates an identifier (id) that Setup uses to specify how a Uniqueness Database File (UDF) modifies an answer file. The .udf file overrides values in the answer file, and the identifier determines which values in the .udf file are used. For example, /udf:RAS_user,Our_company.udf overrides settings that are specified for the RAS_user identifier in the Our_company.udf file. If you do not specify a .udf file, Setup prompts the user to insert a disk that contains the $Unique$.udf file.