• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3318
  • Last Modified:

Winlogon.exe-Bad image error

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
jploessl
Asked:
jploessl
  • 7
  • 6
1 Solution
 
LeeTutorretiredCommented:
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
 
jploesslAuthor Commented:
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
 
LeeTutorretiredCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
jploesslAuthor Commented:
I get an error saying I need to be a administrator .... even though I was logged in as a administrator
0
 
LeeTutorretiredCommented:
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
 
jploesslAuthor Commented:
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
 
jploesslAuthor Commented:
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
 
LeeTutorretiredCommented:
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
 
jploesslAuthor Commented:
I just completed the expand command successfully .... although on reboot the error comes up again
0
 
LeeTutorretiredCommented:
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
 
jploesslAuthor Commented:
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
 
LeeTutorretiredCommented:
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
 
LeeTutorretiredCommented:
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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now