I have about 200 identical make/model local printers installed throughout a building. The problem is that the default installation puts two drivers on the client, but sets the wrong driver as default. To change it manually, I right-click on the printer, choose "Printer Properties", click the "Advanced" tab and change the driver selection and click OK.
I need to do this on all the others, but hopefully not by having to manually visit each machine. I've looked at a bunch of WMI scripts, and examples using PrintUI.exe (printui.dll). I can change the driver selection using the following printui syntax:
printui /Xs /n "hp LaserJet 8888 PCL 5" DriverName "hp LaserJet 8890 PCL 5"
And this seems to work. But, the problem is that once I've run this command, the very next time I right-click on the printer and select "Printer Properties" I am prompted to re-install the printer driver using the wizard. Is there a better way or a way around this?