add printer button does not work in windows 7

If you click the Add Printer Button in Windows 7 nothing happens.

I rebooted computer, still the same

I stopped and restarted the Spooler, still the same

I stopped the Spooler; went to …\PRINTERS folder, folder was empty, restarted Spooler, still the same

I used Microsoft Fix It, after running it gave me the Add Printer button that ended with:
o      There is a problem starting printui; A Dynamic link library (DLL) initialization routine failed.
Who is Participating?
web_trackerConnect With a Mentor Commented:
You have spent enough hours trying to resolve this problem, I would just back up the users data and do a reinstall.
DeleteConnect With a Mentor Commented:
First try running sfc /scannow from an elevated command prompt to see if it finds and fixes the issue.  You may want/need to run it more than once and reboot after each one.

If that doesn't work then from what I have found is that you may need to replace the puiapi.dll file.  The DLL exists in the C:\Windows\System32 directory and if corrupt it may show the size being 0kb.  If this is the case and it needs to be replaced you download it from HERE.
campinamAuthor Commented:
I  am running sfc /scannow.  I will let you know the result.
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

campinamAuthor Commented:
The results from sfc /scannow
"Windows Resource Protection found corrupt files but was unable to fix some of them.  Details are included in the CBS.log ..."

When I try to access CBS.log I get Access Denied and the opens in Notepad with nothing in it.

I also replaced the puiapi.dll and the problem is the same.
If you didn't already run the command again and see if it resolves the remaining issues.  If you receive the same message then you can try booting into safe mode and running the command that way.  There are time when you have to run the scan 2 or 3 times for it to fix everything.
if the problem is recent, you can do a system restore

also, a repair install can help here :
campinamAuthor Commented:
I did a system restore, actually several, going further back, it did not solve the problem.  I do not know when the problem started; last I installed a printer on this one was 2 years ago.  I am backing up the data now, just in case.  I will run the sfc /scannow from safe mode tomorrow.  I will keep you posted.
campinamAuthor Commented:
I did run sfc in safe mode and got the same results.  I decided to save the data and restore to factory default.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.