If you're installing OEM (Dell, HP, Lenovo) driver packs for different models, this tip might save you time.
1. Extract the driver CAB (expand -f) or self-extracting EXE to a folder (C:\Drivers)
2. REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UnattendSettings\PnPUnattend\DriverPaths\1" /v Path /t REG_SZ /d "C:\Drivers"
3. C:\Windows\System32\pnpunattend.exe AuditSystem /L
Those of you in a workgroup, can create folders sorted by model name.
Using this method, you can make a generic build and repackage your own driver CAB's.
1. Extract the driver CAB (expand -f) or self-extracting EXE to a folder (C:\Drivers)
2. REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UnattendSettings\PnPUnattend\DriverPaths\1" /v Path /t REG_SZ /d "C:\Drivers"
3. C:\Windows\System32\pnpunattend.exe AuditSystem /L
Those of you in a workgroup, can create folders sorted by model name.
Code:
C:\Users\GARLIN\>wmic csproduct list full
Description=Computer System Product
IdentifyingNumber=*************
Name=20378
SKUNumber=
UUID=************************************
Vendor=LENOVO
Version=Lenovo Y50-70
Code:
@echo off
for /f "tokens=2" %%a in ('wmic csproduct list full ^| find "Version"') do (
echo %%a
)
Y50-70
Using this method, you can make a generic build and repackage your own driver CAB's.