Remove unused PNP drivers from system.

This will remove drivers of working, but disconnected devices. (e.g. USB Drives Printers, old video devices, etc).

FOR /L %G in (1,1,999) do PnPutil.exe -D oem%G.inf

For further cleanup: I recommend Device Cleanup Tool from Uwe Sieber. You can get it from their website.
https://www.uwe-sieber.de/english.html

Leave a Reply