How to fix network print queue installation error 0x0000007e on Windows

Printer-Error

Problem:

The print queue of a HP printer on a Windows 2003 Server (clustered) already has its 32-bit driver installed.

For my new 64-bit Windows 7 client to use the print queue, I installed the 64-bit printer driver on the server.

However, when I connect to the print queue on the 64-bit Windows 7 client, at the end of the installation, it will fail with error:

Windows cannot connect to the printer
Operation failed with error 0x0000007e

Solution:

Delete the “CopyFiles” key from HKLM\Cluster\Resources\<LongString>\Parameters\Printers\<QueueName>

Non-clustered server may have the key at HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\<QueueName>. Just do a search in regedit using your QueueName to find the right location.

Remember to backup the key before changing the registry.