Fixing stuff and maybe other things.

Fixing “Cannot connect to printer error 0x0000007e”

Recently, we had some problems setting up some network printers on computers running 64-bit Vista. We could connect to the print server, but making connections to the individual printers gave us this error. Good times.

The workaround was to add the printer manually, as a local printer. To do this: Go to Control Panel > Printers > Add Printer. Then add a new local printer, using a local port. (Not TCP/IP.) For the name, put in the whole path. This will be something like: \\YourPrintServer\ThePrintersName

Now it will ask you about drivers. (Make sure you have downloaded the 64-bit drivers for your printer.) Choose Have Disk…, and browse to where you saved them. With luck, it will now ask you for what you want to call the printer on your local computer, and you’re done!

This fix worked for every computer we ran into this error for. Good luck!

Posted under: Fixing Stuff


#1 by Scott on 03.09.10 at 12:01 pm

Worked for me on Vista 32-bit with a company print server. Thanks!

#2 by zp on 05.17.10 at 2:59 pm

Worked for me on Win 7 64-bit with network printer. Created local port of \\printserver\printer. Thanks.

#3 by Ant on 09.03.10 at 10:41 am

I had the same problem – it turned out to be HP’s 64-bit drivers copying over a wrong dll to the client computers. I’ve documented the problem and solution here… just needs one registry tweak on the server.

#4 by PB on 09.08.10 at 9:19 am

This is actually a bug in Windows 7 and Windows 2008 R2. You can download the hotfix, but it is not yet available via WSUS or Windows Update.
“Windows cannot connect to printer” error message when you try to create a Point and Print connection to a remote printer from a Windows 7 or Windows Server 2008 R2-based client computer

#5 by Mick Brown on 02.12.11 at 1:21 pm

I also had this problem. However, I vould only fix it by changing the system local language. This page describes it at solution 3:

#6 by FirefighterGeek on 03.23.11 at 7:20 am

Thanks for this. For my HP network printer on Windows 7, I had to do this as well — going a step further.

It was necessary to remote the printers, then add them back manually, but when adding back I had to create new ports with names that were shorter an contained only letters. By default, when you create a standard tcpip port, it wants to use the IP address you type in as the name as well. I had to override this and use a text name. Then, when asked if I wanted to keep the existing driver or replace it, it hit “replace” and it copied over the files from its internal safe-cache of them. Finally, it worked.

#7 by Greg on 02.02.12 at 2:13 pm

Worked for me with Lanier/Ricoh printer on Win7-64 (server is 2008 Std). Thanks!

#8 by anakrantau98 on 02.27.12 at 6:40 pm

thanks brother.

work like charm !!!

but still only hp printer tested. not for other printer.

and for microsoft. new technology upgraded but never consider customer using their old technology.

what should i say? microsoft shit !!! capitalism !!!!

#9 by Anil Parashar on 03.07.12 at 5:41 am

install the printer locally, on lpt2
then ad dos prompt enter this redirect command
net use LPT2 \\computername\sharedprintername /persistent:yes

It works for me, but it is not a good fix for a managed print spooler on client/server network.
good luck

#10 by Farhad on 07.15.12 at 6:35 am


#11 by inno on 08.28.12 at 1:24 am

Thanks a lot you are the best !!!

#12 by Masahiro on 10.10.12 at 3:18 pm

for a printer, i can rceemmond hp. they are very good and have great customer service. you can get the HP color LaserJet 1600 for about $ 300 on their website. as for scanners, so far i haven’t come across a poor name, so find what features you like and go from there.hope that helps.

#13 by Andrey on 10.12.12 at 2:49 am

Thank you so much! It works on windows server 2008 r2 which uses HP P2055d connected to windows 7 32bit.

#14 by Omari on 11.12.12 at 8:16 am

restart print spooler works everytime

#15 by Tod Wulff on 12.30.12 at 11:26 pm

This worked great on a Win7 Ultimate x86 box when having trouble connecting to a HP 2100 PCL6 physically attached to a Win7 Home Premium x64 box.

I was getting a ‘connect to shared printer operation failed error 0x0000000a’

I had to download the x86 drivers onto the client pc and then:

1) in explorer’s printers and devices, click the ‘add a printer’ button on the tool bar
2) select add a local printer
3) select the radio button for Create a new port
4) make sure that ‘local port’ is selected in the type of port drop down list
5) click next
6) enter the \\server\printer in the ‘port name’ dialog box
– in my case it was: \\WIN7HPX64COREI7\HP LaserJet 2100 PCL6
7) follow the rest of the wizard’s dialogs to get the printer added.

This worked as expected and advertised. Thank you very much.


#16 by Marcos Valente on 07.31.13 at 12:34 pm

Hi Guys,
I have a same issue,

Resolv this problem exclude folder BIDI in the PrintServer.


#17 by Frederic on 08.27.13 at 9:04 am

Didn’t work for me, keeps saying Cannot Connect to printer

#18 by Dee on 10.01.13 at 4:31 pm

This workaround worked for us. I had one stubborn computer that just would not connect. I tried all of the fixes I could though Microsoft and really didn’t want to bother our IT person. Running Win7x64. Thank you so very much!
P.S. I love the cute little smiley toast at the bottom of the page.

#19 by Toastmaster General on 10.01.13 at 4:33 pm

Glad it helped! And I love that you noticed that.

#20 by ANN on 10.17.13 at 8:15 pm


#21 by Bryan on 01.19.14 at 8:29 pm

what if it is access denied?

#22 by Jaseem on 02.04.14 at 5:46 am

Detailed steps with screen shots are given in the following link.

[Solved] Operation failed with error 0x0000007e

#23 by mustafa on 02.23.14 at 2:03 am

worked for me, thanks indeed.

#24 by Tom B. on 03.23.14 at 12:53 pm

Worked for me even though I had different error no. (0x0000000a) on a Windows 8.1×64 trying to use an HP Laserjet 1200 printer attached to a Windows XP machine on a local workgroup (no server).

#25 by Mostafa on 06.18.14 at 10:16 pm

Thank you so much. It worked for me!

#26 by Samarasiri on 08.27.14 at 4:43 am

Thank you very much. it worked for me

#27 by denigerrard on 09.17.14 at 2:03 am

it works! big thanks

#28 by babu on 11.01.14 at 1:58 am

operation failed with erron 0x0000000a.

#29 by oyetunji on 01.05.15 at 8:22 am

Thanks It worked

#30 by elu malai on 02.19.15 at 11:42 pm

Worked for me even though I had different error no. (0x0000000a) on a Windows 8.1×64 trying to use an HP Laserjet 1200 printer attached to a Windows XP machine on a local workgroup (no server).

#31 by Harry on 02.24.15 at 2:56 am

Great solution. Thank you very much

#32 by Glenn Dessa on 03.30.15 at 8:02 pm

Thanks Aaron!!!

Could not see my shared old Lexmark across my network shared on my desktop machine.

I can see it now! Thanks man! I am sending a virtual beer! Cheers!

#33 by Leuname on 04.27.15 at 6:36 am

Thanks, it worked for me, just add as a local and select create a new port local port and then pass the printer path and wualla its printing. THANKS A LOT

#34 by Clementina Ramos on 08.03.15 at 3:53 pm

I m getting a print error is the weapons helper running and set to the correct address /port??? Can any Boby help me with please thanks

#35 by Clementina Ramos on 08.03.15 at 3:55 pm

I mean webpos !! Sorry

#36 by Tung Pham on 09.22.15 at 10:37 pm

Thank you very much!
It worked with my laptop (Win7 x64) when connect to sharing printer running on WinXP.

#37 by Oscar on 02.12.16 at 8:34 am

I deleted the printer name entry from my print server (Citrix) and reinstalled to the print server. It worked! !

#38 by fariborz on 07.10.16 at 9:58 pm

i had a same problem to add the p2055 network printer.
your method work for me.

#39 by elias on 07.29.16 at 7:48 am

when i enter port name they say “Access is Denied” plz how can i solve

#40 by lina on 10.13.16 at 5:41 am

i had the same problem to connect my computer to another computer printers and also i can’t get local port. please somebody help me now

Leave a Comment