Stay tuned for future articles on Windows scripting with vbscript and Windows Management Instrumentation.
One of my first posts will be my ongoing enhancement of a remote printer deployment script I originally created to help install a new printer to 30 Windows XP-based computers. This script was later enhanced to support the deployment of different printers based on the subnet the target computer is in. To date this script has been successful installing drivers for the following line of printers: Ricoh Aficio, Canon imageRunner, and HP LaserJet.
As of this writing I have only come across two drivers that failed to install using my remote printer deployment script: HP Color LaserJet 4650dtn and HP LaserJet P4010dtn. These same drivers installed flawlessly when used with the Add Printer Wizard GUI. I was able to find the cause of the driver installation failure when scripted and will be creating a separate article on finding issues like this and “patching” the driver files so that they work properly in a script.