by
Brian Madden
Everyone knows that one of the challenges of Citrix Presentation Server is that autocreated client printers sometimes don't autocreate. When this happens (or doesn't happen?), the most likely cause is a printer driver mismatch between the client and the server. Whenever the Presentation Server tries but fails to autocreate an ICA client printer, it writes an event to the Application Event Log.
Robert Iutzwig has created this straightforward script that connects to your servers one-by-one and scans their application logs searching for 1103, 1104, 1106, and 1107 printer management errors. It then outputs this list of printer drivers to a text file. It also creates a second text file that lists each of the errors encountered on each server so you can see which drivers are causing the most problems.
To use it, you'll find two files in the attached ZIP archive. First you need to edit servers.txt so that it contains a list of all the servers you want to check. Then simply run CPS4ELCrawler.vbs with admin rights from one of your servers.
This script was built for Windows Server 2003 and Citrix Presentation Server 4 environments.
PrintLogCrawler.zip
(Note: You must be logged in to post a comment.)