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.

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

  1. 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

  2. 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.