Windows cannot start

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
dthomas31ukAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DoTheDEW335Commented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BjornEricssonCommented:
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
tmj883Commented:
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

muhalokCommented:
0
tengageCommented:
You could boot to safe mode and copy the file from the I386 directory from the XP CD to Windows\AppPatch\
0
Shane Russell2nd Line Desktop SupportCommented:
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
dthomas31ukAuthor Commented:
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
jet-fuelCommented:
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
DoTheDEW335Commented:
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
Daniel Van Der WerkenIndependent ConsultantCommented:
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
dthomas31ukAuthor Commented:
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
dthomas31ukAuthor Commented:
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
Justin MaloneSystem AdministratorCommented:
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
tmj883Commented:
dthomas31uk, you are using the incorrect option...read my post above.
T
0
elconomenoCommented:
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
DoTheDEW335Commented:
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
DoTheDEW335Commented:
forgot to mention it might ask for the xp cd if it needs to repair files.
0
tonyteriCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.