Monday, October 5, 2009

DCOM Server Error Related to Printer Drivers

DCOM errors related to HP Printers on the network. This is a result of having shared printers on the server that are no longer really on the server. For instance a shared HP Laserjet 1200 when there is no longer a laserjet 1200 model because you've updated to a 1400 model now.

OTHER OPTIONS: Start / RUN / dcomcnfg.exe (To View Info)
Open registry using REGEDIT 2. Open the HKEY_CLASSES_ROOT branch 3. Search for the hex number {5A5AA0AA-1DEB-4683-96B0-B43301E83971} 4. When you get a match the folder name will give you a clue as to what program is causing this errror. 5. Go onto the vendor webiste and look for fixes

REMOVE PRINTERS FROM REGISTRY:

There is a problem with NT printer definitions that may cause you problems. You follow standard advice to uninstall and reinstall the printer driver. Sometimes this doesn't fix the problem and you have no choice but to remove a printer. When you use the Remove or Delete Printer options in Print Manager, the printer connection disappears immediately. However, the spooler simply marks the printer for deletion. NT doesn't actually delete the printer until you reboot the system. Sometimes NT will delete the definition if you stop and restart the spooler. Sometimes it doesn't. If this doesn't work, and you will find out when you try to redefine the printer. No issue for workstations. You can reboot. Unfortunately there are servers which can not be rebooted (or at least not for something like a printer definition). For servers which can not be rebooted, you can remove the printer definition from the registry by hand prior to the reinstall.

If it is a local printer (My Computer), go to the following registry keys and delete the respective entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\ Windows NT x86\ Drivers\Version-2\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\

If it is a network printer (network printer server or \\), go to the following registry keys and delete the respective and entries:
HKEY_CURRENT_USER\Printers\Connections\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Providers\ LanMan Print Services\Servers\\Printers\

After the registry edit, you need to stop and restart the spooler service. At this point, you'll be able to reinstall the printer driver correctly.

No comments:

Post a Comment