Let's first take a look at what parameters winnt32.exe can use.
winnt32.exe is located in the i386 directory. This file can be run directly under Windows. Its specific parameters are:
Install or upgrade to Windows XP. On a computer running Windows 95, Windows 98, Windows Me, Windows NT, Windows 2000, or Windows XP, you can run winnt32 from a command prompt.
Syntax:
winnt32 [/checkupgradeonly] [/cmd:command_line] [/cmdcons][/copydir:i386 older_name] [/copysource:folder_name] [/debug[level]:[ ,null,null,3],Filename]] [/dudisable] [/duprepare:pathname][/dushare:pathname] [/m:folder_name] [/makelocalsource] [/noreboot] [/s:sourcepath][/syspart:drive_letter][/tempdrive:drive_letter ] [/udf:id [,UDB_file]] [/unattend[num]:[answer_file]]
Parameters:
/checkupgradeonly
Checking your computer with Windows XP Upgrade compatibility. If /unattend is used when using this option, no user input is required. Otherwise, the results will be displayed on the screen and they can be saved with the file name you specify. The default file name is Upgrade.txt (located in the
systemroot folder).
/cmd:command_line
Instructs the installer to run a special command before performing the final stage of installation. This will happen after the computer is rebooted twice and the "installer" has collected the necessary configuration information and before the "installer" end.
/cmdcons
Install the Recovery Console as a startup option on a running computer. The Recovery Console is a command-line interface that you can use to perform tasks such as starting and stopping services and accessing local drives, including NTFS-formatted drives. The /cmdcons option is only available after a regular installation.
/copydir:i386 older_name
Create another folder in the folder where Windows XP files are installed. A folder name is a folder that you create to save changes made to your site. For example, you can create a folder called Private_drivers in the i386 source folder of the installer to hold the driver files. You can then type /copydir:i386Private_drivers to have the installer copy the folder to the new
installation and create a new folder location, systemrootPrivate_drivers. You can also create as many other folders as you want with the /copydir command.
/copysource:folder_name
Create a temporary folder in the folder where Windows XP files are installed. A folder name is a folder that you create to save changes made to your site. For example, you can create a folder called Private_drivers in the source folder of the installer to hold the driver files. You can then type /copysource:Private_drivers to have the installer copy the folder to the newly installed machine and use its files during installation to establish the temporary folder location systemrootPrivate_drivers. You can also create as many other folders as you want with the /copysource command. Unlike the folder created by /copydir, the folder created by /copysource is deleted after the installation is complete.
/debug[level]:[filename] creates a debug log at the specified level, for example, /debug4:Debug.log. The default log file is
C:systemrootWinnt32.log and the default debug level is 2. The log levels are as follows: 0 -- Critical error, 1 -- Error, 2 -- Warning, 3 -- Notification, 4 -- Details for debugging. Each level includes some sub-levels below it.
/dudisable
Disable “Dynamic Updates”. There is no "dynamic update", the installer can only run under the initial setup file. Even if you use an answer file and specify the "dynamic update" option in the file, this option will still disable "dynamic updates".
/dushare:pathname
Specify the directory of the "Dynamic Updates" file (updated files used during installation) that was previously downloaded from the Windows Update Web site as a share. When running from the installation share and using /duprepare, this option performs the preparation so that the updated files are available for use in a network-based client installation. If you do not use
/duprepare and run on the client, the specified client installation will use the update file located at the shared location specified by pathname.
/duprepare
Prepare for installation sharing so that it can be used by the "Dynamic Updates" file downloaded from the Windows Update website. This share can then be used for Windows XP installations of multiple clients. Can only be used with /dushare.
/m:folder_name
Specify “Installer Copy duplicate files from alternate locations. The guide "Installer" is first viewed in an alternate location, and if there are files displayed, these files should be used instead of the files in the default location.
/makelocalsource
Instructs the installer to copy all installation source files to your local hard drive. When installing from a CD, use /makelocalsource to provide an installation file for your computer without a CD in the future.
/noreboot
Directive "Installer" does not restart the computer after the end of the file copy phase, so you can execute another command.
/s:sourcepath
Specifies the source location of Windows XP files. To copy files from multiple servers at the same time, type the
/s:sourcepath option multiple times (up to eight times). If you enter multiple options, the first server specified must be available, otherwise “installer” fails.
/syspart:drive_letter
Indicates that you can copy the installation boot file to a hard disk, mark the hard disk as active, and then mount the disk to another computer. When the computer is started, it will automatically start the next phase of the installation. However, you must always use both the /tempdrive parameter and the /syspart parameter. On computers running Windows NT 4.0, Windows 2000, or Windows XP, you can use the /syspart option to start Winnt32. This option is not available on computers running Windows 95, Windows 98, or Windows Me.
/tempdrive:drive_letter
Directs the installer to place temporary files in the specified section. For a fresh installation, you can install Windows XP on the specified partition. For an upgrade installation, the /tempdrive option only affects the location of temporary files, while the upgrade of the operating system takes place in a partition running winnt32.
/udf:id [,UDB_file]
Indicates how the installer specifies the “unique database" (UDB) file to modify the identifier (id) of the answer file (see /Unattend item). The UDF overwrites some of the values in the answer file, and the identifier determines which values in the UDF are used. For example,
/udf:RAS_user,Our_company.udb overrides some of the settings specified in the Our_company.udb file for the RAS_user identifier. If UDF_file is not specified, the installer prompts the user to insert a disk containing the Unique.udb file.
/unattend
Upgrade Windows 98 or previous versions of Windows Me in an unattended installation mode. Because all user settings are available from the previous installation, no user intervention is required during the installation process.
/unattend[num]:[answer_file]
Perform a clean installation in unattended installation mode. The answer file you specified provides your setup information for the setup. Num is the number of seconds between the time the installer finishes copying these files and restarting the computer. The num option is available on any computer running Windows 98, Windows Me, Windows NT, Windows 2000, or Windows XP. If you use the /unattend command line option to automate the installer, you have read and accepted the Microsoft license agreement for Windows XP. Before installing Windows XP on behalf of an organization rather than yourself using this command line option, you must confirm that the end user (whether an individual or a single entity) has received, read, and accepted the terms of the Microsoft License Agreement for Windows XP. OEMs may not specify this value on machines that are sold to end users.
Although the above method for prohibiting Windows 98 from running programs automatically is given, t
When it comes to replacing the Windows boot screen, many friends will not find a tool such as eXeSco
The xp system really does not have a moment to stop, just stopped, now the problem has appeared, ope
The printer is an indispensable office equipment in our daily work, and its importance is getting hi
Process Management Helper Starter helps you find system faults
What should I do if the WinXP computer desktop icon cannot be opened?
Teach you how to find self-starting program skills
Delete duplicate files Save a lot of disk space
The method of letting the DOS program run under the xp system
Windows XP Program Compatibility Wizard feature
How to ensure the security of Windows XP system before going online
Modify the registry to retrieve the empty files in the recycle bin
Practical tips for Windows comes with Notepad (1)
Scanner driver installation problem under Windows XP
Windows10 is free to save the phone's god logic
Win7 sound settings, work and entertainment without interruption
Assassin's Creed 2 Chapter 12 The Story Task Process Raiders
How does the Linux system distinguish between gmtime and localtime
How to uninstall software win7