Topic: best solution for driver loading at startup for portability  (Read 1056 times)

thefuse

  • Jr. Chef
  • **
  • Date Registered: Jul 2016
  • Posts: 65
Hi all folks at the oven,some great work going on here!
I would like to make driver installation as easy as possible for portability from box to box.some tips on direction of solutions would be great.
Keeping the PE as light as possible,I was thinking of doing one of two things...
1... place a "drivers" folder on the usb including a copy of DPINST and writing a short autorun plugin to run at startup?..this would allow me to hold gigs of drivers collecting as i work on many laptops as i go?....
2....is there a plugin to grab all drivers on the system or laptop as the PE boots up on each new laptop,doing away with the need to hold a collection of drivers on the usb stick and only loading relevant drivers for that system?
 iv been googling around to locate a plugin but no luck finding exactly what i need.Please excuse my ignorance if i missed what seems like a fairly small solution,as im not yet familiar with the autorun use/editing..and im not 100% sure which is the most efficient solution across different projects
             regards,the fuse

Re: best solution for driver loading at startup for portability
« Reply #1 on: June 29, 2019, 05:06:13 AM »

thefuse

  • Jr. Chef
  • **
  • Date Registered: Jul 2016
  • Posts: 65
Would this solution work for driver folder on the usb?

Also, For those that do not want to integrate Drivers into the Boot.wim... (Via Build Core Option)
You can create a "Drivers" Folder on the root (Y Drive) and include your custom drivers...
Then edit pecmd.ini and unmark the line to add the drivers from Y:\Drivers
Code: [Select]
//EXEC @!%WinDir%\System32\pnputil.exe /add-driver Y:\Drivers\*.inf /subdirs
==>
EXEC @!%WinDir%\System32\pnputil.exe /add-driver Y:\Drivers\*.inf /subdirs


Quote from james suggestion in another topic for http://theoven.org/index.php?topic=2810.0

Re: best solution for driver loading at startup for portability
« Reply #2 on: June 29, 2019, 07:07:38 AM »

thefuse

  • Jr. Chef
  • **
  • Date Registered: Jul 2016
  • Posts: 65
Tried it with success....ill leave this here for others to reference to :thumbsup:

Re: best solution for driver loading at startup for portability
« Reply #3 on: June 29, 2019, 01:19:03 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Would this solution work for driver folder on the usb?

Also, For those that do not want to integrate Drivers into the Boot.wim... (Via Build Core Option)
You can create a "Drivers" Folder on the root (Y Drive) and include your custom drivers...
Then edit pecmd.ini and unmark the line to add the drivers from Y:\Drivers
Code: [Select]
//EXEC @!%WinDir%\System32\pnputil.exe /add-driver Y:\Drivers\*.inf /subdirs
==>
EXEC @!%WinDir%\System32\pnputil.exe /add-driver Y:\Drivers\*.inf /subdirs

Quote from james suggestion in another topic for http://theoven.org/index.php?topic=2810.0

Tried it with success....ill leave this here for others to reference to :thumbsup:

NOTE: My quoted reply was was in reference to XPE Project
« Last Edit: June 29, 2019, 01:21:14 PM by James »

Re: best solution for driver loading at startup for portability
« Reply #4 on: June 29, 2019, 08:02:37 PM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
There are a lot of posts lately about driver integration. Specifically for portability the below solution should work as needed.

To avoid reposts: http://theoven.org/index.php?topic=2856.msg33659;topicseen#msg33659

Re: best solution for driver loading at startup for portability
« Reply #5 on: June 30, 2019, 02:59:18 AM »

thefuse

  • Jr. Chef
  • **
  • Date Registered: Jul 2016
  • Posts: 65
bob,
    the .cmd file you suggested works great! Thank you so much for direction on this and both yours and James time,I did have to edit it to reflect E: instead of Y: but it works a treat.Thank you both so much :bravo:

 

Powered by EzPortal