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

ID: Q216518


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


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.


Additional query words: Unattended Setup

Keywords : kbsetup kbOPK kbSBK
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.