Welcome to Microsoft Q&A!
Thank you for taking the time to provide the detailed information and screenshots.
From the screenshot, the PowerShell command is failing with 0x80070709, which indicates an invalid printer name. Since the shared printer appears to be visible under \\VM-DESKTOP-K3OL6H, I recommend first verifying the printer share name and connectivity between the client device and the computer hosting the printer.
Please try the following:
- On the computer sharing the printer, open Settings > Bluetooth & devices > Printers & scanners, select the printer, and open Printer properties > Sharing. Make sure Share this printer is enabled and confirm that the share name is exactly
shareee. - On the affected client, open File Explorer and enter:
\\VM-DESKTOP-K3OL6H
Confirm that the shared printer is visible. Based on the screenshot you provided, the printer appears to be listed there, which is a good indication that the client can access the host.
- Try adding the printer manually through Settings > Bluetooth & devices > Printers & scanners > Add device > Add manually > Select a shared printer by name, and enter:
\\VM-DESKTOP-K3OL6H\shareee
- Please also confirm that
VM-DESKTOP-K3OL6His the actual computer name of the host rather than aDNS alias/CNAME. - If you are already using the actual computer name, test RPC connectivity from the affected client by running the following PowerShell command:
Test-NetConnection -ComputerName VM-DESKTOP-K3OL6H -Port 135
Please check the value of TcpTestSucceeded.
- If TcpTestSucceeded = False, this points to a connectivity issue between the client and host. Please check the firewall/network configuration and make sure the required File and Printer Sharing and Print Spooler RPC traffic is allowed.
- If TcpTestSucceeded = True but the printer still cannot be installed, you may consider contacting Microsoft Support so the environment and diagnostic data can be investigated in more detail.
For now, I would recommend avoiding unrelated registry modifications until the cause has been narrowed down. This helps prevent additional configuration changes from making the issue more difficult to troubleshoot.
I hope these steps help you.
References:
Fix shared printer connection problems in Windows | Microsoft Support
If you find it useful, please click Accept Answer.
Thank you for choosing Microsoft Q&A.