After upgrading to Windows 11 22H2 or newer, network printers vanish and you get "Operation could not be completed (error 0x00000709)" when trying to add them. Microsoft changed the default RPC connection method and broke shared printer discovery.
The Fix
powershell
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\RPC" /v RpcUseNamedPipeProtocol /t REG_DWORD /d 1 /f
net stop spooler && net start spooler
If the
key doesn't exist, the command creates it.
For domain environments, use Group Policy instead:
Computer Configuration > Administrative Templates > Printers > Configure RPC connection settings
Set to: Enabled, RPC over Named Pipes
Verify
powershell
Get-Printer -Name "\\SERVER\PrinterName"