Pnputil
適用於: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista,2012,10,2016
Pnputil.exe is a command line utility that you can use to manage the driver store. You can use Pnputil to add driver packages, remove driver packages, and list driver packages that are in the store.
Syntax
pnputil.exe [-f | -i] [ -? | -a | -d | -e ] <INF name>
Parameters
-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. Cannot be used in conjunction with the –iparameter.
|
-i
|
Specifies to install the identified INF file. Cannot be used in conjunction with the -f parameter.
|
/?
|
Displays help at the command prompt.
|
Remarks
Examples
- pnputil.exe -a a:\usbcam\USBCAM.INF Adds the INF file that is specified by USBCAM.INF
- pnputil.exe -a c:\drivers\*.inf Adds all INF files in c:\drivers\
- pnputil.exe -i -a a:\usbcam\USBCAM.INFAdds and installs the specified driver.
- pnputil.exe –e Enumerates all third-party drivers.
- pnputil.exe -d oem0.inf Deletes the specified.
- pnputil.exe -f -d oem0.inf Forces the deletion of the specified INF file.
沒有留言:
張貼留言