Solved

Winlogon.exe-Bad image error

Posted on 2006-10-22
14
3,094 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
ID: 17786079
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
ID: 17786122
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
ID: 17786205
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:jploessl
ID: 17787549
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
ID: 17787965
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
ID: 17788488
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
 

Author Comment

by:jploessl
ID: 17907530
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
ID: 17909053
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
ID: 17909593
I just completed the expand command successfully .... although on reboot the error comes up again
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 17910203
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
ID: 17910620
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
ID: 17910670
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
ID: 17910799
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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