Plug and Play Utility to manage device drivers.
Syntax Add driver package(s) into the driver store: PNPUTIL /add-driver filename.inf | *.inf [/subdirs] [/install] [/reboot] Delete driver package from the driver store. PNPUTIL /delete-driver oem#.inf [/uninstall] [/force] [/reboot] Export driver package(s) from the driver store into a target directory: PNPUTIL /export-driver oem#.inf | * target_directory Enumerate all 3rd party driver packages in the driver store: PNPUTIL /enum-drivers Enumerate all devices on the system: PNPUTIL /enum-devices [/connected | /disconnected] [/instanceid instance_ID] [/class name | GUID] [/problem [code]] [/ids] [/relations] [/drivers] Enumerate all device interfaces on the system: PNPUTIL /enum-interfaces [/enabled | /disabled] [/class GUID] Disable devices on the system: PNPUTIL /disable-device[/reboot] Enable devices on the system: PNPUTIL /enable-device [/reboot] Restart devices on the system: PNPUTIL /restart-device [/reboot] Attempt to remove a device from the system: PNPUTIL /remove-device instance_ID [/subtree] [/reboot] Scan the system for any device hardware changes: PNPUTIL /scan-devices [/instanceid instance_ID] [/async] PNPUTIL /? Key: /async : Scan for changes asynchronously. /connected : Filter by connected devices /disconnected : Filter by disconnected devices. /class name | GUID : Filter by device class name or GUID. /disabled : Filter by disabled interfaces. /drivers : Display matching and installed drivers. /enabled : Filter by enabled interfaces /force : Delete driver package even when it is in use by devices. /ids : Display hardware IDs and compatible IDs. /install : Install/update drivers on any matching devices. /instanceid instance_ID : Scan or filter the device subtree by device instance_ID. /problem [code] : Filter by devices with problems or Filter by specific problem code. /reboot : Reboot system if needed to complete the operation. /relations : Display parent and child device relations. /subdirs : Traverse sub directories for driver packages. /subtree : Remove entire device subtree, including any child devices. /uninstall : Uninstall driver package from any devices using it.
PnPUtil is included in every version of Windows, starting with Windows Vista (in the %windir%\system32 directory). There isn't a separate PnPUtil download package.
Driver packages use a setup information (.INF) file for installing device drivers for hardware components.
An INF file is a text file containing information used to properly install a driver package on a device.
Add driver package:
PNPUTIL /add-driver x:\driver.inf
Add multiple driver packages:
PNPUTIL /add-driver c:\oem\*.inf
Add and install driver package:
PNPUTIL /add-driver device.inf /install
Delete driver package:
PNPUTIL /delete-driver oem0.inf
Force delete driver package:
PNPUTIL /delete-driver adobe.inf /force
Export driver package:
PNPUTIL /export-driver ss64.inf
Export all driver packages:
PNPUTIL /export-driver * c:\backup
Enumerate only enabled interfaces on the system:
PNPUTIL /enum-interfaces /enabled
Enumerate all interfaces with specific interface class GUID:
PNPUTIL /enum-interfaces /class {884b96c3-56ef-11d1-bc8c-00a0c91405dd}
Enumerate all OEM driver packages:
PNPUTIL /enum-drivers
Disable device:
PNPUTIL /disable-device "USB\VID_045E&PID_00DB\6&870CE29&0&1"
Enable device:
PNPUTIL /enable-device "USB\VID_045E&PID_00DB\6&870CE29&0&1"
Restart device:
PNPUTIL /restart-device "USB\VID_045E&PID_00DB\6&870CE29&0&1"
Remove device:
PNPUTIL /remove-device "USB\VID_045E&PID_00DB\6&870CE29&0&1"
Scan devices:
PNPUTIL /scan-devices
“I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel” ~ Maya Angelou
DISKPART - Disk Administration.
FSUTIL - File and Volume utilities.
DriverQuery - Display installed device drivers.