# Install updates

The **Install updates** step will install any needed Windows updates in the new OS, rebooting the device as required after those are installed.

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

If "Opt in to Microsoft Update" is checked, additional non-Windows updates will be installed.  If "Install Windows Updates" is unchecked, Windows updates will not be installed (typically only useful if you only want driver updates).  If "Install driver updates" is checked, any available driver updates needed on the device will also be installed.

### WSUS

In DeployR 1.1, this step will now pull from a WSUS server if you set the variable WsusServer before the step.<br>

<figure><img src="/files/9ci3xvKnkwE3yo5V7SJF" alt=""><figcaption></figcaption></figure>

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

If you're setup Group Policies for your WSUS, remember GPO does not get set when running in Setup Complete continuation method, we also have not done any testing with additional settings beyond setting the task sequence varaible.  We do not support Client-Side targeting.  While you might get it to work in your environment, we have not tested or plan to support additional options for WSUS.&#x20;


---

# 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/install-updates.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.
