TechNet Forum Windows 7 Support Team

Error "0x0000052e" Appears When You Try to Install a Network Printer in Windows 7

Error "0x0000052e" Appears When You Try to Install a Network Printer in Windows 7

  • Comments 15
  • Likes



When you try to install a network printer on a computer that is running Windows 7, you receive the following error message:


Windows cannot connect to the printer (details: Operation failed with error 0x0000052e)




This problem can occur if the credentials on the Windows 7 client do not match the credentials that are stored on the print server. Error message "0x0000052e" indicates the following error:

 "Logon failure: unknown user name or bad password."




To work around this problem, use either of the following methods:


1.     Before you add the network printer, open a Command Prompt window, and type the following at the command prompt and enter the appropriate credentials in the authentication window:


start \\<servername>\<printername>


Note: In this command, <servername> represents the name of the print server and <printername> represents the share name of the printer.


2.     Store a trusted credential in Credential Manager. To do this, follow these steps: 


1)      In Control Panel, open Credential Manager.

2)      Click Add a Windows credential.

3)      In the dialog box, enter an appropriate print server name. Then, enter a user name and password that are trusted on the print server.

4)      Click OK.




This behavior is different in earlier Windows versions. In those versions, you are prompted for credentials if the connection fails because of an unknown user name or a bad password.



  • Thank you, helped a lot.

  • Worked like a charm even with my laptop with W7 and is tied to my Windows Server 2012.


  • Worked great but I had to enclose the statement in quotes due to spaces in the printer name. My statement was like this:

    start "\\Win7Server\Brother MFC-7220 USB Printer"

  • Thank you this resolved my problem.

  • It did not work for me but I found a another work around.
    I remove the PC from the domain and re add it.
    That solved the issue for me

  • That’s a Awesome blog ,We can provide a best services of you problem , any time you can call my help desk number and solve your problem just go through this url.
    Thank you
    Aalia lyon

  • Thank you. this was a great help, as our corporate IT person seemed to be stumped. It turned out that another IT person had used my computer a few weeks ago and stored his account in my credential manager. I changed my domain password yesterday and this was the first time I tried to print to that printer since then. It's all good now.

  • Thank you very much, perfect.

  • Nice. Thanks!

  • Nice Reply to problem Thank !

  • Great information. It fixes my printer problem. Thanks alot.

  • Thanks for posting good solution.
    I've resolved my problem with 2nd option.

  • Perfect! It worked like charm!

  • I just came across this blog after entering the error string. im not at home now to try this but looks very promising.
    but I wonder how it is that the credentials are suddenly "no good" or expired or whatever the case.
    no one else been on my internal home setup but me. I haven't changed any logins or accounts in any way. I just wasn't able to print one day. Anyone have any idea as to WHY this sort of thing happens to begin with?

  • Very helpful post..Worked for me..thanks!

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment