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 Deploy Windows 10 (11) with PXE...

June 27, 2022

Checking Windows Activation Status on Active Directory Computers

June 27, 2022

Configuring Multiple VLAN Interfaces on Windows

June 24, 2022

How to Disable or Enable USB Drives in...

June 24, 2022

Adding Domain Users to the Local Administrators Group...

June 23, 2022

Leave a Comment Cancel Reply

Categories

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

Recent Posts

  • How to Deploy Windows 10 (11) with PXE Network Boot?

    June 27, 2022
  • Checking Windows Activation Status on Active Directory Computers

    June 27, 2022
  • Configuring Multiple VLAN Interfaces on Windows

    June 24, 2022
  • How to Disable or Enable USB Drives in Windows using Group Policy?

    June 24, 2022
  • Adding Domain Users to the Local Administrators Group in Windows

    June 23, 2022
  • Viewing a Remote User’s Desktop Session with Shadow Mode in Windows

    June 23, 2022
  • How to Create a Wi-Fi Hotspot on your Windows PC?

    June 23, 2022
  • Configuring SSH Public Key Authentication on Windows

    June 15, 2022
  • How to Run a Program as a Different User (RunAs) in Windows?

    June 15, 2022
  • FAQ: Licensing Microsoft Exchange Server 2019/2016

    June 14, 2022

Follow us

woshub.com

ad

  • 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
  • Auto-Mount a VHD/VHDX File at Startup in Windows 10, 8.1
  • Error 0x80073CFA: Can’t Uninstall Apps using Remove-AppxPackage in Windows 10
Footer Logo

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


Back To Top