Jump to content

Recommended Posts

Posted

Hi, can someone help??? I accidently turned my laptop off whilst performing a system restore, and now my laptop wont even boot and get past the following message:

 

"Windows could not start because the following file is missing or corrupt:

<Windows root>\system32\hal.dll "

 

I try to press F8, but the comp will not Boot what so ever. I have not got the Microsoft XP disc that I think I need to re-install, can this be resolved in another way? I'm using my mothers comp at the moment, can I copy something from here that I can use to boot my Laptop with? If I create a system backup disc will this work on the laptop?

 

I'd be gratefull if someone out there could help, and even email me, thanks!

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

What version of Windows?

What is the make/model of your computer?

 

On HP/Compaq with XP I have followed HP's instructions a few times to fix a few computers with this message so I'll try to copy/paste their text on some steps that worked for me. FROM HP:

 

HP and Compaq Desktop PCs - Error: Windows could not start because the following file is missing or corrupt: <Windows root>\system32\hal.dll

This document applies to HP and Compaq Desktop PCs that come with Windows XP.

When Windows starts, the following error message appears:

" Windows could not start because the following file is missing or corrupt: <Windows root>\system32\hal.dll. Please re-install a copy of the above file."

Use the following steps to resolve this error:

Step 1: Opening a command prompt

This error prevents Windows XP from opening. This problem has to be addressed from a command prompt environment.

Use the following steps to open a command prompt environment:

1.Turn on the PC and press the F8 key repeatedly when the first screen appears.

The Windows advanced options menu appears.

2.Use the Up and Down Arrow and Enter keys to select Return to OS choices.

3.Select Microsoft Windows Recovery Console.

 

NOTE:

If "Microsoft Windows XP Recovery Console" is not listed, restart the PC with a Windows XP CD, Recovery Console CD, or Recovery Tools CD in the top CD or DVD drive and open Microsoft Windows Recovery Console. If a Windows XP Setup screen appears when using Recovery Console CDs, press the R key to open the Recovery Console.

4.

 

NOTE:

If "Microsoft Windows XP Recovery Console" does not list and you do not have a CD with recovery console, try the following:

a.Turn on the PC, and press the F10 key repeatedly at the first screen.

b.At the Recovery screen, click Advanced Options.

c.Press the Alt + D keys at the same time to open a command prompt window and skip to step 5.

5.When the login prompt appears, press the number next to the windows version (minint or Windows) and type the logon password. Try pressing Enter if you do not know the password.

6.At the command prompt, type the following: diskpart

7.Press Enter, do one the following:

If a table of volume names appears, remember the drive letter next to the main drive volume name (usually D or H next to HP_PAVILION or PRESARIO) and press the Esc key.

If a diskpart prompt appears, type list volume, press Enter, remember the drive letter next to the main drive volume name (usually D or H next to HP_PAVILION or PRESARIO), type exit when done, and then press Enter.

 

NOTE:

If the main drive volume name does not appear in the list, the PC needs to be recovered. For more information, refer to Performing a Full System Recovery in XP .

Step 2: Restoring boot.ini

Use the following steps to replace the boot.ini file with the backup boot.ini file:

1.Type the following at the command prompt: X: (where X is the drive letter).

2.At the prompt, type the following: ren boot.ini boot.in2

3.Press Enter

4.At the prompt, type the following: ren boot.bak boot.ini

5.Press Enter

6.At the prompt, type the following: exit

7.Press Enter

The system automatically restarts. If Windows XP does not open, continue to the next Step.

Step 3: Editing boot.ini

If the steps above fail to resolve the error, use the following steps:

 

NOTE:

The following steps use the recovery partition on the hard drive. If the recovery partition has been removed, these steps will not work and you should recover the PC using recovery discs.

1.Turn on the PC. When the initial logo screen appears, press the F10 key repeatedly until a message about starting recovery appears.

2.At the Recovery screen, click Advanced Options and then press the Alt and D keys at the same time to go to a command prompt.

3.At the command Prompt, type the following: diskpart

4.Press Enter and type the following at the diskpart prompt: list volume

A table of drive volumes and names appears.

5.Note the drive letter next to the main drive volume name (usually D or H next to HP_PAVILION or PRESARIO).

6.Type the following at the diskpart prompt: Exit

7.Press Enter and type the drive letter followed by a colon ( : ) at the command prompt. For example, D:.

8.Press Enter and type the following at the command prompt: attrib -h -s -r boot.ini

9.Press Enter and type the following at the command prompt: boot.ini

10.The file opens for editing in Notepad. Edit the boot.ini file to read exactly as follows:

[boot loader]

timeout=0

default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect

C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons

 

NOTE:

If your PC came with Windows XP Professional, edit the line referring to Home Edition under [operating systems] to read as follows: multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

11.Save and Exit from the menu.

12.Type the following at the command prompt: attrib +h +s +r boot.ini

13.Press Enter and type the following at the command prompt: Exit

14.Click Quit on the recovery screen to restart the computer.

The PC should now restart without the error message. If the error still persists, perform a full system recovery. For more information, see HP and Compaq Desktop PCs - Performing a System Recovery in Microsoft Windows XP "

We are all members helping other members. Please return here where you may be able to help someone else. After all, no one knows everything and you may have the answer that someone needs.

Get help with computer problems. Join Free PC Help here

 

Donations are welcome. Read Here

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...