This is not as automated as I had hoped.
I began by loading a vanilla wim from Windows 22H2 iso.
This feature was updated in NTLite v2023.5.9249, and no longer requires any external switches.
Run NTLite as normal, and load any source image. Preset -> Save / Extract current image state
You don't need to quit or restart NTLite after the extraction.
So I began by extracting the current image state from the vinally wim and saved the Preset as "Vanilla."
As an aside, interestingly, there are already some things removed from the Vanilla host. (See vanilla Preset, attached.)
But I think I misunderstood the instructions for this first step because later I'm told
Take a clean copy of the same Windows ISO, and load the image.
Now load your extracted preset to apply changes. Save this new preset as the working session.
So the first step should have been to extract the Preset from my current modded Windows, yes?
If so, then I extracted a Preset from my current modded Windows and saved it as "Current." (Attached.)
Before going on, I'm further confused by this statetment:
If you compare any two presets, they must be of the same type.
- Any two extracted presets
- Any two saved presets
I don't understand the difference between an "extracted preset" and a "saved preset" because when I extract a preset, it is saved.
They look the same to me. What am I missing here?
Okay, going back to the second instruction,
Take a clean copy of the same Windows ISO, and load the image.
Now load your extracted preset to apply changes. Save this new preset as the working session.
Now when it says "to apply changes," do I actually have to Apply - that is, Process - the clean copy of the wim and save the final completed Preset. Or is it's good enoug to simply Save As "Working Session" after loading the Current Preset to the vanilla wim?
After I did this, I expected that the Working Session Preset would be identical to the Current Preset. But they're not.
If I have to apply/Process my Current Preset - which is what I thought we did with the old /forcelistcomponents /saveallstates, then 1) I no longer have a vanilla wim for Host Refresh. And 2) I didn't use WinMerge to make a "What's missing" Preset between Current and Working Session as the next instruction says to do.
You do this twice. Once for each image you want to compare. Then use a XML or text comparison tool against the two presets.
The only thing that has changed in two years, is you don't need the command line flags.
When you extract an image, that preset only lists what is present. But NTLite cannot use this version to make a new image.
You apply the extracted preset to a clean image, and this newly resaved version is usable by NTLite.
Comparing the two resaved presets will detail what's changed between them.
So I'm stuck at this step.
But even if I weren't stuck, there are a LOT of changes between the Presets that I have extracted so far. Is there an easy way to make WinMerge save the differences?
And what headers to I use for the "What's Missing" Preset? Because if I extract all the differences from the Presets, then same line stuff like
Code:
<?xml version="1.0" encoding="utf-8"?>
<Preset xmlns="urn:schemas-nliteos-com:pn.v1">
<Date>07/04/2025 20:28:38</Date>
<AppInfo>
<Version>2025.7.10509</Version>
<Licensed>Yes</Licensed>
<Protections>Yes</Protections>
<Host>Windows 10 Core 22H2 x64 - 10.0.19045.2006 (en-US)</Host>
</AppInfo>
<ImageInfo>
will be removed. But this header is needed for a Preset.