Events
Apr 29, 2 p.m. - Apr 30, 7 p.m.
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Pnputil.exe is a command line utility that you can use to manage the driver store. You can use this command to add driver packages, remove driver packages, and list driver packages that are in the store.
pnputil.exe [-f | -i] [ -? | -a | -d | -e ] <INF name>
Parameter | Description |
---|---|
-a | Specifies to add the identified INF file. |
-d | Specifies to delete the identified INF file. |
-e | Specifies to enumerate all third-party INF files. |
-f | Specifies to force the deletion of the identified INF file. Can't be used in conjunction with the –i parameter. |
-i | Specifies to install the identified INF file. Can't be used in conjunction with the -f parameter. |
/? | Displays help at the command prompt. |
To add an INF file, named USBCAM.INF, type:
pnputil.exe -a a:\usbcam\USBCAM.INF
To add all INF files, located in c:\drivers, type:
pnputil.exe -a c:\drivers\*.inf
To add and install the USBCAM.INF driver, type:
pnputil.exe -i -a a:\usbcam\USBCAM.INF
To enumerate all third-party drivers, type:
pnputil.exe –e
To delete the INF file and driver named oem0.inf, type:
pnputil.exe -d oem0.inf
Events
Apr 29, 2 p.m. - Apr 30, 7 p.m.
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up now