stop error 00000022 on windows 7

On a 1 year old Lonovo running win 7 64 bit, on boot ,after login, get "the application was unable to start correctly, 0x00000022. Click OK to close application."  

This error message also shows explorer.exe on the message box.

Click OK and the screen goes dark with a movable mouse cursor.

System boots to safe mode and all functions seem to work.
Dan EckertPC repair for seniorsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Since it boots in Safe Mode, you may have a virus or a corrupt user profile. Also, since the computer works fine in safe mode, hardware is probably OK.

See if you can run System File Checker:  SFC /SCANNOW and allow to complete. Restart and check.

Then next step up from SFC would be a Repair Install. See this Microsoft Note below: 

And this Seven Forums tutorial.

... Thinkpads_User

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
it can also be a driver problem - post the minidump plse
you find it in windows\minidumps
Dan EckertPC repair for seniorsAuthor Commented:
SFC /scannow did not find anything.  Did the repair install and all is well.

Any idea what caused this?  This Lenovo is a all in one.

Thanks for great help.
JohnBusiness Consultant (Owner)Commented:
@DwEckert - Thanks for the update and I was happy to help.

As to what causes it:  From my experience a very bad shutdown (e.g., shutdown during updates or power outage during some critical operation) can cause this.  I have seen this three or four times and that seems to be the common denominator.

I also saw this in Windows 7 but not Windows 8 so far, or Vista or XP before Windows 7.

.... Thinkpads_User
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.