Question about how Drivers added/Read

Discussion in 'Windows 10' started by LiuBang, May 5, 2023.

  1. LiuBang

    LiuBang MDL Member

    Oct 19, 2020
    150
    55
    10
    #1 LiuBang, May 5, 2023
    Last edited: May 5, 2023
    I have a WinPE created by Wim Builder
    which has a problem in it's Drivers (missing Drivers) , Wim Builder created it without enough drivers

    This WinPE can't be modified by anything , most of the files for DISM to work is missing (including servicing stack)

    i realized it's missing drivers after (by chance) i sent it to a friend to test something to find out it didn't boot at all

    i can't add drivers normal way , i need to fix it because i can't create another 1 because after creating it i modified it further to decrease it's size more , final result is 123MB with Windows installation working

    luckily i found out that it's missing drivers before i use it mainly

    now i need to fix the drivers issue
    i know the drivers are in inside Drivers and DriverStore (in System32)
    what i want to know , if i replaced these 2 folders with the same 2 folders from another WinPE which has enough drivers , would that work ?
    provided that it's based on the same Windows Edition same Version
    i tried deleting both folders and replace them , no problems doing that (no BSOD or errors)
    but i still don't know if that actually worked and these machine that it didn't boot on now it will boot on and read these drivers
    does drivers only be saved in these 2 folders and there is no where else it's mentioned in ?

    Thanks for reading all that , and i hope someone knows something about that
    have a good day