> 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/osd-toolkit/4.0/troubleshooting/boot-image-customizer.md).

# Boot Image Customizer

Start with the newest build log in the extension's `bin\Logs` folder; see [Unattended builds](https://documentation.2pintsoftware.com/osd-toolkit/4.0/installation/adding-osd-toolkit-to-the-boot-image/unattended-builds.md#files-and-logs) for the locations.

| Problem                                                          | What to do                                                                                                                                                                                               |
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Build 2Pint Boot Image** is missing from the right-click menu  | Check that the extension is installed on this console (**Administration** > **Updates and Servicing** > **Console Extensions**), then restart the console. The item appears only on boot images.         |
| The menu item has no icon                                        | Restart the console after installing or upgrading.                                                                                                                                                       |
| "Could not find Update-CustomBootImage.ps1"                      | The extension is not fully installed on this console. Reinstall it from **Console Extensions**.                                                                                                          |
| Nothing happens after the UAC prompt                             | Check the newest build log in the extension's `bin\Logs` folder.                                                                                                                                         |
| "ADK WinPE\_OCs directory not found"                             | Install the Windows PE add-on for the ADK, or browse to the `WinPE_OCs` folder in the tool.                                                                                                              |
| "Nothing to add"                                                 | Set the StifleR Client source, the OSD Toolkit folder or both.                                                                                                                                           |
| "OSDToolkit.exe not found in the OSD Toolkit folder"             | Point the OSD Toolkit folder to the extracted OSD Toolkit release zip.                                                                                                                                   |
| "No boot image selected" or "Boot image ... was not found"       | Pass `-PackageID` with one of the boot images listed in the log, or `-WimPath` with a WIM file.                                                                                                          |
| "No ConfigMgr site drive was found" or "ConfigMgr not connected" | The account the tool runs as has not connected the console to a site. Open the console once as that account, pass `-SiteCode`, or browse to the WIM file (the distribution points are not updated then). |
| "The distribution points of ... weren't updated"                 | The WIM was built, but the distribution points were not updated. Right-click the boot image and select **Update Distribution Points**.                                                                   |
| "The mount folder ... isn't empty"                               | Choose an empty folder. The tool only empties a folder that holds a leftover mount, and only with **Automatically clean up prior orphaned/failed mounts** selected.                                      |
| The build fails while mounting                                   | A mount from an earlier run may be left behind. Keep **Automatically clean up prior orphaned/failed mounts** selected, or run `dism /Cleanup-Wim` from an elevated prompt.                               |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.2pintsoftware.com/osd-toolkit/4.0/troubleshooting/boot-image-customizer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
