Windows cannot connect to the printer 0x0000007e
When faced with the above error while installing an HP printer to a workstation recently, I tried absolutely everything to resolve it.
I removed drivers (in some cases I had to do this manually with Explorer and regedit!), stopped and restarted print spoolers, manually removed settings and still it wouldn’t install, always giving “Windows cannot connect to the printer. 0x0000007e”. I simply couldn’t connect to a shared printer from a Windows 7 workstation.
After searching the Internet at length and trying a great many number of other options, I came across a post by Alan Morris of the Windows Printing Team at Microsoft who suggested deleting the [BIDI] key from the registry for the affected printer on the server which shares the printer. So, on your print server, locate the following key:
Export the key, in case you need to restore settings from it for any reason, then delete it.
On the destination workstation, restart the Print Spooler service and then attempt to add the printer again.
The issue seems to be related to the HP Universal Printer Driver (latest as of 08/09/2011) with both 32 and 64 bit versions installed.
What’s even more strange is that when you have successfully installed that printer and you attempt to install any other printers installed on the same print server but for which you haven’t deleted the [BIDI] key, they will install just fine.
Yes, I’m confused too…