Hello there,
In most cases, Error 740 occurs if users don’t have sufficient administrative privileges to install the printer wizard. However, this error can occur even when logged in with an administrator account.
In some cases, Error 740 occurs for printers that use Type 3 PCL6 x64 drivers can occur due to Corrupted and incompatible printer drivers.
So you must either run the procmon or Sysmon to identify the core issue.
Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity. You can get the tool from here https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
System Monitor (Sysmon) is a Windows system service and device driver that, once installed on a system, remains resident across system reboots to monitor and log system activity to the Windows event log.You can get the tool from here https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon
----------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–