What switches are available for Windows 2000 installation?

A. Some of the switches have changed for WINNT32.EXE in Windows 2000 to make them more understandable and they are outlined below:

/s:<source path> Source location for the Windows 2000 files
/tempdrive:<drive letter> The drive used for any temporary files
/unattended Upgrades in unattended mode if no answer file specified. If an answer file is used a new installation is installed.
/unattended<seconds to wait before rebooting>:<name of answerfile>
/copydir:<folder name> Creates an additional folder under %systemroot% with the name specified
/copysource:<folder name> Creates a temporary additional 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> Runs the specified command after the second reboot but before setup is complete
Creates a debug file in %windir%. By default winnt32.log is created at level 2 but the other options are
0 - Severe errors
1 - Errors
2 - Warnings
3 - Information
4 - Detailed information for debugging
/udf:<id>\[,<UDB>\] Uses to specify unique information. If no UDB file is named the user will have to insert a disk with file $Unique$.udb on it.
/syspart This copies the setup startup files to the hard disk, marks the disk as active and then allows you to move the disk to another computer. When the computer is then turned on it will start at the next phase of installation. Use /tempdrive switch as well. /syspart cannot be used if upgrading from Windows 9x.
/checkupgradeonly Used to check your machine for any upgrade issues in advance
/cmdcons Installs the recovery console
/m:<folder> Copy replacement files from this alternate location first and if not found then use the normal location
/makelocalsource Makes setup copy all installation source to the local hard disk. Useful if installing from CD and don't wish to use the CD for any further component installations on the machine.
/noreboot This will stop the automatic reboot after the file copy stage of setup

WINNT.EXE is useful for installing from a DOS client or boot disk and full help can be found with winnt /?

C:\&gt;<b>winnt.exe /?</b><br>
Sets up Windows 2000 Server or Windows 2000 Professional.<br><br><br>
WINNT \[/s\[:sourcepath\]\] \[/t\[:tempdrive\]\]<br>
      \[/u\[:answer file\]\] \[/udf:id\[,UDF_file\]\]<br>
      \[/r:folder\] \[/r\[x\]:folder\] \[/e:command\] \[/a\]<br><br><br>
   Specifies the source location of the Windows 2000 files.<br>
   The location must be a full path of the form x:\[path\] or<br>
   Directs Setup to place temporary files on the specified<br>
   drive and to install Windows 2000 on that drive. If you do<br>
   do not specify a location, Setup attempts to locate a drive<br>
   for you.<br><br>
/u\[:answer file\]<br>
   Performs an unattended Setup using an answer file (requires<br>
   /s). The answer file provides answers to some or all of the<br>
   prompts that the end user normally responds to during Setup.<br><br>
   Indicates an identifier (id) that Setup uses to specify how<br>
   a Uniqueness Database File (UDF) modifies an answer file<br>
   (see /u).The /udf parameter overrides values in the answer<br>
   file, and the identifier determines which values in the UDF<br>
   file are used. If no UDF_file is specified, Setup prompts<br>
   you to insert a disk that contains the $Unique$.udb file.<br><br>
   Specifies an optional folder to be installed. The folder<br>
   remains after Setup finishes.<br><br>
   Specifies an optional folder to be copied. The folder is<br>
   deleted after Setup finishes.<br><br>
/e Specifies a command to be executed at the end of GUI-mode Setup.<br><br>
/a Enables accessibility options.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.