Table of Contents

Build the Windows Imaging Environment

The WinPE imaging environment is not distributed with Theopenem due to licensing reasons. You will need to build it yourself. Theopenem provides 2 options to build the environment:

Option 1: Build From the Web UI

As of Theopenem 1.5.4, the WIE can be built directly from the Toems UI. It requires some setup work but will make things easier in the future if you take the time to complete it.

  1. On your Theopenem server, begin by installing the Windows ADK. On that page click the link that says Download the Windows ADK for Windows 11, version xxxx

  2. During installation, select all default options until you reach the Features Page. On the features page select Deployment Tools, uncheck everything else.
     wie-build-1.png

  3. Once again navigate to the Windows ADK. This time click the link that says Download the Windows PE add-on for the Windows ADK, version xxxx

  4. Install the Windows PE add-on will all the default options

Note

The next few steps will create a local administrator on your Toems Server. This user is required to build the WIE as the Application Pool in IIS that Theopenem runs under, does not have enough permissions to mount a wim. If you are not comfortable with this, proceed to using the Standalone tool to build the environment

  1. Open the Local Users and Groups Manager from the Windows Run command lusrmgr.msc
     wie-build-2.png

  2. Right click on Users and select New User

  3. Fill in a username(something like wie_builder_admin is nice and descriptive).

  4. Create a password for the user, you will need to enter this password in the Toems WebUI also, don't forget it.

  5. Uncheck User must change password at next login

  6. Check User cannot change password

  7. Check Password never expires

  8. Click Create, Then Close
     wie-build-3.png

  9. Find your newly created user in the list, right click and select properties
     wie-build-4.png

  10. Click the Member Of tab

  11. Click Add

  12. Type administrators in the box and select OK

  13. Click OK and close the Local Users and Groups Management tool

  14. Login to the Toems UI

  15. Select Admin Settings->Impersonation Accounts

  16. Create a new account providing the username and password you created back in steps 7-8.

  17. Select Admin Settings->PXE / Boot Menu->WIE Generator

  18. Change the Run As drop down to the impersonation account you created in step 20

  19. Change the Time Zone / Input Locale: / Language if needed

  20. Place a checkbox in the com server that thiis environment will communicate with by default

  21. Select Actions then Generate WIE

  22. The Active Build Processes should populate while the environment is building. This process may take up to 10 minutes to complete. You can navigate away from this page while it is running.

  23. The Build Date will populate once the build has completed

  24. Select Actions then Download ISO to download the environment.

Warning

If you plan on PXE booting this environment. You will need to copy the tftpboot folder located at
C:\Program Files\Theopenem\Toems-API\private\wie_builder\Builds\tftpboot
and merge it with Theopenem Tftp folder located at
c:\program files\theopenem\tftpboot
You must copy the tftpboot folder to every com server that will provide PXE support.
Finally, Change your PXE Mode in Admin Settings->PXE / Boot Menu->PXE Settings to the appropriate WinPE architecture. WinPE also works with the Toems Proxy DHCP to support both Legacy BIOS and EFI PXE booting simultaneously.



Option 2: Build From A Standalone tool

Use this option if you are having problems with building the environment from the UI, or would rather use the standalone tool to build it on any computer.

  1. On your Theopenem server, begin by installing the Windows ADK. On that page click the link that says Download the Windows ADK for Windows 11, version xxxx

  2. During installation, select all default options until you reach the Features Page. On the features page select Deployment Tools, uncheck everything else.
     wie-build-1.png

  3. Once again navigate to the Windows ADK. This time click the link that says Download the Windows PE add-on for the Windows ADK, version xxxx

  4. Install the Windows PE add-on will all the default options

  5. Download and extract the WIE Builder 2.0.3 from Theopenem downloads

  6. Login to the Toems-UI and select Admin Settings->Client Com Servers. Copy the URL for the com server this WIE will connect to.

  7. In the package that was unzipped, right click on Manual-ToemsPE-Build.cmd and select edit

  8. Paste in the com server URL where it says ComServerURL=. Overwriting the http://0.0.0.0/ with your com server url.

  9. Save and close the file.

  10. Right click on Manual-ToemsPE-Build.cmd and select Run as Administrator

  11. After the the script is done(It may take up to 10 minutes), look in the builds directory for the output.

  12. If you are PXE booting, merge the tftp folder with your Theopenem Tftp Folder located at c:\program files\theopenem\tftpboot. You must do this on every com server. Change your PXE Mode in Admin Settings->PXE / Boot Menu->PXE Settings to the appropriate WinPE architecture. WinPE also works with the Toems Proxy DHCP to support both Legacy BIOS and EFI PXE booting simultaneously.