Free script parses event logs and compiles client printer autocreation errors

Rating:
Votes: 28 rating(s),  Score: 126/140
10
comments
16277 views
Robert Iutzwig has created a script that connects to your servers one-by-one and scans their application logs searching for 1103, 1104, 1106, and 1107 printer autocreation errors. It then outputs this list of printer drivers to a text file.
Related Downloads
Written by:
Brian Madden
Publication Date:
December 05, 2006
Doc #Id: 646


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.

Reader Comments
Thanks!
Tuesday, December 05, 2006 9:34:02 AM
This is helpful!
nice script
Wednesday, December 06, 2006 8:00:37 AM
A very nice script indeed. looks a bit like the application that Douglas Brown created but way less advanced :)
I will crosspost it on datacrash.
Does it work with W2K?
Wednesday, December 06, 2006 2:55:55 PM
I see it's designed for W2K3 but has anyone tested it with W2K servers?
RE: Does it work with W2K?
Thursday, December 07, 2006 3:36:32 AM
I think it will work on windows 2000 environment simply because the script browses your security logs and reports the events back in a txt file. This works the same on 2000 as on 2003.
RE: Does it work with W2K?
Monday, February 12, 2007 1:20:42 AM
I have not been able to get the script to run on 2k box.

what is the correct syntax used in server.txt file ?

I have tried \\servername and just servername


no joy! just outputs blank evtlogquery.txt & evtlogqueryfinal.txt

The user account I am using can manually access each event viewer on the citrix servers and has permissions to the "Application" event..



ORIGINAL: mutsje

I think it will work on windows 2000 environment simply because the script browses your security logs and reports the events back in a txt file. This works the same on 2000 as on 2003.
RE: Does it work with W2K?
Monday, February 12, 2007 6:24:51 AM
Well I tested this fine on 2k3 boxes, all the win2k boxes failed.
 
RE: Does it work with W2K?
Wednesday, April 11, 2007 7:49:49 AM
It was not written for Windows 2000.  It was written specifically for Windows 2003 and Citrix Presentation Server 4.
Understanding Output
Tuesday, March 13, 2007 1:29:22 PM
Thanks for the script.  I am a little unsure about the content of evtlogqueryfinal.txt.  When I look at it therer are two sections of printers.  The first is about 104 printers and the second is about 500 lines.  Is the first section the ones that are showing up most often and the second is just the total?
 
 
Thanks for the help,
 
Keith Morgan
RE: Understanding Output
Wednesday, April 11, 2007 7:45:17 AM
Evtlogquery.txt lists every 1103, 1104, 1106, and 1107 event log entry encountered for each server specified in servers.txt.  Evtlogqueryfinal.txt is a summary of Evtlogquery.txt (listing only unique printers that did not autocreate properly for each server specified in servers.txt).
is the Printlog Crawler Download available
Saturday, April 21, 2007 4:24:47 PM

Guest

I have a download not found  

Thanks for the help

Xavier

 

Post a New Comment
User:
Title:
Comment:
  Type on box the code you see on image below: