Automated Driver Installs with pnpunattend

garlin

Moderator
Staff member
If you're installing OEM (Dell, HP, Lenovo) driver packs for different models, this tip might save you time.

ExWEL5tWgAAQg9H


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.
 
its very clear why do you need a video for this explanation. i am using this for PC or laptop drivers installation & its working flawlessly.
 
Back
Top