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.
this worked ! thank you
Did not work on my windows 7 pc connected to server 2019, does any why have an idea why ?
Hi Tyler, Windows 7 does not get updates for a while now, so it did not get the important September 2021 patch. So you will have to follow the instructions here:
Shared Printers cannot be installed after the September 2021 Update
Thank you! This worked perfectly.
This worked, great solution!
Still Doesn't work, granted I am on a Government computer so of course they fix it till its broken.
You will need to run as an admin. You will need to have admin rights pushed to your machine
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..
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.
Excellent
AWESOME SOLUTION!
Brilliant!