We have all received an error message from our computer at one point or another. Some are pretty self explanatory and therefore easy to fix. Others sound like they were written in some other language and don't do much to help the regular Windows user figure out how to fix the problem.

There are several common file errors that you may encounter when trying to start your Windows based computer. Here are a few of the more common errors. You can use the Windows Recovery Console with Windows XP\2000\2003 to fix many Windows errors and the built in recovery options with newer versions of Windows such as Vista and Windows 7.


NTOSKRNL not found
This could be a problem with your boot.ini file being configured incorrectly but is most likely because of a missing or corrupt ntoskrnl.exe file. Try these steps to fix the problem.

  1. Boot from your Windows XP CD.
  2. When it asks if you want to repair your Windows installation at the first R=Repair option, press the R key
  3. Press the number that corresponds to the correct location for the installation of Windows you want to repair. There will most likely be only one option unless you have a dual boot setup.
  4. Enter in the administrator password when requested (If it is blank just press enter)
  5. Change to the drive letter for your CDROM.
  6. Type CD i386
  7. Type expand ntkrnlmp.ex_ C:\Windows\System32\ntoskrnl.exe
    If Windows is installed in a different location besides C:\Windows, type in the correct path.
  8. Take out the CD and type exit to reboot your computer.

HAL.DLL Missing or Corrupt
If you get an error regarding a missing or corrupt hal.dll file, it might simply be the BOOT.INI file on the root of the C: drive that is misconfigured. The hal.dll file is a Windows NT file that is used by windows when communicating with your computer's hardware. Try these steps to fix the problem.

  1. Insert and boot from your Windows XP CD.
  2. At the first R=Repair option, press the R key
  3. Press the number that corresponds to the correct location for the installation of Windows you want to repair.
    Typically this will be #1
  4. Type bootcfg /list to show the current entries in the BOOT.INI file
  5. Type bootcfg /rebuild to repair it
  6. Take out the CD and type exit

If that doesn’t work your can try to replace your hal.dll with another copy.
Repeat the above steps to return to the Recovery Console.
At the command prompt type: expand d:\i386\hal.dl_ c:\windows\system32\hal.dll (Where d: is the drive letter of your CD and c:\windows is the location for your Windows installation folder.)
If prompted for permission to overwrite an existing version of the hal.dll file select yes.
Take out the CD and type exit.

NTLDR or NTDETECT.COM Not Found
Short for NT Loader, NTLDR is a program loaded from the hard drive boot sector that displays the Windows startup menu and helps Windows load.

Ntdetect.com is invoked by NTLDR, and returns the information it gathers to NTLDR when finished, so that it can then be passed on to Ntoskrnl.exe, the Windows kernel.

Try these steps to fix the problem.

FAT32 partition instructions
Boot with a Windows 98 floppy disk and copy the NTLDR or NTDETECT.COM files
from the i386 directory of your Windows XP CD to the root of the C:\ drive.

NTFS partition instructions

  1. Boot from your Windows XP CD.
  2. When it asks if you want to repair your Windows installation at the first R=Repair option, press the R key
  3. Press the number that corresponds to the correct location for the installation of Windows you want to repair. There will most likely be only one option unless you have a dual boot setup.
  4. Enter in the administrator password when requested (If it is blank just press enter)
  5. Type in the following commands (Replace X by the drive letter that is assigned to the CD ROM drive.
    COPY X:\i386\NTLDR C:\ (Enter)
    COPY X:\i386\NTDETECT.COM C:\ (Enter)
  6. Take out the CD and type exit to reboot your computer.

Pin It

Join Us On FaceBook

We Recommend:



Join Us On Twitter

Get insights into the computer industry and regular updates on our site. Click Here

OCT Youtube Channel

New tech tip videos posted on a regular basis. Subscribe today! Click Here

Sponsored

LATEST VIDEOS

Use a Static IP Address on an Azure Virtual Machine A...

Create a Virtual Machine in Microsoft Hyper-V If you ...

Enable the Copy and Paste Functionality in your VirtualB...

Microsoft uses default open and save options for its ...

Easily Change you Computer's MAC Address Every device...

Windows has had built in...

RECENT TIPS

Use a Static IP Address on an Azure Virtual Machine A...

Create a Virtual Machine in Microsoft Hyper-V If you ...

Protect Your Computer From Viruses With Avast Free Anti...

Enable the Copy and Paste Functionality in your VirtualB...

Is Fiber Optic Cabling Right For Your Network? In the w...

Microsoft uses default open and save options for its ...

NEWS

Will Net Neutrality Save or Destroy the Internet? Back ...

Who Will be the Future King of the Processor? When it c...

Microsoft Holds off on its Next Windows 10 Update Thanks...

YouTube taking money away from the little guys I’m sure...

Should you be concerned about the Spectre & Meltdown pat...

Microsoft wants us to stop using passwords but they aren...