Windows OS Hub
  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange

 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
Production Checkpoint in Hyper-V 2016
next post
Recovering Files from a RAW Partition using TestDisk

Related Reading

How to Disable NetBIOS and LLMNR Protocols in...

April 9, 2021

Enable Windows Lock Screen after Inactivity via GPO

April 8, 2021

Can’t Copy and Paste via Remote Desktop (RDP)...

March 31, 2021

UAC: This App Has Been Blocked for Your...

March 30, 2021

How to Unlock a File Locked by Any...

March 29, 2021

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows Server 2016
  • Windows Server 2012 R2
  • Windows Server 2008 R2
  • PowerShell
  • VMWare
  • MS Office

Recent Posts

  • How to Disable NetBIOS and LLMNR Protocols in Windows Using GPO?

    April 9, 2021
  • Enable Windows Lock Screen after Inactivity via GPO

    April 8, 2021
  • How to Create and Manage Scheduled Tasks with PowerShell?

    April 7, 2021
  • Updating Windows VM Templates on VMWare with PowerShell

    April 5, 2021
  • Running Multiple IIS Websites on the Same Port or IP Address

    April 1, 2021
  • Can’t Copy and Paste via Remote Desktop (RDP) Clipboard

    March 31, 2021
  • UAC: This App Has Been Blocked for Your Protection on Windows 10

    March 30, 2021
  • How to Unlock a File Locked by Any Process or SYSTEM?

    March 29, 2021
  • Configuring a Domain Password Policy in the Active Directory

    March 26, 2021
  • Using Native Package Manager (WinGet) on Windows 10

    March 24, 2021

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 Create a Wi-Fi Hotspot on your Windows 10 PC
  • How to increase KMS current count (count is insufficient)
  • How to Download APPX Installation File from Microsoft Store in Windows 10 / 8.1
  • How to Sign an Unsigned Driver for x64 Windows 10, 8.1 or 7 with a Self-signed Certificate
  • How to Hide Installed Programs from Programs and Features in Windows?
Footer Logo

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


Back To Top