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.
语法:
PnPUtil [/a [/i] InfFileName] [/d [/f] PublishedInfFileName] [/e] [/?]
例子:
C:\>pnputil /a m:\MyDriver.inf
C:\>pnputil /e
C:\>pnputil /d oem22.inf