# Configure Initial Variables

This step is to assist in setting some initial variables that you'll want setup in your task sequence.  Note that many of these variables will be consumed by the Apply Operating System step, so this MUST be run before that. The Apply Operating System step will gather these variables along with others and populate the unattend.xml file. Also note that even if you set different languages here, if you do not include them in your install wim, you will have some interesting results.

Some settings will also be wiped out via the reseal process for autopilot like time zone.  Here is a list of a few of the variables you can set on this step for the task sequence environment:&#x20;

* Peering (Enable or Disable P2P during the Task Sequence)
* FinishAction (reboot, shudown, logoff, reseal (for Autopilot), nothing)
* ProgressTimeout (how long the TS will stay on the success creen after the OSD is complete)

To get additional details about variable, see [Task Sequence variables](/deployr/task-sequence-variables.md)

<figure><img src="/files/KMCp4OZAVZCtyISvBNf0" alt=""><figcaption></figcaption></figure>

When watching in the log, you'll see the variables being set:

<figure><img src="/files/P0S77MP9WycNUY0zTbAu" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.2pintsoftware.com/deployr/reference/step-definitions/configure-initial-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
