Home > Commands N-Z > Commands W


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Sets up or upgrades Windows 2000 Server or Windows 2000 Professional. You can run the winnt32 command at a Windows 95, Windows 98, or Windows NT command prompt.


WINNT32 [/cmd:command_line] [/copydir:folder_name] [/copysource:folder_name] [/debug[level]:[filename]] [/checkupgradeonly] [/cmdcons] [/dudisable] [/duprepare:path_name] [/dushare:path_name] [/m:folder_name] [/makelocalsource] [/noreboot] [/s:sourcepath] [[/tempdrive:drive_letter] [/syspart:drive_letter]] [[/unattend[num]:[answer_file]] [/udf:id[,UDF_file]]]



/checkupgradeonly (NT2000)
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.
/cmd:command_line (NT2000)
Instructs Setup to carry out a specific command before the final phase of Setup. This would occur after your computer has restarted twice and after Setup has collected the necessary configuration information, but before Setup is complete.
/cmdcons (NT2000)
Adds to the operating system selection screen a Recovery Console option for repairing a failed installation. It is only used post-Setup.
/copydir:folder_name (NT2000)
Creates an 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 /copydir:Private_drivers to have Setup copy that folder to your installed Windows 2000 folder, making the new folder location C:\Winnt\Private_drivers. You can use /copydir to create as many additional folders as you want.
/copysource:folder_name (NT2000)
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, making the temporary folder location C:\Winnt\Private_drivers. Unlike the folders /copydir creates, /copysource folders are deleted after Setup completes.
/debug[level]:[filename] (NT2000)
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: Each level includes the levels below it.
/dudisable (NTXP)
Prevents Dynamic Update from running. Without Dynamic Update, Setup runs only with the original Setup files. This option will disable Dynamic Update even if you use an answer file and specify Dynamic Update options in that file.
/duprepare:[path_name] (NTXP)
Carries out preparations on an installation share so that it can be used with Dynamic Update files that you downloaded from the Windows Update Web site. This share can then be used for installing Windows XP for multiple clients.
/dushare:[path_name] (NTXP)
Specifies a share on which you previously downloaded Dynamic Update files (updated files for use with Setup) from the Windows Update Web site, and on which you previously ran /duprepare:pathname. When run on a client, specifies that the client installation will make use of the updated files on the share specified in path_name.
/m:folder_name (NT2000)
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 (NT2000)
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 (NT2000)
Instructs Setup to not restart the computer after the file copy phase of winnt32 is completed so that you can execute another command.
/s:sourcepath (NT2000)
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 will fail.
/syspart:drive_letter (NT2000)
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 switch with the /syspart switch.
/tempdrive:drive_letter (NT2000)
Directs Setup to place temporary files on the specified partition and to install Windows 2000 on that partition.
/udf:id[,UDB_file] (NT2000)
Indicates an identifier (id) that Setup uses to specify how a Uniqueness Database (UDB) file modifies an answer file (see the /unattend entry). This switch overrides values in the answer file, and the identifier determines which values in the UDB file 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 UDB_file is specified, Setup prompts the user to insert a disk that contains the $Unique$.udb file.
/unattend (NT2000)
Upgrades your previous version of Windows 2000, Windows NT 4.0, Windows 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] (NT2000)
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.









Windows NT
NT2000 NTXP NT2003