How do I uninstall a driver using the PNPUTIL command - delete driver OEM.inf file. (Windows 7, 8, 10, 11)

How do I uninstall a driver using the PNPUTIL command - delete driver OEM.inf file. (Windows 7, 8, 10, 11)

PNPUtil documentation is here: https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/pnputil-command-syntax


Instructions:

1. Open My Computer.

2. Browse to the " C:\Windows\INF" folder.

3. To find out what file to delete, use the search box.  Type oem contents: <driver name>  For example oem contents: LX3000



4. At this point, you can attempt to delete the file, but typically Windows will not allow you to delete it unless you use the PNPUtil command.

5. Open the Command Prompt as Administrator.  



6. Use the PNPutil command to delete the oem driver file and uninstall the driver.  Type pnputil /delete-driver oem65.inf /force /uninstall where the oem65.inf would be replaced with whatever file you have found in step 3. 



7. Reboot the computer.

Article ID: 45084