How Imaging Works
Imaging is divided into several sections:
Creating a Master Image
We provide a pre-built and prepared master image: Windows 11 25H2.
To download and create the master, you can run the following command:
import_master.shCreating a sysprep
To create a sysprep, go to Medulla and select "Sysprep Answer File Manager," then follow the steps to create the sysprep file you want.
Creating a post-install script for workstations
The master created in the previous step requires a post-install script.
Post-install scripts enable various actions that accompany the deployment of the master image. By default, we recommend creating a post-install script with the necessary options; please refer to the documentation to create and configure it and to understand the different options.
Profile
Create a new profile, associate it with the post-install script you created earlier, select 0 in the script field, and click Validate.
Then associate the profile with a master.
Deployment of a Master
Boot the computer you want to deploy via PXE (it must already be registered), then select the master with its associated profile and let the master deployment complete.
For each step, you can refer to the relevant sections on the other pages of this documentation.
---
OPTIONAL
To take it a step further, if you really want to create a highly customized master's program:
Registration
For the machine to be recognized by Medulla, it must be registered.
When the machine boots via PXE over the network, the "register" option appears; you must select it to register the machine.
At this point, either the machine is already listed in GLPI and the menu will display its name directly, or you can enter the machine’s name during registration.
Image Capture
Once the machine is properly registered, you’ll see the “backup” option in the menu, which allows you to back up the computer’s image to create a master image.
Once the machine is properly registered, you’ll see the “backup” option in the menu, which allows you to back up the computer’s image to create a master image.
A few prerequisites for capturing an image correctly:
- First, you must back up a computer running a fresh copy of Windows straight out of the box; then, when you boot it up, you must skip the OOBE (Out of Box Experience—the questions that appear during Windows setup)
- Make sure there is no “pending reboot.” Here is the command to verify that there isn’t one:
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired" -ErrorAction SilentlyContinue
- You’ll then be able to perform some basic Windows configurations as needed, such as creating a user account, etc.
- Run the prepare-master.ps1 script, which you can find here:
/var/lib/pulse2/imaging/postinst/winutils/prepare-master.ps1
This script checks for Windows updates, removes non-essential applications, disables BitLocker if the C: drive is encrypted, optimizes the image size by deleting temporary files, and cleans up the Windows component store.
- Restart the machine.
Creating a Master Image
Once you have captured your image in the previous step, you can find it in the Imaging menu of the machine on which you just performed the capture.
Go to “All GLPI Machines,” click the “Imaging Menu” action for the relevant machine, then “Images and Masters,” where you’ll find the captured image.
Click on the captured image to convert it into a master, give it a name (label), then click “Confirm and Convert to Master.”