For xp
* Boot from your XP Setup CD and enter the Recovery Console
* Run "Attrib -H -R -S" on the C:\Boot.ini file
* Delete the C:\Boot.ini file
* Run "Bootcfg /Rebuild"
* Run Fixboot
For nt
CAUSE
The Hal.dll and Ntoskrnl.exe files are mismatched.
RESOLUTION
Use the ERD disk and repair the installation. Choose to replace all files, and then replace only the Hal.dll and Ntoskrnl.exe files.
If you can start another installation of Windows NT on the same computer, you can expand the correct Hal.dll and Ntoskrnl.exe files from the Windows NT CD-ROM. To do so, follow these steps: 1. Boot to the working version of Windows NT.
2. Start a command prompt.
3. Change to the CD-ROM drive.
4. Change to the appropriate folder on the CD-ROM (for example, I386 for Intel-based computers).
5. Type expand hal.dl_
\system32 where is the path of the non-functioning Windows NT folder.
6. Type expand ntoskrnl.ex_ \system32.
7. Restart the computer into the other Windows NT installation.
APPLIES TO
• Microsoft Windows NT Server 3.51
• Microsoft Windows NT Server 4.0 Standard Edition
• Microsoft Windows NT Workstation 3.51
• Microsoft Windows NT Workstation 4.0 Developer Edition
For Windows Server 2003
RESOLUTION
To resolve this problem, use one of the following methods: • Expand and copy the correct Hal.dll and Ntoskrnl.exe files from the Windows Server 2003 SP1 CD to the Windows Server 2003-based computer before you restore the backup.
Use the Setup.log file to determine the correct Hal.dll and Ntoskrnl.exe files to replace. The Setup.log file is located in the C:\Windows\Repair folder. There are different Hal and Ntoskrnl files that can be used, depending on the system type. The Setup.log file shows which files are installed on that specific system.
• Install Windows Server 2003 SP1 on a new disk drive before you restore the backup. Install Windows Server 2003 SP1 by using Windows Update Web site, the Microsoft Update Web site, or Windows Server Update Services (WSUS).