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

Take control of your Outlook junk mail   If...

Cut Yourself Out a Slice of Data As you probably know...

Mount an ISO Image File in a VirtualBox VM Oracle Vi...

Get Rid Of Those Unwanted Windows Apps Starting with ...

Find Your Wireless Password With Ease Many of us have...

3 Ways to Rename your Computer When you install Windo...

RECENT TIPS

Do you think your computer has a malware i...

How safe is your personal data?   Hacking...

Are your gaming skills up to par?   Onlin...

An easier way to scan PDF documents   If ...

Keep your computer safe while you are in school ...

How Icons Can Be Used in Website Design The S...

NEWS

Another reason to keep your devices up to date. If you ...

Try not to get the BlueKeep Blues Once again the Micros...

Are Your Chrome Credentials Secure? Many people like to...

Windows 10 Optional Updates Coming Soon If you can reme...

Is a Virtual Private Network right for you? &nb...

Use Some Cache to Speed Up Chrome If you use the popula...