> For the complete documentation index, see [llms.txt](https://documentation.2pintsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.2pintsoftware.com/deployr/getting-started/generate-windows-pe-boot-images/extra-files.md).

# Extra Files

This page covers common extra files customers include in the Extra Files content item

This content item consists of additional content (files) that will be included into the WinPE boot media when being generated.  When looking at the WinPE boot media generation log, it will show the referenced content item:

<figure><img src="https://922011620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5H9jaYPEartpXiTyVZvm%2Fuploads%2FCHPU5Je6LYjXCpn6oQ28%2Fimage.png?alt=media&amp;token=df0c8924-0664-4d9c-b9c2-3fae21939e79" alt=""><figcaption></figcaption></figure>

Near the end of the process, the log shows the files being copied recursively into the file structure:<br>

<figure><img src="https://922011620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5H9jaYPEartpXiTyVZvm%2Fuploads%2FGWTxwcHxGzp8q83vG470%2Fimage.png?alt=media&amp;token=e476b499-e488-44cc-81eb-852fe0d457b1" alt=""><figcaption></figcaption></figure>

The copy is recursive, meaning it will mirror the same folder structure as the content item.  Example, if the content item has this structure, the files will be copied into the same location on the boot media:

Content Item:

\preinit.ps1\
\postinit.ps1\
\postauth.ps1\
\Windows\System32\wmiexplorer.exe\
\Windows\System32\winpe.jpg

When the files are copied into the boot image, once booted they will be in their realtive paths in WinPE, like so:\
X:\preinit.ps1\
X:\postinit.ps1\
X:\postauth.ps1\
X:\Windows\System32\wmiexplorer.exe\
X:\Windows\System32\winpe.jpg

### Related Topics

* [Brand WinPE Background](/deployr/getting-started/generate-windows-pe-boot-images/brand-winpe-background.md)
* [Preinit, Postinit, Postauth ps1](/deployr/getting-started/generate-windows-pe-boot-images/preinit-postinit-postauth-ps1.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://documentation.2pintsoftware.com/deployr/getting-started/generate-windows-pe-boot-images/extra-files.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.
