Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2


Performs an installation of or upgrade to a product in the Windows Server 2003 family. If you have hardware that is compatible with a product in the Windows Server 2003 family, you can run winnt at a Windows 3.X or MS-DOS command prompt.


winnt [/s:SourcePath] [/t:TempDrive] [/u:AnswerFile][/udf:ID [,UDB_file]] [/r:Folder][/rx:Folder][/e:Command][/a]

  • /s:SourcePath
    Specifies the source location of the operating system files. The location must be a full path of the form X**:\**[Path] or **\\Server\Share[\**Path].
  • /t: TempDrive
    Directs Setup to place temporary files on the specified drive and to install the server operating system on that drive. If you do not specify a location, Setup attempts to locate a drive for you.
  • /u: AnswerFile
    Performs an unattended Setup using an answer file. The answer file provides answers to some or all of the prompts that the end user normally responds to during Setup. If you use /u, you must also use /s.
  • /udf: ID [,UDB_file]
    Indicates an identifier (ID) that Setup uses to specify how a Uniqueness Database (UDB) file modifies an answer file (see /u). The UDB overrides values in the answer file, and the identifier determines which values in the UDB file are used. If no UDB_file is specified, Setup prompts you to insert a disk that contains the $Unique$.udb file.
  • /r: Folder
    Specifies an optional folder to be installed. The folder remains after Setup finishes.
  • /rx: Folder
    Specifies an optional folder to be copied. The folder is deleted after Setup finishes.
  • /e: Command
    Specifies a command to be carried out just before the final phase of Setup.
  • /a
    Enables accessibility options.
  • /?
    Displays help at the command prompt.

Formatting legend

Format Meaning


Information that the user must supply


Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also


Command-line reference A-Z
Command shell overview