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

USB Device Passthrough (Redirect) to Hyper-V Virtual Machine

January 15, 2021

Windows 10: No Internet Connection After Connecting to...

January 13, 2021

Updating the PowerShell Version on Windows

December 24, 2020

How to Enable and Configure User Disk Quotas...

December 23, 2020

Fix: Search Feature in Outlook is Not Working

December 18, 2020

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

  • MS SQL Server 2019 Installation Guide: Basic Settings and Recommendations

    January 19, 2021
  • USB Device Passthrough (Redirect) to Hyper-V Virtual Machine

    January 15, 2021
  • Windows 10: No Internet Connection After Connecting to VPN Server

    January 13, 2021
  • Updating the PowerShell Version on Windows

    December 24, 2020
  • How to Enable and Configure User Disk Quotas in Windows?

    December 23, 2020
  • Restoring Deleted Active Directory Objects/Users

    December 21, 2020
  • Fix: Search Feature in Outlook is Not Working

    December 18, 2020
  • Zabbix: Single Sign-On (SSO) Authentication in Active Directory

    December 17, 2020
  • Preparing Windows for Adobe Flash End of Life on December 31, 2020

    December 15, 2020
  • Auditing Weak Passwords in Active Directory

    December 14, 2020

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