This article is primarily targeted at Czech state institutions and is based on recommendations of the Czech authority. However,...
How to add drivers to installation imageLukas Beran
Adding drivers to an installation media of the operating system can be useful, if we need drivers available during the installation process or immediately after installing the operating system. At the beginning it is necessary to mention that in the installation image, we should add only those drivers we really need to install the system and for the first startup. Adding additional drivers significantly increases the size of the installation media, and significantly increases installation time. Recommended is therefore to integrate only the drivers for disk controllers, network cards or USB 3.0 if you install from a flash drive connected to a USB 3.0.
- On your desktop create a folder winpe.
- From the installation media that you want to modify, copy the file sources\boot.wim to folder winpe that you created.
- In the winpe folder, create folders winpe and mount.
- Copy the drivers that you want to integrate to folder winpe\drivers. These are files *.inf and affiliated to them *.sys or *.cat.
- Open command prompt with elevated rights (Run as administrator on the cmd.exe) and enter:MS DOS1234cd %userprofile%\Desktop\winpedism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mountdism /image:mount /add-driver:"drivers" /recursedism /unmount-wim /mountdir:mount /commit
- Copy the modified boot.wim file back to the installation media to a folder sources.