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



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional

This article was previously published under Q216518

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.

Modification Type:MajorLast Reviewed:11/13/2003
Keywords:kbinfo kbSBK kbsetup KB216518