We are seeing this error when attempting to install printers (drivers) on new Windows 7 builds. The simplest solution I have found is reboot the computer and log on with a different administrative account. Often then the printer driver can be installed without getting the error.
Here's another thing I have found. Running procmon during the installation shows 'access denied' on C:\Windows\System32\DriverStore\infpub.dat. Try editing the security on this file and add the local Administrators to it, will full control. After doing this I've had success getting printer drivers to install that would give the error 0x00000057. Note - it may be necessary to change the security on all of the .dat files in the DriverStore folder to get the driver to install. Here's a script that will change the security on all the files for you.
Also, I have noticed after changing the permissions on the files Windows will change them back, removing what you have added.
If you need help on changing the permissions on the file maybe these will help:
Change permissions on C:\Windows\System32\DriverStore\infpub.dat to include Administrators with Full Control.
Browse to C:\Windows\System32\DriverStore
Right click the file infpub.dat
Choose Properties
Click Security Tab
Click Edit Button
Click Add Button
Click Locations button and choose the local computer account (should be first item in list)
In the box type: Administrators
Click Check Names – this should come back underlined
Click Ok
With Administrators highlighted, put a checkmark in the checkbox next to Full Control
Click Ok
Click Ok
Retry installing the printer driver.
Friday, July 01, 2011
Windows 7 Printer Driver Installation Error 0x00000057
Labels:
Error 0x00000057,
Printer Driver,
windows 7
Subscribe to:
Post Comments (Atom)
5 comments:
Thanks for this wealth of resources!
HP LaserJet P1102w
I hope this helps people with this annoying problem.
This appears to be the problem for me. After following your instructions, it doesn't seem to work. The permissions keep getting changed back. Any other tips?
Kelly, the only other thing I have found to work is log on with a different profile. Try with a different profile. I hope it works.
I opened the dialog window on the old HP Deskjet printer installed on my new Windows 7 machine; selected ports; scrolled down & checked USB001. The printer immediately printed the test page. Changing the default port to USB001 was the answer.
Post a Comment