Connecting to a network printer on Windows 11 and getting Error 0x00000709
in Regedit add or change
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC]
There are 2 values that can be configured:
RpcUseNamedPipeProtocol
REG_DWORD
0: RpcOverTcp (default)
1: RpcOverNamedPipes
1 works