Solved

Winlogon.exe-Bad image error

Posted on 2006-10-22
14
3,086 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
 

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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
XP won't boot 27 134
Lock down IT Intern accounts 4 104
Event ID: 5719 / Source: NETLOGON 9 99
Computer software inventory 5 73
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

12 Experts available now in Live!

Get 1:1 Help Now