Updated: March 28, 2003
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
You can perform automated post-installation tasks two ways: you can use a Cmdlines.txt file to run commands, programs, scripts, or batch files just after Setup finishes but before the computer restarts, or you can configure the [GuiRunOnce] section in an answer file to run commands, programs, scripts, and batch files after the computer restarts and a user logs on. Use the following guidelines to determine which method to use.
Use Cmdlines.txt when:
Use [GuiRunOnce] when:
Important
For information about configuring Cmdlines.txt and [GuiRunOnce] to run programs, scripts, and batch files, see "Configuring Cmdlines.txt to Perform Tasks" and "Configuring [GuiRunOnce] to Perform Tasks" later in this chapter.