Flexible driver install during WinPE or after

dimand

New Member
Hi There,
Is there a way to have a flexible driver install, for example i have various model of Computer (Lenovo X280, Lenovo T51...etc) and I have a standard Image which I don't wanted to injected all those driver into Wim file as it will take a lot of space the image will be bigger.

So I am looking for a solution where I have a standard image, and I can add any specific driver of the model of Laptop I install without rebuilt the image again,
it's possible to do it with SCCM, but I don't know if it possible at all with NTLite.

thanks
Dimand
 

George King

Active Member
You can do it on Windows 10 WinPE, when calling setup.exe with parameter. If you are building AIO using my tool after you build your x86 and x64 prepared media with NTLite, you can modify setup.cmd to add support for folder with drivers as in AIO project is patched autorun.dll.
Code:
autorun.dll inside sourc32 / sourc64 is patched to look for setup.cmd instead od setup.exe

But this /InstallDrivers switch works only for Windows 10, for older Windows is needed different trick to do it. I'm going to add it soon into OOBE.cmd to be executed after first reboot. But I found much better solution for setup.cmd with combination with OOBE.cmd, respectively CleanDriverStore.cmd from PostSetup tutorial. Combining those two tutorials should give perfect user experience. I'm going to update AIO tutorial and tool soon.

1603791738737.png
 
Last edited:

Kasual

Well-Known Member
Hi There,
Is there a way to have a flexible driver install, for example i have various model of Computer (Lenovo X280, Lenovo T51...etc) and I have a standard Image which I don't wanted to injected all those driver into Wim file as it will take a lot of space the image will be bigger.

So I am looking for a solution where I have a standard image, and I can add any specific driver of the model of Laptop I install without rebuilt the image again,
it's possible to do it with SCCM, but I don't know if it possible at all with NTLite.
Hi Dimand

Here is another option:

Go to Using $WinpeDriver$ section
 

dimand

New Member
You can do it on Windows 10 WinPE, when calling setup.exe with parameter. If you are building AIO using my tool after you build your x86 and x64 prepared media with NTLite, you can modify setup.cmd to add support for folder with drivers as in AIO project is patched autorun.dll.
Code:
autorun.dll inside sourc32 / sourc64 is patched to look for setup.cmd instead od setup.exe

But this /InstallDrivers switch works only for Windows 10, for older Windows is needed different trick to do it. I'm going to add it soon into OOBE.cmd to be executed after first reboot. But I found much better solution for setup.cmd with combination with OOBE.cmd, respectively CleanDriverStore.cmd from PostSetup tutorial. Combining those two tutorials should give perfect user experience. I'm going to update AIO tutorial and tool soon.

View attachment 4102
Thanks George,
It's beyond my knowledge, appreciate your step by step tutorial
thanks
Dimand
 
Top