Article ID: 216518 - Last Review: February 25, 2007 - Revision: 3.2

Use of the [SetupParams] Section in an Unattended Answer File

This article was previously published under Q216518
Expand all | Collapse all

SUMMARY

You can use a command-line switch with Winnt32.exe or Winnt.exe to specify a command to run when Setup is finished. The command-line switches are:
  • Winnt.exe: /E:command
  • Winnt32.exe: /cmd:command
When you use one of these switches, you can specify a command to run when Setup finishes, but before the system settings are saved. You can type these commands directly to start Setup, or you can place the command in an unattended Setup answer file.

MORE INFORMATION

To use one of the switches listed above in an unattended Setup answer file, add a [SetupParams] section to your answer file. The [SetupParams] section should have the following syntax:

[SetupParams]
UserExecute = path to command or executable
The following restrictions apply:
  • You can enter only one command. If more than one "UserExecute" line exists, the first line is run and the rest are ignored.
  • If the command or executable is not located in the %SystemRoot% folder or search path, the full path must be specified.

APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbinfo kbsbk kbsetup KB216518
 

Article Translations