Hello,
You can try the following steps to see if this resolves the issue:
Start the Local Group Policy Editor (gpedit.msc)
Go to the next section: Administrative Templates → Printers → Configure RPC Connection Settings, select "RPC over Named Pipes" from the drop-down menu, and click OK.
Best regards
Zunhui