Fixes for Windows XP hal.dll error

Fix #1: Rebuild boot.ini with Easy Recovery Essentials

Easy Recovery Essentials for Windows includes a complete “from-scratch” rebuild of the bootloader and BCD for Windows Vista, Windows 7, Windows 8 and Windows 8.1 that should take care of this problem, even if other solutions fail.

Easy Recovery Essentials is guaranteed to fix the “hal.dll is missing or corrupt” error automatically using its built-in Automated Repair option. EasyRE is currently available for Windows XP, Vista, 7 and 8 and can be downloaded and created on any PC.


  1. Download Easy Recovery Essentials. Make sure to note your Windows version (XP, Vista, 7 or 8) before you download EasyRE. This guide can help you identify what version of Windows you have installed.
  2. Burn the image. Follow these instructions on how to burn the bootable ISO image very carefully, as making a bootable CD can be tricky! Alternatively, these instructions explain how to create a bootable EasyRE recovery USB stick/drive.
  3. Boot up your PC from the Easy Recovery Essentials CD or USB you created.
  4. Once EasyRE is running, choose the “Automated Repair” option and click Continue.

    EasyRE Home

    Choose “Automated Repair” in Easy Recovery Essentials

  5. After EasyRE scans your computer’s drives, identify and select the drive letter for your Windows installation from the list, and then click on the Automated Repair button to begin.EasyRE displays a list of found Windows operating systems
  6. Easy Recovery Essentials will start analyzing the selected drive for problems. EasyRE will test for and attempt to automatically correct errors with the disk, partition, bootsector, filesystem, bootloader, and registry. No intervention is required, as EasyRE’s repair is fully automated:

    EasyRE: Automated Repair

    Easy Recovery Essentials searches for errors and makes corrections to the selected Windows installation.

  7. Once the process is complete, EasyRE will report its findings. Click on the Restart button to reboot your PC and test the changes.
  8. The “hal.dll is missing or corrupt” error should now be fixed as your PC begins to load:

    EasyRE: Automated Repair

    Windows, booting up successfully.

You can download Easy Recovery Essentials from here.

Fix #2: Manually attempt rebuild of boot.ini

A boot.ini file is used by Windows to configure and display its operating system options. Instructions on manually recreating the boot.ini file are also available, but require a moderate level of computer expertise. The instructions below will guide you on recreating boot.ini automatically from the Windows XP setup CD.

Unable to boot into the Windows setup CD?
See our guide on setting up a PC to boot from the CD or DVD for troubleshooting and more detailed instructions.

  1. Insert your Windows XP CD and restart your computer.
  2. Press a key to boot into the CD when you see the “Press any key to boot from CD” message.
  3. When you arrive at the “Welcome to Setup” message, press R to start the Recovery Console.
  4. Type in your Administrator password; hit Enter
  5. The next command you need to write is below; hit Enter afterwards:
    bootcfg /rebuild

The above command, bootcfg /rebuild, will scan your computer for installed Windows copies. If you have Windows XP, here are the next steps:

  1. Press Y if the command prompt shows a message similar to the one below:
    Total Identified Windows Installs: 1
    [1] C:Windows
    Add installation to boot list? (Yes/No/All)
  2. When you receive a message like this:
    Enter Load Identifier

    You are being asked to provide a name to be assigned and shown in the boot menu for the installation you picked in the previous step. Examples:

    Enter Load Identifier: Windows XP Professional (Recovered)
  3. (Optional) When you receive a message like this:
    Enter OS Load options

    Type in /fastdetect followed by Enter

  4. Restart your computer.

Fix #3: Replace hal.dll

Windows Setup CD/DVD Required!
Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.

If hal.dll is in fact missing or corrupt, you can restore the original hal.dll file back from your Windows XP installation disc.

Unable to boot into the Windows setup CD?
See our guide on setting up a PC to boot from the CD or DVD for troubleshooting and more detailed instructions.

  1. Insert your XP CD into the computer.
  2. Restart your computer.
  3. Press any key to boot into the CD when you see the “Press any key to boot from CD” message.
  4. Press R to start Recovery Console when the Options screen appears.
  5. Type in your Administrator password followed by the Enter key to submit it.
  6. You’ll reach the Command Prompt now, type the following command, where D: is your CD’s drive letter and C: is the letter of the drive you installed Windows to:
    expand D:i386hal.dl_ C:Windowssystem32
  7. Press Y when you are asked if you want to overwrite this file and then hit Enter to submit the command.
  8. Restart your computer.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s