Topic: Load driver from folder at startup  (Read 1590 times)

Load driver from folder at startup
« on: April 17, 2018, 11:39:51 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Quote
I would like to ask you a question that I made in the forum and I could not solve it.
would it would be possible to add that the drivers to the boot from a folder in the usb?
I do not know what command to use at the start for it.

Thank you very much

Code: [Select]
pnputil.exe -a c:\drivers\*.inf

Adds all INF files in c:\drivers\

You would have to add the above command to the autorun.cmd

If you are running your PE from the Y drive, then you would create a "drivers" folder on the Y drive
Then edit the above command to reflect drive Y instead of C

One Small Note: If the driver requires the system to reboot - then that driver will not work.
As you will get into a reboot loop when trying to boot PE

Re: Load driver from folder at startup
« Reply #1 on: April 17, 2018, 02:58:05 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Hi @James

First, thank you for explaining it.  :thumbsup:

Now that I see the command I have some doubts.

-How would you recognize those drivers if you see them in organized subfolders?

Quote
For example
  Y:/Driver/Camera/oem13.inf

- How do I recognize which of the drivers need a restart?, To not copy those drivers.

Greetings and excuse me if the questions are very basic.

Re: Load driver from folder at startup
« Reply #2 on: April 17, 2018, 08:13:28 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
pnputil.exe -a Y:/Driver/Camera/oem13.inf

Re: Load driver from folder at startup
« Reply #3 on: April 18, 2018, 07:02:02 AM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Hi @James


It was just an example. What I wanted to refer to was that the subfolders were not fixed, since they are not the same drivers for my tablet as for the desktop PC.
So I did not know if there was a way to search all the infs on startup, regardless of whether they were reorganized in other folders inside the driver.

Greetings and many thanks for answering.

 

Powered by EzPortal