# Windows IoT Enterprise Recovery Options

## Windows Recovery Environment

### <mark style="color:blue;">Overview</mark>

Our systems with Windows 11 and 10 IoT include a recovery option that restores the device to its original factory state using the[ Windows Component Store](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/manage-the-component-store?view=windows-11). This includes drivers vital to the functionality of the system.

* This recovery option works well when windows can still start up or reach recovery mode, and needs system files repaired.
* This recovery option won't work for cases when the OS is completely missing, since the process depends on the Windows Component Store files which are stored on the OS.

### <mark style="color:blue;">Launching Windows Recovery Environment</mark>

Below are several methods to enter the Windows Recovery Environment:

1. Follow official Microsoft documentation for[ accessing the Windows Recovery menu](https://support.microsoft.com/en-us/windows/windows-recovery-environment-0eb14733-6301-41cb-8d26-06a12b42770b).
2. While inside the OS, press and hold the Shift key while you select Power > Restart.
3. In a Windows terminal window, type \`shutdown /r /o /t 00\` or \`reagentc /boottore\` .
4. If you are unable to access your OS, turn the system on and then force a shutdown by holding the power button as soon as you see the Windows logo or spinning dots. Repeating this process 2-3 times triggers the Automatic Repair feature and will boot into the Advanced Startup menu.

### <mark style="color:blue;">Step-By-Step Recovery</mark>

Follow these steps once inside the Windows Recovery Environment.

1. Choose the troubleshoot option.

   <figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2FxxfyJVwmWwJxprDgxRiw%2Fimage.png?alt=media&#x26;token=4af1cea6-966e-4110-bdf2-bac70e875180" alt=""><figcaption></figcaption></figure>
2. Select "Reset this PC".

   <figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fn7xhfn2tGDFHcxQ3VmjJ%2Fimage.png?alt=media&#x26;token=8b8564e2-9580-437a-8791-e59af6467a95" alt=""><figcaption></figcaption></figure>
3. Select "Local reinstall". This is the option that uses the Windows Component Store files to restore the system.

   <figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2FmyNlpYClJ06f7GB90BZD%2Fimage.png?alt=media&#x26;token=b3e3b216-1cb7-4388-9a01-b2612bef7e66" alt=""><figcaption></figcaption></figure>
4. Select either option based on your preference:

   1. Keep my files: This option reinstalls the Windows operating system and all of the original drivers and software that were configured in our facility. It removes applications you have installed (like Microsoft Office, web browsers, etc.) and resets most settings, but it preserves your personal files, such as those on your Desktop and in your Documents, Downloads, and Pictures folders.
   2. Remove everything: This option performs a complete factory reset. It erases all of your personal files, applications, and settings before reinstalling a fresh copy of the original system.

   <figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2FBlGMMZwVxbRtRcE2lnBC%2Fimage.png?alt=media&#x26;token=c8913e76-84ea-4a0d-8683-36f5e2b5028f" alt=""><figcaption></figcaption></figure>
5. Select "Reset".

   <figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2FT8u8ge9OFwa7En2ffZSP%2Fimage.png?alt=media&#x26;token=99456382-88f9-40af-8347-2b59a1147d51" alt=""><figcaption></figcaption></figure>

## Reinstall the Operating System Using Rufus and a USB Drive

Windows 10 IoT can be reinstalled using a USB flash drive. This guide will walk you through creating the flash drive and performing the installation. **Please note that while Windows 11 IoT can be reinstalled through this method, it will erase the embedded activation key and so using the Recovery partition is the recommended way to restore Windows 11 IoT to a default installation.**

### <mark style="color:blue;">Prerequisites</mark> <a href="#prerequisites" id="prerequisites"></a>

* An 16GB or larger flash drive (USB 3.0 model recommended for speed)
* A PC running Windows 10
* A copy of the OnLogic ISO file ([contact tech support](https://www.onlogic.com/tech-support/) to obtain, only available to existing customers)
* Rufus, [downloadable from here.](https://github.com/pbatard/rufus/releases/download/v4.3/rufus-4.3.exe)
* An active internet connection to the system getting Windows 10 IoT reinstalled (needed for OS activation)

### <mark style="color:blue;">Create Flash Drive</mark> <a href="#creating-the-flash-drive" id="creating-the-flash-drive"></a>

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-f546ce95f379566b1c8047791883070bbaa2a74c%2F270b9f21d93b50065f15d1e248b7aae37dd26ad0f29121b2d4b07e04fcce82b7.png?alt=media" alt="" height="53" width="297"><figcaption></figcaption></figure>

* Download the ISO file and Rufus tool, linked above.
* Install Rufus to your local computer
* Insert your flash drive and run Rufus

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-ec424d962cb4a618522a696c7020cf419cb5ab44%2F0dfbfcb4abebc1f163824f4ca7465a7adc2c40e59acaca030b17d1788ced68c6.png?alt=media" alt="" height="164" width="471"><figcaption></figcaption></figure>

* Click Select and choose the ISO file you just downloaded.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-d21035684801c8aa8ebab48ffc5f35ef44642c35%2F6c4928c8b0a431d586aa234b5d2cf5d96826a2d3b209d17fbc4ce78e85b8cb1f.png?alt=media" alt="" height="716" width="472"><figcaption></figcaption></figure>

* Most systems will use the “GPT” Partition Scheme. Some older units will need “MBR” for older (Legacy bootable) systems.
* Click START

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-73a4d170c5c51dbbda6bc05a2180acf3762511fe%2Fe2e34d32d60271c595a4da5b44ea4911af7bb384ebace99cc30d2165f234f6d3.png?alt=media" alt="" height="176" width="400"><figcaption></figcaption></figure>

* Click OK. This will erase your flash drive and turn it into an IoT installer.
* Wait for Rufus to complete.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-8f3596d1c50fcd5a14ac65c111d7189b341f6f2d%2Fbadaa1d1ed5a970ee76bf39fd10af0d5144b2a1956d38eea55261f996b07b1e7.png?alt=media" alt="" height="122" width="256"><figcaption></figcaption></figure>

* Safely eject the flash drive and unplug it from the PC.

### <mark style="color:blue;">Installing Windows</mark> <a href="#installing-windows" id="installing-windows"></a>

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-c6a46700163b196b3e49010b143aed4010b36161%2F52326fc9d7dcb39b7f3f310648442ce7669be34e3c44ae43f4cf7d574e7e44f9.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

* Connect your newly created flash drive to the OnLogic PC and boot to it.
* Press F2 or Delete to access the BIOS. Under the Boot tab, make it the first boot device.
* Exact boot instructions vary by model. If you need assistance, contact <support@onlogic.com>.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-b3438ca38b2856d4daebe346a525f7aa9ada181d%2F69ad297cb051d5bb6378ec6e7e7ca25eaa0b63bde0cf40366ea0bde683bac10b.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* When the flash drive boots, you will be presented with this screen. Select Next.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-2baf3dfe42d18253d5d947d699da3b01117005b3%2F5be98dbb6a8d82e5129299b951700bfd566e236f77df479352c96aee728d38ab.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Click Install now

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-c4c685d1cdbb74b68134f82306404a9ef885e38b%2Ffc27972cee79272ab66c945c86de963fd4c4537205aa1e3f4ff4d43215f6c1eb.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Accept the license agreement and click Next

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-c6bade52a2e8391b898a55e7eb6c62fef4159d84%2F06d5f4fad4717933bbb2c45d064a533a4b5896647b6878e3513aa4194580c31b.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Choose the option for **Custom** installation

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-4acda154ed1a0df43058aafcbd6c53dff85e9436%2F9b6722204b932faf5b977b62b9cbd025b0d71ebcf901a53eb94cfaa10d727c51.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* *\*\*\* If installing Windows 11 IoT instead of Windows 10, this window will appear. Select “Windows 11 IoT Enterprise LTSC” to proceed\*\*\**

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-0a4db51c87b0a26b2c0b284ae362478137151d2a%2Fd129ddbfc8e6dff7b11c4fc71270e0cc8b7775076c0bd60cbbf916bf12ca846d.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Delete all partitions from the drive you will be installing Windows 10, typically Drive 0.\\
* **Note**: If you have multiple drives in your system, you only need to delete the partitions on the primary SSD (i.e. the one Windows is installed to). Typically this is Drive 0.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-b80b6c1c87a068d071b8a0103cd1cffa99012fcb%2F6ad47178ceebf051857c31a62975a96ce2f0db4a76931d691480d75d81b159f0.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Double check that you are deleting the correct partitions and click OK.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-74089f51431503acaf9f2372dcdabbdc1fe53a99%2F92963f97bf4eb5b14102214fd3ea17d2b9193c054f5659c3c3ecd3c131efaa16.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* With all partitions deleted, the Window should look like this. Click Next. New partitions will be created automatically.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-65407ab129d041a15cf35c910dc5ac1cc480a2e2%2Fed256e308a0130ae3016b62d493bc0e3bbd769d8622f679abbb457cbfeaf2a20.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Take a break while the installation proceeds

### <mark style="color:blue;">First Boot & Setup</mark> <a href="#first-boot-setup" id="first-boot-setup"></a>

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-5064d1b58f0905360f6606ee7d4d179e84fb0813%2F9e93a6201ff6003ce856c5e35baada124a1cb0bdb4b610675ddf706cec3fb636.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Depending on the boot settings, the system may boot to the flash drive again. If that happens, click the X to reboot and immediately remove the flash drive.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-e1f73f6dae958937befd30b08db75eba5a2cb5a4%2F65f166b16028a2ff2860da3f24237e1f61d4ffce8bc8e3d6935b5128c6241d5a.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Select “I don’t have a product key”. Windows will activate automatically using the embedded key, after the OS installation is complete.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-20b698058ccc1c266b9d0c4b827460f70fb350e7%2Ff03472739eb0fb385e3f3f3ebb34bcc704f2864a97f26966d5722bb05e877490.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* You may log in with your Microsoft account if desired.
* In many business use cases, that is not desired. You can create a normal account with the “Domain join instead” button.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-7f8cfe8f3bc1879f3d3aa3a8fcc7602d1f74cf06%2Ff8e4ae71e05f275d1eb7f41fa37ac6675c4c6cd01172576ff6faf2eb7e0b4786.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Enter a username and click next. Set a password if desired.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-bedff24b781c37d5d48ee08e626f139b8217dad0%2F126429337bc20f2850da18d9e80708f8c7847da87a544e5505bb3757064f3a1d.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Unless you signed in with a Microsoft account, click NO on this screen.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-b14ed45297d78e34c085347b5ee1529fb040a274%2F03c58e7ab47113abaf6d0f15273a95c98a8af7b52a3e82ee66fa23e3fc63fd8e.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* The options on the next screen primarily affect apps from the Microsoft Store. Disabling all options will minimize intrusions if those apps are not used. This can be changed later.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-c5d57827eb6a120605468304faf6a5537b1e0857%2Fa353b6664c88e3f6e428278a0f323ce99468ec329d9b6029b5fd424dc4509758.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* This loading screen will appear for a few minutes while the user settings are applied.

<figure><img src="https://3062424488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlLHqs7kbNoKOFTwGOfH6%2Fuploads%2Fgit-blob-03a057cd04fff84ba30d30f81e916928b61d2e97%2Fea5aba9cc4c432a50bc46cdcf777e53cc6dcaefb161c60f9acd9bb73f31b7fb5.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* When completed, you will go straight to the Windows 10 desktop.
* Your installation is complete!
* If you are missing any drivers, start by running Windows Update. It tends to find most of them. Otherwise, use the search box at the top of this page to find the “Technical Resources” page for your model. It will have a link to the drivers.

### <mark style="color:blue;">Activating Windows</mark> <a href="#activating-windows" id="activating-windows"></a>

Windows will automatically activate when connected to the Internet. This normally happens after a few minutes in the background, but to force immediate activation, open CMD and type “**`slmgr /ato`**“


---

# 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://support.onlogic.com/support-articles/how-tos/operating-systems/windows/windows-iot-enterprise-reinstallation.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.
