The
winnt.exe
and
winnt32.exe
commands support several switches in addition to the temporary drive
option explained in the previous topic. These switches enable you to
specify the source location for the Windows 2000 files, specify an
answer file for unattended installation, specify commands to execute
at completion of Setup, and more. The following is the syntax for
winnt.exe
, and Table 1-1
lists the command switches for winnt.exe
:
winnt [/s[:sourcepath
]] [/t[:tempdrive
]] [/u[:answer_file
]] [ic:ccc][/udf:id[,UDF_file
]] [/r:folder
] [/rx:folder
] [/e:command
] [/a]
Table 1-1. winnt.exe command switches
Option |
Function |
---|---|
|
Location of Windows 2000 source files; must be full local or UNC pathname. |
|
Location for temporary Setup files and installation partition. |
|
Perform unattended Setup using specified answer file; requires
|
|
Specify unique ID and use Unique Database File (UDF) to modify answer file for unattended Setup. ID determines which answers in UDF file are used. |
|
Create optional folder that remains after installation; specify folder name as folder. |
|
Copy folder during Setup but delete after installation. |
|
Specify command to be executed after GUI-mode Setup completes. |
|
Enable accessibility options. |
The following is the syntax for winnt32.exe
, and
Table 1-2 lists the command switches for
winnt32.exe
:
winnt32 [/s:sourcepath
] [/tempdrive:drive_letter
] [ic:ccc][/unattend[num
]:[answer
_file
]] [/copydir:folder
_name
] [ic:ccc][/copysource:folder
_name
] [/cmd:command
_line
] [ic:ccc][/debug[level
]:[filename
]] [/udf:id[,UDF
_file
]] [ic:ccc][/syspart:drive
_letter
] [/checkupgradeonly] [/cmdcons] [ic:ccc][/m:folder
_name
] [/makelocalsource] [/noreboot]
Table 1-2. winnt32.exe command switches
Option |
Function |
---|---|
|
Location of Windows 2000 source files; you can specify multiple
sources with multiple |
|
Location for temporary Setup files and Windows 2000 installation partition. |
|
Upgrade previous version of Windows 2000 in unattended Setup mode; implies acceptance of the End User License Agreement. |
|
Fresh install in unattended mode; |
|
Copy optional folder specified by folder to the system root folder during Setup; use multiple switches to copy multiple folders. Folder(s) remain after Setup completes. |
|
Copy optional folder specified by folder to the system root folder during Setup; use multiple switches to copy multiple folders. Folder(s) deleted after Setup completes. |
|
Execute specified command after Setup but before final system restart. |
|
Log information to specified file; levels are 1 (errors), 2 (warnings), 3 (information), and 4 (detailed). |
|
Specify unique ID and use Unique Database File (UDF) to modify answer file for unattended Setup. ID determines which answers in UDF file are used. |
|
Copy Setup startup files to drive, mark drive active for install in
another computer, which continues Setup on boot. Requires
|
|
Analyze system for upgrade compatibility but don’t install;
creates |
|
Install Recovery Console during Setup. |
|
Copy files from specified folder (if it exists) rather than default source location. |
|
Copy all installation source files to local hard disk; for cases where CD is not available after Setup starts. |
|
Don’t restart system after final Setup phase. |
Get Windows 2000 Quick Fixes now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.