> For the complete documentation index, see [llms.txt](https://www.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.osdeploy.com/guide/basic/install-osdeploysoftware.md).

# Install Required Software

Install Windows ADK 25H2 and 7-Zip for OSDeploy boot-image creation.

Use `Install-OSDeploySoftware` to install Windows ADK 25H2, its WinPE add-on, and 7-Zip. These components provide the servicing tools and archive support required to build OSDeploy boot media.

## Install the Required Software

{% stepper %}
{% step %}

### Confirm the Requirements

Run the function on a workstation that meets these requirements:

* Windows 11 25H2 build 26200 or later
* PowerShell 7.6 or later installed from the MSI package
* Current [OSDeploy module](/guide/requirements/powershell-modules.md)
* Administrator rights
* `curl.exe` available in `PATH`
* Internet access

{% hint style="warning" %}
The function stops before previewing or installing the software when a Windows, PowerShell, `curl.exe`, or administrator requirement is not met.
{% endhint %}
{% endstep %}

{% step %}

### Preview the Installation

Open an elevated PowerShell 7.6 session and preview both components without making changes:

```powershell
Install-OSDeploySoftware -Name 'adk-25h2', '7zip'
```

Review the returned source, installation details, and commands for Windows ADK 25H2 and 7-Zip.
{% endstep %}

{% step %}

### Install the Software

Install both components:

```powershell
Install-OSDeploySoftware -Name 'adk-25h2', '7zip' -Force
```

The function downloads and installs Windows ADK 25H2 and its matching WinPE add-on. It also installs 7-Zip and prepares the amd64 and arm64 7-Zip files used in OSDeploy boot images.
{% endstep %}
{% endstepper %}

For installation and download behavior, see [Windows ADK 25H2](/guide/cmdlets/install-osdeploysoftware/windows-adk-25h2.md) and [7-Zip](/guide/cmdlets/install-osdeploysoftware/7-zip.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://www.osdeploy.com/guide/basic/install-osdeploysoftware.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
