Processing a pre-modded Windows image (Tablet PC)

daniel8190

New Member
Messages
4
Reaction score
0
Hello everyone:

I have a pre-modded Windows isolated Image which is to be installed in a tablet. The image has no drivers installed and I have to install them manually after the Windows is installed. I tried to add the drivers to the isolated windows by using NTlite and the changes go well after processing the image.

Problem is, when I try to install the Windows in the tablet, it just fails.

I attach the images, one case when the installation fails, and one when it's successfull (and has not been "modified" with NTLite)

Any ideas what can I do?

Mod note: Rotated last two images for better readability.
 
Last edited by a moderator:
Your first case is missing any "diskpart /s CreatePartitions-UEFI.txt" command, which I presume is adapted from the MS reference docs. The diskpart commands assign temporarily drive letters on each of your volumes.

Otherwise you don't have assigned drives for DISM /Apply-Image or Reagentc commands.

Code:
rem == CreatePartitions-UEFI.txt ==
rem == These commands are used with DiskPart to
rem    create four partitions
rem    for a UEFI/GPT-based PC.
rem    Adjust the partition sizes to fill the drive
rem    as necessary. ==
select disk 0
clean
convert gpt
rem == 1. System partition =========================
create partition efi size=100
rem    ** NOTE: For Advanced Format 4Kn drives,
rem               change this value to size = 260 **
format quick fs=fat32 label="System"
assign letter="S"
rem == 2. Microsoft Reserved (MSR) partition =======
create partition msr size=16
rem == 3. Windows partition ========================
rem ==    a. Create the Windows partition ==========
create partition primary
rem ==    b. Create space for the recovery tools ===
rem       ** Update this size to match the size of
rem          the recovery tools (winre.wim)
rem          plus some free space.
shrink minimum=500
rem ==    c. Prepare the Windows partition =========
format quick fs=ntfs label="Windows"
assign letter="W"
rem === 4. Recovery partition ======================
create partition primary
format quick fs=ntfs label="Recovery"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
list volume
exit

As you're using an isolated WIM outside of the normal ISO environment, this is a problem with your script(s). And nothing triggered by NTLite modding the install image.
 
I tried to install the Image Install.WIM as it is before running it through NTLite and it works just fine (result picture in the initial question). Is there any way that the install.wim is being modified by NTLite, where a certain parameter is modified in it, which makes the script fail?(I am very new to NTLite btw).
 
- Isolated images make no impact to the disk layout or mounted volumes. Any of that happens on the ISO level, with WinPE Setup.
- WinRE.wim should be included inside the install image, unless Recovery component is explicitly removed.

I presume if your only goal at this point with NTLite is to add missing drivers to a base image, you are following these steps:
1. Load the install image.
2. Extract the driver files (*.INF) to a local folder.
3. From NTLite's Drivers page, Add / Directory containing drivers
4. Apply changes.
5. Copy the updated install.wim.

NTLite would be making no changes except adding new drivers to the image's DriverStore repository. Adding drivers (without removing other drivers or components) shouldn't break the image.
 
I managed to combine the drivers and the isolated ISO and it worked, for a PC model.

What I'd like to know is if there is a way to create a multi-image menu where I can select the image that I want to install, and each image (.wim) has its own drivers installed. My scenario is: I have multiple models of PCs, each one of its own drivers, and I'd like to have a multi-image ISO in one pen drive, instead of 10 different images, each of them in it's own pen drive. Is it possible to achieve this?
 
It's not really clear how you're installing the images, in terms of how they're getting to the device.

The install WIM may contain one or more separate install images. From NTLite, you can export a selected image to an existing WIM file by right-menu -> Export / WIM. You will be asked if you would like to Overwrite or Append, choose Append.

Rename any of the current images by right menu -> Edit / Name. To rename an image, it must not be currently mounted.

- If you're booting from a normal ISO, Setup will present a list of eligible install images.

- If you're using DISM /Apply-Image, then choose a different /Index:[N] where N is a specific image within the WIM. Using a scripted solution doesn't provide a menu listing, unless your wrapper script provides one.
 
Back
Top