Windows: Shared Printer Cannot Be Added (Error 740)

When logged in as Administrator in a Windows 10 or 11 machine, when you try to add a shared printer, you get the error:

That didn't work. We can't install this printer right now. Try again later or contact your network administrator for help. Error: #740.

The underlying problem is this: Error 740 means: "The requested operation requires elevation".

This is a problem as you are already logged in as Administrator. So the solution is to start the "Add Printer Wizard" as Administrator. To do this:

  • Open a cmd box as Administrator, then run
  • rundll32 printui.dll,PrintUIEntry /il

Go through the "Add Printer Wizard" as normal. This time, it will work without error.

15 thoughts on “Windows: Shared Printer Cannot Be Added (Error 740)”

  1. Having to go into every pc on a network of a 100 pc's is very impractical. Do not have the issue with HP printers but only on Xerox printers. Need to be able to add network printers without going to every pc and adding manually.

  2. The command seems to work as it opens the wizard and I can add the printer without any errors but the printer does not show up in devices and printers. PC was just upgraded to Windows 11

  3. Did not work on my windows 7 pc connected to server 2019, does any why have an idea why ?

    1. You will need to run as an admin. You will need to have admin rights pushed to your machine

  4. What is the fix on the print server? have win2019 as a print server..not trying to run this command on 90 computers we have here. excellent workaround though..

    1. Same here. I noticed that in my case it only happens with Lexmark printers. Every user can install any other printer directly on their computers but with Lexmark printers, I need to implement this workaround on every computer.

Leave a Reply

Your email address will not be published.