[Windows driver store] Add/remove driver package to the driver store using PnPUtil
PnPUtil (PnPUtil.exe) is a command line tool that lets an administrator perform the following actions on driver packages:
- Adds a driver package to the driver store.
- Deletes a driver package from the driver store.
- Enumerates the driver packages that are currently in the driver store. Only driver packages that are not in-box packages are listed. An in-box driver package is one which is included in the default installation of Windows or its service packs.
Usage:
------
pnputil.exe [-f | -i] [ -? | -a | -d | -e ]
Examples:
pnputil.exe -a a:\usbcam\USBCAM.INF - Add package specified by USBCAM.INF
pnputil.exe -a c:\drivers\*.inf - Add all packages in c:\drivers\
pnputil.exe -i -a a:\usbcam\USBCAM.INF - Add and install driver package
pnputil.exe -e - Enumerate all 3rd party packages
pnputil.exe -d oem0.inf - Delete package oem0.inf
pnputil.exe -f -d oem0.inf - Force delete package oem0.inf
pnputil.exe -? - This usage screen
Location of VM NIC driver to restore from:
C:\Program Files\VMware\VMware Tools\Drivers\vmxnet3\vmxnet3ndis6.inf
Ref: https://msdn.microsoft.com/en-us/windows/hardware/drivers/devtest/pnputil
Ref: https://msdn.microsoft.com/en-us/windows/hardware/drivers/devtest/pnputil
Comments
Post a Comment