Creating a Preinstalled Driver Windows 11 ISO

Creating a Preinstalled Driver Windows 11 ISO


Prerequisites

- Windows ADK (Assessment and Deployment Kit) - download from Microsoft

- Driver files (INF + catalog files)

- Original Windows 11 ISO

- Sufficient disk space (~10GB)

Step-by-Step Process

1. Install Windows ADK

# Install optional features

Add-WindowsCapability -Online -Name "Tools.Deployment.WindowsImagingAndWim"

2. Prepare the ISO

# Create working directory

mkdir C:\win11_work

Copy Windows_11_ISO.iso C:\win11_work\


# Mount the install.wim

mkdir C:\win11_mount

dism /Mount-Image /ImageFile:"C:\win11_work\sources\install.wim" /Index:1 /MountDir:"C:\win11_mount"

3. Add Drivers via DISM

# Add driver package

dism /Add-Driver /Image:"C:\win11_mount" /Driver:"C:\path\to\drivers" /Recurse

4. Capture Modified ISO

# Unmount and commit changes

dism /Unmount-Image /MountDir:"C:\win11_mount" /Commit


# Create new ISO (using MakeEFI or similar tool)

# Or use: dism /Capture-Image /ImageFile:"C:\win11_new.iso" /SourceImageFile:"C:\win11_work\install.wim" /CaptureFileName "Windows 11 with drivers"

5. Verify

Boot a test machine and check Device Manager shows the preinstalled drivers.

Key notes: 

- Use /ImageIndex if working with install.esd instead of install.wim

- Driver packages must be properly signed for Windows 11

- Test thoroughly before deployment


1. Prepare Working Directory

mkdir C:\win11_work

Copy Windows_11_ISO.iso to C:\win11_work\

2. Mount Windows 11 Install Image

mkdir C:\win11_mount


# check index

dism /Get-ImageInfo /ImageFile:c:\images\myimage.wim

dism /Mount-Image /ImageFile:"C:\win11_work\sources\install.wim" /Index:1 /MountDir:C:\win11_mount

3. Add Drivers (Optional)

# Add Intel graphics driver package

dism /Add-Driver /Image:"C:\win11_mount" /Driver:"C:\path\to\drivers" /Recurse


# Or add specific INF package

dism /Add-Driver /Image:"C:\win11_mount" /Driver:"C:\Intel\Graphics\INF" /Recurse

4. Add Software Packages

# Add a Windows package (.cab)

dism /Add-Package /Image:"C:\win11_mount" /PackagePath:"C:\packages\app.cab"


# Or add an Appx package

Add-AppxPackage -Path "C:\packages\yourapp.appx"

3. Add Software via RunSynchronous (unattend.xml optional)

# Add software executable to run during specialize pass

dism /Image:"C:\win11_mount" /Add-package /PackagePath:"C:\packages\app.cab"

4. Unmount and Capture Modified ISO

# Save modified image

dism /Unmount-Image /MountDir:"C:\win11_mount" /Commit


# Create new ISO (use MakeEFI or DISM)

dism /Capture-Image /ImageFile:"C:\win11_new.iso" ^

    /SourceImageFile:"C:\win11_work\sources\install.wim" ^

    /CaptureFileName "Windows 11 with Drivers"

5. Verify

Boot test ISO and verify:

- Drivers install correctly via Device Manager

- Software installs during specialize pass

- Windows completes OOBE successfully

Comments