Skip to main content

Maybe Helpful To Someone!!!!!!!!!

More
17 years 11 months ago #18719 by FallenZer0
www.short-media.com/printcontent.php?print=r&id=313
[Repairing Windows XP In Eight Commands]

-There Is A Foolish Corner In The Brain Of The Wisest Man- Aristotle
More
17 years 11 months ago #18730 by DaLight
Interesting link. However, I take issue with his assertion about the use of the bootcfg command which in his view can "remove/replace/repair any system files that were preventing the operating system from loading correctly." From my understanding of the Microsoft KB on Bootcfg it only manipulates the boot.ini file. So I'm doubtful as to whether the listed procedure will solve the various problems he claims such as:

* Windows Hardware Abstraction Layer (HAL) problems
* Corrupt registry hives (\WINDOWS\SYSTEM32\CONFIG\xxxxxx)
* A corrupt NTOSKRNL.EXE
* A missing NT Loader (NTLDR)

I am interested in clearing this up, so I would appreciate if it someone can confirm or deny this.
More
17 years 11 months ago #18779 by puneetvig
You may recieve the following error when starting a Windows XP computer:
"hal.dll is missing or corrupt"

There are 3 main causes that may cause this error:
1 - Corrupted disk
2 - boot.ini is damaged or missing
3 - hal.dll is actually damaged or missing


Resolution:

==== Case 1 =============
1. Boot into the recovery console.
2. Run "chkdsk /p". to check for errors.
3. If errors are found then run "chkdsk /r"
3. Restart to see if the issue is resolved.
========================

==== Case 2 ==============
1. Boot into the recovery console.
2. Run "bootcfg /rebuild".
You will receive a message similar to this:
Total Identified Windows Installs: 1
[1] C:\Windows
Add installation to boot list? (Yes, No, All)
3. Press "y" then press "Enter"
4. When "Enter Load Identifier" appears type in the name of the operating system
(This name is arbitrary and is just a label for the the found installation) and
press "Enter".
5. When "Enter OS Load options" appears type "/fastdetect" and press "Enter".
6. Exit recovery console to see if issue is resolved
=======================

==== Case 3 ============
To restore hal.dll with the version of the HAL Driver installed during setup,
perform the following steps.

1. Boot to the Recovery Console by either: - running the XP setup from the CD and
selecting the repair option. - if the Recovery Console has been installed, select
it from the OS Choices menu.
2. On you have booted to the Recovery Console, you will be at the \%WINDIR%\ folder
(where %WINDIR% is the directory in which Windows XP has been installed). Change
directory to the \%WINDIR%\Repair folder by typing "cd repair" and hitting Enter.

3. From the \%WINDIR%\Repair folder, view the setup.log file by typing in "more
setup.log" and hitting enter.
4. Locate the line that reads \WINDOWS\system32\hal.dll = "********","#####" (
where the ******** indicate the HAL driver file that was installed) example:
\WINDOWS\system32\hal.dll = "halacpi.dll","1a769" (where halacpi.dll is the HAL
driver file) Note: the name of the compressed file in the Windows XP Installation
files will be same except with the extension of "dl_" instead of "dll". Example:
"halacpi.dl_" for "halacpi.dll"
5. Press ESC to get back to the Recovery Console Command Prompt
6. Expand the file from the Windows XP CD by typing in the following: expand
d:\i386\(name of compressed driver file) c:\windows\system32 Example: expand
d:\i386\halacpi.dl_ c:\windows\system32
7. Change directory to the \%WINDIR%\System32 folder by typing in "cd
\%WINDIR%\system32" and hitting Enter.
8. Rename the expanded file to "hal.dll" by typing in "ren (name of driver file)
hal.dll" and hitting Enter. Example: "ren halacpi.dll hal.dll" 9. Restart the
system.

++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++

Windows NT could not start because the below file is missing or corrupt:

X:\WINNT\System32\Ntoskrnl.exe

or
NTLDR is Missing
Press any key to restart


Resolution:

If there is a disk in either the floppy drive or the CD drive remove it and press a
key.

OR

Boot with the XP cd into Recovery Console or if FAT32 with a Windows 98 startup
disk with CDROM Support.

Copy NTLDR and NTDETECT.COM from the i386 folder to C:

Tyr to boot to Desktop. If not able to, follow the next steps.

In Recovery Console run the following 8 commands (press Enter after each line):

CD

ATTRIB -H C:\boot.ini

ATTRIB -S C:\boot.ini

ATRIB -R C:\boot.ini

del boot.ini

BOOTCFG /Rebuild

add to boot record - (KB330184 step 8)

If you are able to boot into Windows, but get a message saying boot.ini is invalid.
-

Create a new boot.ini in notepad and saved it to the hard drive.

EXAMPLE:
[boot loader]
timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition"
/fastdetect


+++++++++++++++++++++++++++
+++++++++++++++++++++++++

regarding error message: Corrupt registry hives (\WINDOWS\SYSTEM32\CONFIG\xxxxxx)


Resolution: There is only one resolution for this type of error msg that is manual system restore: kb # 307545
How to recover from a corrupted registry that prevents Windows XP from starting

How to recover from a corrupted registry that prevents Windows XP from starting

hope this meet ur requirment

See Ya!!!!!! Cheers
Puneet
More
17 years 11 months ago #18780 by puneetvig
Also I like to mentioned that I have tried these steps and resolve issues sucessfully many times.

See Ya!!!!!! Cheers
Puneet
Time to create page: 0.122 seconds