Instead of using the CustomDrivers folder, you can put the drivers inside the system image itself (boot.wim). That way they load during boot, as if they came built in, and you do not have to wait for the desktop.
Step by step
- Plug in the Hiren’s BootCD PE USB drive. In this example it is drive E:.
- Create a folder, for example
C:\MyAdditionalDrivers, and copy your drivers there uncompressed (you can extract them with DrvIndex as in the CustomDrivers guide). - Open Command Prompt as administrator and run:
mkdir C:\hbcd_pe
dism /cleanup-wim
dism /Mount-Wim /WimFile:E:\sources\boot.wim /index:1 /MountDir:C:\hbcd_pe
dism /Image:C:\hbcd_pe /Add-Driver /Driver:C:\MyAdditionalDrivers /recurse
dism /Unmount-Wim /MountDir:C:\hbcd_pe /Commit
dism /cleanup-wim
rmdir C:\hbcd_pe
The /recurse parameter makes DISM look for drivers in subfolders too.
CustomDrivers or boot.wim?
- CustomDrivers: easier and easy to undo (just delete the folder). Drivers load after the desktop appears.
- boot.wim: drivers load during boot. Needed for disk controllers that must work from the start. If you update Hiren’s BootCD PE, you will have to do it again.