Error 0x00000057 is a printer related error on Windows which does not allow the user to add the printer. This error is usually due to corrupt drivers previously installed and the permission issues. So when you try to add the printer it installs but doesn’t adds the printer because of the corrupted files in the DriverStore.
I have listed two methods in this guide which has worked for me in the past. The 1st one would delete the driver and the second method would be to copy the driver from a working computer. If method 1 works for you, then you do not need to do the 2nd Method.
Method 1: Print Server Properties
1. Hold the Windows Key and Press R
2. In the run dialog, type services.msc and click OK
3. Locate “Print Spooler” service, right click on it and select Stop.
4. Once it is stopped, hold the windows key and press R again. In the run dialog, type
printui.exe /s /t2
and Click OK.
Look under the name field here for your printer that is causing issues, click on it and select Remove. When asked, if you want to delete the driver, choose the appropriate prompts to confirm deletion.
5. After this has been removed, go back to the services console, right click Print Spooler service and select Start.
Now try to re-add/re-install the printer. If it still doesn’t work, then proceed to Method 2
Method 2 can be viewed here : Error 0x00005b3 – Although the error number is different, but the procedure works for this error as well.
Method 3: Copy the driver directory files from a working machine
For users who are trying to install these drivers on multiple machines, in cases where some fail and some install successfully, you can try to copy the files from the driver directory from a working machine, to one that fails.
- Go to a machine with an installed, and properly working, driver. Press the Windows and R keys on your keyboard simultaneously to open the Run
- Type in regedit, and either press Enter or click OK to open the Registry Editor.
- Using the Registry Editor, browse to the following location:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3
- In this folder, find the subkey of the printer driver you’re having issues with. Click it, and look for the InfPath in the right pane. Note the path.
- Open My Computer/This PC, and navigate to %systemroot%\System32\DriverStore\FileRepository, and find the folder indicated in the InfPath
- Move over to the computer where you’re having problems installing the driver, and go to the aforementioned FileRepository folder, and see if the folder is there. If the folder is there, but empty, it means that the previous installation failed.
- If this is the case, you will need to take ownership of the folder, and grant yourself full control.
- Right-click the folder, and choose Properties, then navigate to the Security
- Click Advanced, and Change the Owner at the top. Click OK to go back to the Properties
- Click Edit, and from the Group or user names, find your user and check the Allow Full control box in the Permissions for Authenticated Users Click OK. Close the Properties window by pressing OK.
- Once you have taken care of the security of the folder, copy the contents of the folder from the working machine, to the machine giving you the 0x00000057 error.
- You can now try to install the driver again, it should work and not give you any headaches.