Https://basics.net/2021/12/22/windows-shared-printer-cannot-be-added-error-740/comment-page-1/

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

https://basics.net/2021/12/22/windows-shared-printer-cannot-be-added-error-740/comment-page-1/