Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / Fix: Windows Cannot Connect to the Printer Error 0x00000057

September 29, 2017 Windows 10Windows 7

Fix: Windows Cannot Connect to the Printer Error 0x00000057

Several times, I ran into the following issue: when trying to connect a network printer from one of the print servers, the error 0x00000057 Windows cannot connect to the printer appeared on a client machine. The error occurred during the installation of the printer driver from the Print Server, and, as I found later, is fixed on the client side. The steps to solve this problem are described below.

Connect to Printer

Windows cannot connect to the printer

Operation failed with error 0x00000057

Windows cannot connect to the printer - Operation failed with error 0x00000057

If the driver of the network printer you are trying to connect is already install on the problem computer, try to remove it from the driver store manually. To do it, open the dialog box with the list of the print drivers installed locally and delete the driver of the printer you want to connect (both x64 and x86 versions).

printui.exe /s /t2

printui.exe /s /t2

After you have removed the driver, try to connect the network printer again.

If it didn’t help or there was no driver in the client system, do the following.

  • We’ll need a computer, on which this printer is installed correctly and prints successfully. Start the Registry Editor on this computer and go to the following registry key:
    • in the x64 system: HKEY_LOCAL_MACHINE System\CurrentControlSet\Control\Print\Environments\Windows NT x64\Drivers\Version-3\
    • in the x86 system: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\
  • Find the registry key with the name of the printer driver you want to install and export it in a Reg file.
  • Then find the value of the InfPath parameter in this key. In my example, it is C:\Windows\System32\DriverStore\FileRepository\prnhp002.inf_amd64_neutral_04d05d1f6a90ea24\prnhp002.infregistry: driver parametr InfPath
  • Go to C:\Windows\System32\DriverStore\FileRepository and find the name of the folder the registry parameter points to. C:\Windows\System32\DriverStore\FileRepository
  • Now try to find this folder on the problem computer. It is most likely to be there, but it is empty. It indicates that the driver installation process was interrupt.
  • Edit the NTFS permissions for this folder (it is likely, you will have to become its owner) and add Full Control privileges for the group of local administrators.
  • Import the reg file to the problem computer and copy the contents of the driver folder from the normal computer to the problem one.
  • Restart the Print Spooler: net stop spooler & net start spooler
  • Try to connect the printer. The client should download and install the driver from the Print Server successfully.

If none of the solutions helped, go to C:\Windows\System32\DriverStore\, back up infpub.dat, and grant the group of local administrators Full Control permissions. Then try to install the network printer.

0 comment
0
Facebook Twitter Google + Pinterest
previous post
How to Check Trusted Root Certification Authorities for Suspicious Certs
next post
Recovering Files from a RAW Partition using TestDisk

Related Reading

How to Run Program without Admin Privileges and...

March 24, 2023

Configure Network Settings on Windows with PowerShell: IP...

March 24, 2023

Attaching Host USB Devices to WSL or Hyper-V...

March 20, 2023

Print Screen Key Not Working in Windows

March 17, 2023

Send-MailMessage: Sending E-mails with PowerShell

March 14, 2023

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Run Program without Admin Privileges and Bypass UAC Prompt?

    March 24, 2023
  • Configure Network Settings on Windows with PowerShell: IP Address, DNS, Default Gateway, Static Routes

    March 24, 2023
  • Exchange Offline Address Book Not Updating in Outlook

    March 21, 2023
  • Attaching Host USB Devices to WSL or Hyper-V VM

    March 20, 2023
  • Sending an E-mail to a Microsoft Teams Channel

    March 17, 2023
  • How to Restore Deleted Users in Azure AD (Microsoft 365)?

    March 16, 2023
  • Fix: Remote Desktop Services Is Currently Busy

    March 15, 2023
  • Send-MailMessage: Sending E-mails with PowerShell

    March 14, 2023
  • Clear Cache and Temp Files in User Profiles on Windows (RDS) with PowerShell and GPO

    March 13, 2023
  • Prevent Users from Creating New Groups in Microsoft 365 (Teams/Outlook)

    March 6, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • Removable USB Flash Drive as Local HDD in Windows 10 / 7
  • How to increase KMS current count (count is insufficient)
  • Unable to Connect Windows 10 Shared Printer to Windows XP
  • Using the BitLocker Repair Tool to Recover Data on Encrypted Drive
  • Error 0x80073CFA: Can’t Uninstall Apps using Remove-AppxPackage in Windows 10
  • Auto-Mount a VHD/VHDX File at Startup in Windows 10, 8.1
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top