Solved

Winlogon.exe-Bad image error

Posted on 2006-10-22
14
3,079 Views
Last Modified: 2008-01-09
I get this error on startup .... I have tried to go back and do a system restore, but still getting that error  

"Winlogon.exe-Badimage

The Application or DLL C:/Windows/System32/sfc.dll is not a valid windows image. Please check this against your installation disk settings."
0
Comment
Question by:jploessl
  • 7
  • 6
14 Comments
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
go to Start -> Run, type MSCONFIG and click OK, click the button for Expand file.  Type in the name of the file  (sfc.dll) to replace in the File to Restore field, in the Restore From field, choose the option (probably the drive letter for your CD-ROM/DVD where you will place the WinXP installation CD), and type the name of the destination folder (Windows\System32) in the field for Save file in.  Then click the Expand button.

If that doesn't work, try the other methods from this MSKB article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;888017
How to expand Windows XP files from the installation disk

Then reboot and see if the problem goes away.

0
 

Author Comment

by:jploessl
Comment Utility
is there a certain folder to restore from on my xp cd ?? other wise when I DO THE D DRIVE IT TELLS ME THE 'RESTORE FROM' FILE DOES NOT EXIST
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
It should be in the folder called i386.  At it would be in compressed form, called sfc.dl_  (That's an underscore at the end, replacing the second letter l of sfc.dll.) But if you're using MSCONFIG, you should just type sfc.dll as the file to restore.
0
 

Author Comment

by:jploessl
Comment Utility
I get an error saying I need to be a administrator .... even though I was logged in as a administrator
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
Have you tried all the methods described in the MS article?  Have you tried logging in under the built-in account present on most XP computers, named Administrator (which you may have to reach by pressing Ctrl-Alt-Del twice at the login screen, in order to be presented with the classic login screen used by Win2k)?
0
 

Author Comment

by:jploessl
Comment Utility
I did try logging in as with the builtin admin ... but I was still have problems .... I had to take the machine back to my client this am ... so i will need to try and tackle this issue later in the week, when I can get the machine for a couple of days.... as my client can just clicl on the okay button and get past the error and continue working normally.. but thanks for now and I appreciate the suggestions....
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:jploessl
Comment Utility
I'm having issues with all the methods listed in the ms article

Method 1 -- inthe restore from field ... i try to browse to my cd drive but what file ?? if i try to find a sfc.dll file i can't locate one on the cd.... it only gives me the cab file extension files types

I did do a search ans found a file called sfc_OS.dll both on the xp cd and in my i386 folder ..... is that the file i should restore from ?? and if that goes bad for what ever reason ... will that make my system unbootable ?

method 2 ---
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
In the Restore from field, you don't need to type the name of the file, just the drive letter of your CD.  The file is called sfc.dl_ in compressed form in the i386 folder of your XP install CD.  But if you're using MSCONFIG, then you type in the name of the file you want to restore instead, namely sfc.dll.
0
 

Author Comment

by:jploessl
Comment Utility
I just completed the expand command successfully .... although on reboot the error comes up again
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
But you're still able to get into Windows?  If so, then try this command at a CMD prompt (type CMD and hit the Enter key in the RUN dialog box off the Start Menu):

sfc /scannow

Make sure you have your XP install CD handy to furnish the replacing of any bad or missing system files.
0
 

Author Comment

by:jploessl
Comment Utility
I ended up doing a reinstall/repair and it seems to be working fine now....

I really appreciate all your ideas.


Can I ask why a reinstall/repair isn't recommended very often.. it seems to have helped me out a couple of times now and it is quicker some times...

when you do a repair and it replaces many of the system files is there some gotta's that I should be aware of ?
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
I've had repairs fail before.  This page has a good general treatment of it, and a good statement of some of the "gotchas" you mention:

http://www.michaelstevenstech.com/XPrepairinstall.htm

In particular, take a look at the links for Warning#1, Warning#2, and Warning#3

0
 
LVL 59

Accepted Solution

by:
LeeTutor earned 500 total points
Comment Utility
By the way, if the SFC /SCANNOW hadn't worked, the next thing I was going to suggest was a repair install...  Glad you got your problem fixed.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now