Microsoft KB Archive/216518

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

Article ID: 216518

Article Last Modified on 2/25/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



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:
 * Winnt32.exe: /cmd:

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 =

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: kbinfo kbsbk kbsetup KB216518

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.