Group Policy was unable to add per computer connection. PrintServer Event ID 513

ACJ 1 Reputation point
2020-11-12T21:20:59.043+00:00

Hello,

We deploy a lot of Printers via Group Policy. These are all targeting the Computer side and NOT using Group Policy Preferences. I haven't had any complaints on this but we have a few walk-up machines where a lot of students log into them quickly to Print and we randomly see the Printer Connections not being made. Sometimes they have to wait 30-45 seconds which is normal but other times the Printers just do not show up. It doesn't seem to coincide with anything else, or be any particular users. These particular machines have also been imaged in the past and the issue has existed on Windows 10 1709, 1809, and 1909. When the issue occurs, I see the following under the 'PrinterService' node in Event Viewer:

Group Policy was unable to add per computer connection \PrintServer\Printer. Error code 0x57. This can occur if the name of the printer connection is incorrect, or if the print spooler cannot contact the print server.

Source: PrintService
Event ID: 513
OpCode: Spooler Operation Failed

Any ideas?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,393 questions
Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
677 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Karlie Weng 18,276 Reputation points Microsoft Vendor
    2020-11-13T06:29:52.45+00:00

    Hello @ACJ

    Restarting the printer spooler service on the printer server / client might help.

    Please check this thread:
    https://social.technet.microsoft.com/Forums/itmanagement/en-US/a225d71c-be8b-4530-bf50-63001559a978/windows-can-not-connect-to-the-printer-0x00000057?forum=itmanager

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards
    Karlie


  2. Alan Morris 1,161 Reputation points
    2020-11-17T04:48:36.467+00:00

    @ACJ

    You are hitting an invalid parameter message
    C:\>winerror 0x57
    87 ERROR_INVALID_PARAMETER

    Can the client systems manually connect to the print spooler / shared printers from this server when this issue is experienced?

    A client spooler restart would read from the policy again. If the connection is achievable after a restart it is possible this has to do with the network layer when a new user logs onto the system.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.