Archive for June, 2008

Get error when uninstalling AVG 8.0

Thursday, June 19th, 2008

Was trying to uninstall AVG 8.0 and got the following error.

“Local machine: installation failed
Installation:
Error: Action failed for file clock.gif: creating backup….
Error 0×80070020 %DESTINATION% = “C:\Program Files\AVG\AVG8\Icons\clock.gif.install_backup”, %SOURCE% = “C:\Program Files\AVG\AVG8\Icons\clock.gif”
Error 0×80004004″

 I tried to delete the hklm\software\AVG key like was suggested in some articles and that did not work. I then tried to delete the file that was giving error clock.gif and it told me the file was in use.

I then figured that AVG had the file in use while it was trying to uninstall it.  So I disabled the AVG8 e-mail scanner and AVG8 Watchdog services, restarted the machine, and was then able to uninstall AVG.

 

 

Citrix Server won’t auto client create printers – event ID 1116

Tuesday, June 10th, 2008

A server running Citrix Presentation Server 4.5 at one of our clients would not auto client create printers when users connect. It would log an error in the event viewer for every printer that was being mapped with Event ID 1116.

Event Type: Error

Event Source: MetaFrameEvents
Event Category: Printer Management
Event ID: 1116
Date: 6/6/2008
Time: 7:54:46 AM
User: N/A
Computer: SERVER1

Description:
Printer auto-creation failure. Reason: AddPrinter() failed with status 0×5. Client name: (PC01) Printer name: (Client/PC01#/HP Laser Jet 4000) Port name: (Client\PC01#\HP Laser Jet 4000) Driver name: (Citrix Universal Printer) Print processor: (Citrix Print Processor)

I didn’t have much luck with figuring out what was going on until I focused on the actual error stated in the eventlog “AddPrinter() failed with status 0X5.” since 0X5 is usually an access denied code.

A little searching and I found a similar problem with Citrix Presentation Server 4.0 and the user permissions for the Ctx_SmaUser. This user is a local user and one of its jobs is to be the service user for the Citrix Print Manager Service. The user that Presentation Server 4.5 uses is named Ctx_SmaUser. I verified that this user belonged to the same groups as it did on the other server and then to test my theory that it was a user permission problem I changed the user that ran the service to the local administrator account. Once restarting the Citrix Print Manager Server I was able to login and have my printers connect.

Running the following tool from Citix fixed the user permissions for the Ctx_SmaUser user and I was able to change the user back on the service and have it create printers normally.

http://support.citrix.com/article/CTX113554

This tool automates what you need to do that is in this article:

http://support.citrix.com/article/CTX113555

Yeah, thought you would be running the tool :)