?
Solved

Windows cannot start

Posted on 2004-11-15
18
Medium Priority
?
1,044 Views
Last Modified: 2008-01-09
Hi, Hope someone can help!!!!!

Have a problem with my PC

When I boot up my PC get an error message 'Windows could not start because the following file is missing or corrupt
Windows\AppPatch\drvmain.sb
You can attempt to repair this file by starting windows set up using original set up CD-Rom'

So I have inserted my set up CD and select r to repair.

Then a screen loads up in DOS showing me the 1. C:Windows........With the question...Select one of the above to repair...so I select 1 and press enter.  The next question asks me to enter the adminstrators password which I enter.........after I enter this nothing happens all I get is a prompt.......Windows: or something like that....what is going wrong.....

How come it does not run the repair????Any ideas about the missing file  Windows\AppPatch\drvmain.sb
 ???????????  What could the problem be because  over the last week or so my PC keeps freezing on me when I leave it standing for a while??????? I recently put in a new HDD into the PC could there be a problem with the HDD.........faulty or something????

Hope someone can help..cheers
0
Comment
Question by:dthomas31uk
  • 4
  • 3
  • 2
  • +9
18 Comments
 
LVL 11

Accepted Solution

by:
DoTheDEW335 earned 900 total points
ID: 12585752
0
 
LVL 4

Assisted Solution

by:BjornEricsson
BjornEricsson earned 300 total points
ID: 12585913
Sounds like your harddrive is about to give up on you,
This could be due to heating in the case.
Try the above links and look for HDD scanners like Drive Fitness test, e.t.c
/B
0
 
LVL 14

Expert Comment

by:tmj883
ID: 12586110
You must bypass the first repair option...follow the below instructions carefully.
Also realize that your system may not function properly until all previous Windows updates have been restored. Any drivers other than those native to Windows must also be reinstalled. Programs and data will remain intact.

Repair The Windows XP Installation

Note: You will forfeit all MS Updates.

Configure your computer to start from the CD-ROM drive. For more information about how to do this, please refer to your computer's documentation or contact your computer manufacturer.

Insert your Windows XP compact disc (CD) into your CD-ROM drive or DVD-ROM drive, and then restart your computer.

(You can also boot with a Windows 98/Me Startup disk with CD support and run WINNT.EXE in the I386 folder on the CD)

When the "Press any key to boot from CD" message is displayed on your screen, press a key to start your computer from the Windows XP CD.

When you see the following message displayed on the Welcome to Setup screen, press ENTER: To setup Windows XP now, press ENTER.

At this point an option to press R to enter the Recovery Console is displayed. Do not select this option.

On the Windows XP Licensing Agreement screen, press F8 to agree to the license agreement. Make sure that your current installation of Windows XP is selected in the box, and then press the R key to repair Windows XP. Follow the instructions on the screen to complete Setup.

T

0
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 
LVL 5

Expert Comment

by:muhalok
ID: 12586204
0
 
LVL 4

Expert Comment

by:tengage
ID: 12586249
You could boot to safe mode and copy the file from the I386 directory from the XP CD to Windows\AppPatch\
0
 
LVL 23

Expert Comment

by:gecko_au2003
ID: 12586956
I agree with tengage, it looks like you did an update or when you installed your o/s, that was one of the files it needed with regards to maybe your IDE controllers or something like that and you just need to get that file back into that directory. I am not exactly sure what that file does, but I am sure once it is back there it will work fine.
0
 

Author Comment

by:dthomas31uk
ID: 12587003
How do I get to safe mode and what do I need to do then...just locate the file on the operating system cd and copy it over??????????
0
 
LVL 1

Expert Comment

by:jet-fuel
ID: 12587277
Press F8 before Windows starts to load (usually right after the beep indicating that the BIOS finished loading) to break into the Boot menu for Windows. There you should be able to select Safe Mode and then continue with your diagnostic.

Good Luck!
0
 
LVL 11

Expert Comment

by:DoTheDEW335
ID: 12587575
dthomas, if you goto the link I have in my above post, it shows you the correct method to do a repair install. What you mention doing is taking you to the Recovery Console. Goto the link I gave you and it will tell you exactly what to do step by step with pictures.

0
 
LVL 20

Expert Comment

by:Daniel Van Der Werken
ID: 12588637
Once you get to the prompt, you can "repair" the system by simply copying a "fresh" drvmain.sb from the install CD over the top of the bad drvmain.sb.

First, for grins, backup the old drvmain.sb by copying it to drvmain.osb or something like that.
Second, find the "fresh" drvmain.sb on the install CD.  It may be named drvmain.s_.  In that case, you need to run the expand.exe  utility and expand it out.  Here's how:

expand e:\i386\drvmain.s_ c:\windows\apppatch\drvmain.sb

like I said, if it's not compressed, then just:  copy e:\i386\drvmain.sb c:\windows\apppatch\drvmain.sb of course, I'm saying E: is the cdrom drive.  It could be D: or anything else on your system.
0
 

Author Comment

by:dthomas31uk
ID: 12588919
DoTheDew335 I followed your link and followed the instructions......went through the recovery process........and pressed f8 for end user licence agreement and then entered r for repair.......The following screen then told me that it could not delete certain files press escape to skip this (recommended) so I did this and also had to do it with roughly another 500 files that it could not delete.  Then at the end it said that system recovery could not be acheived.........What should I do now any ideas..I do not want to lose any data from the disk.  When I switch the PC on now I get the message System cannot boot insert system disk.
0
 

Author Comment

by:dthomas31uk
ID: 12589168
Dan7el keep getting message saying system cannot find file specified....was not sure what my cd-rom drive is so have tried it using d,e and f still know luck tried the expand tag also still know avail. It is not allowin me to cpoy anything from the CD

Any ideas
0
 
LVL 4

Expert Comment

by:Justin Malone
ID: 12589441
sounds like a hard drive failure. but you can always try to use another copy of the OS to repair it, but i think its a hard drive issue. hope you made backups and if not you might want to try to recover as mutch from your hard drive as possoble either by one of the norton utilitys or even a free coppy of knoppix to try to burn files to a disk that you can access. http://www.norton.com 
http://www.knoppix.org 
(knoppix is a version of linux that runs from a CD without haveing to install anything on your hard drive)
0
 
LVL 14

Expert Comment

by:tmj883
ID: 12590109
dthomas31uk, you are using the incorrect option...read my post above.
T
0
 
LVL 3

Expert Comment

by:elconomeno
ID: 12591173
1. take another computer
2. connect the Hdd to that other computer as slave (do not boot from the disk with the corrupt OS!)
3. boot up the other Pc  and copy the missing files to the Hdd wit the corrupt OS
4. shut down the other pc
5. connect hdd to original pc and bootup
6. see what happens


0
 
LVL 11

Assisted Solution

by:DoTheDEW335
DoTheDEW335 earned 900 total points
ID: 12594212
have you tried booting back to the recovery console where you orignally went (should show C:\WINDOWS>) and type CHKDSK /F


That should scan your disk for errors and fix it.
0
 
LVL 11

Expert Comment

by:DoTheDEW335
ID: 12594220
forgot to mention it might ask for the xp cd if it needs to repair files.
0
 
LVL 7

Assisted Solution

by:tonyteri
tonyteri earned 300 total points
ID: 12594695
Just do a simple resinstallation of Windows.  When prompted to erase tthe partition, select NO, just leave as is.  You will lose all windows settings but the other files (my docs et al), will still be there

TT
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

850 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