Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Add Drivers into USB Boot Device to Install Windows

June 22, 2024
in Blog
0
ADVERTISEMENT

Table of Contents

You can simplify the deployment of the operating system on typical workstations (servers) if you add all the necessary drivers to the Drive Store of your Windows installation USB stick. In this case, after installing Windows, you don’t have to manually download and install specific drivers (including AHCI/RAID/NVMe or network cards) on each computer.

Before you begin

  • We use drive E for example, don’t forget to replace it in the below commands.
  • Driver letter for our USB stick is G. Remember to change it to fit with yours in step 4, 5.

Add Drivers into Windows USB Boot Device

1️⃣ Right click on the Windows Start icon then open PowerShell or Terminal as administrator.

2️⃣ Create two folders, in this case we’ll create the folders in the E drive.

New-Item E:\drivers, E:\wim -Type Directory

3️⃣ Copy drives in to E:\drivers folder. You can create sub-folders for each driver if you want to keep things organized. The driver files will usually be in the form of .inf, .sys, and .cat files. Example below:

Note Note: Many vendors (including Dell, HP, Lenovo, etc.) supply their drivers in the form of self-extracting exe or zip archive files. Such archives must be unpacked to a local disk so that inf, cat, and sys files are located in the directory with the driver.
MY51MyDDXuNcV4SnZKjbIOHncKqOP14qwczZGoDUdNJyEL02YcxoLU5qMOgW

4️⃣ Now we have to find the index number of the OS edition. In this example we have a Wndows 10 (22H2) image, we will use PRO edition to add drivers to, so let’s go for the index number 6.

dism /Get-WimInfo /WimFile:G:\Sources\install.wim
#Output

Deployment Image Servicing and Management tool
Version: 10.0.22621.1

Details for image : F:\Sources\install.wim

...

Index : 6
Name : Windows 10 Pro
Description : Windows 10 Pro
Size : 15,435,570,649 bytes

...

The operation completed successfully.

5️⃣ Now we have to mount the image of your preferred Windows edition (in this example Windows 10 Pro) using it’s index number to E:\wim folder.

dism /Mount-Image /ImageFile:G:\Sources\install.wim /Index:6 /MountDir:E:\wim
#Output

Deployment Image Servicing and Management tool
Version: 10.0.22621.1

Mounting image
[==========================100.0%==========================]
The operation completed successfully.

6️⃣ You can use this command for adding all the drivers in the folder and subfolders from E:\drivers to E:\wim.

dism /Image:E:\wim /Add-Driver /Driver:E:\drivers /Recurse /ForceUnsigned
#Output

Deployment Image Servicing and Management tool
Version: 10.0.22621.1

Image Version: 10.0.19043.928

Searching for driver packages to install...
Found 2 driver package(s) to install.
Installing 1 of 2 - E:\temp\drivers\WLAN\netrtwlane.inf: The driver package was successfully installed.
Installing 2 of 2 - E:\temp\drivers\WLAN\netrtwlane_ext_dmar.inf: The driver package was successfully installed.
The operation completed successfully.

7️⃣ When all drivers are added, we have to commit the changes to the Windows image.

dism /Unmount-Image /MountDir:E:\wim /Commit
#Output

Deployment Image Servicing and Management tool
Version: 10.0.22621.1

Saving image
[==========================100.0%==========================]
Unmounting image
[==========================100.0%==========================]
The operation completed successfully.

8️⃣ We no longer need the folders that be created in the previous step,we can delete them.

Remove-Item E:\drivers, E:\wim -Recurse

That’s it. Now you can use the USB boot device to install Windows with the additional drivers.

ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

How to Install Ubuntu 23.10 on WSL

Next Post

How to Add Drivers into a Windows ISO Installation Image

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory