1

I have a Dell E5450 and I have downloaded the Windows 10 driver pack cab file from Dell. I'd like to use 7zip to extract these driver files to their proper location on the windows computer only using the command line.

I have read that windows 10 .inf files need to live in C:\WINDOWS\INF and .sys files need to live in C:\WINDOWS\SYSTEM32\drivers or in C:\WINDOWS\SYSWOW64\drivers of x64 machines.

So, theoretically, if I extract all the .inf files to C:\WINDOWS\INF using this command:

7z e [.cab file location ] -o [C:\WINDOWS\INF] [*.inf -r]

And all of the .sys files to C:\WINDOWS\SYSTEM32\DRIVERS\ using this command:

7z e [.cab file location ] -o [C:\WINDOWS\SYSTEM32\DRIVERS] [*.sys-r]

Should that "install" the drivers to the machine? Is there a better way to do this? Is there another location on the C:\ drive where driver files live? Is this even possible? Again, I'm looking to find a solution to just install all of the drivers for this machine via the command line with no user interaction in the device manager.

Thanks!

newman
  • 13

1 Answers1

2

PnPUtil Microsoft command MIGHT be able to install extracted drivers, not sure how well it'd work with directories/multiple-drivers.

https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/pnputil

gregg
  • 6,307