DevCon Dp_delete
Note
PnPUtil ships with every release of Windows and makes use of the most reliable and secure APIs available. We recommend using PnPUtil instead of DevCon. See the Recommended replacement below and Replacing DevCon for more information.
Deletes a third-party (OEM) driver package from the driver store on the local computer. This command deletes the INF file, the PNF file, and the associated catalog file (.cat).
devcon [-f] dp_delete inf
Parameters
-f
This parameter deletes the driver package even if a device is using it at the time.
inf
The OEM*.inf file name of the INF file. Windows assigns a file name with this format to the INF file when you add the driver package to the driver store, such as by using DevCon dp_add.
Recommended replacement
pnputil /delete-driver inf
For more recommended replacements, see Replacing DevCon.
Sample usage
devcon dp_delete oem2.inf
devcon -f dp_delete oem0.inf