Advertisement
opexxx

Windows XP Setup - Missing HAL.DLL

Jun 10th, 2015
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.24 KB | None | 0 0
  1. Windows XP Setup - Missing HAL.DLL
  2.  
  3. Error Message: Cannot Find \Windows\System32\hal.dll
  4.  
  5.  
  6.  
  7. Workaround provided by Hiep Luong (12/2/04) - Use as an example:
  8.  
  9. Many people (including me) have (had) problems with the file hal.dll when installing on a fresh new harddisk. The proposed solutions do not
  10. work in this case because there is a dynamic drive overlay (ddo) installed. The solution is quite simple: remove first the ddo (for
  11. example with Seagate's DiscWizard: http://www.seagate.com/support/disc/drivers/discwiz.html) and re-install windows xp.
  12.  
  13. Generalized information:
  14.  
  15. This situation occurs when setting up a dual boot situation with Windows 2000 and Windows XP (it may occur with other setups). After Windows XP's install routine has finished copying files, and is ready to boot to the GUI portion of SETUP, you may receive the above error.
  16.  
  17. One possible fix. So far, this has been traced to an incorrect BOOT.INI file. To gain access to the Boot.ini:
  18.  
  19. Go to Start/Run and type in: msconfig. Then go to the Boot.ini Tab. Or...Right click the My Computer icon/Properties/
  20. Advanced/Startup and Recovery/Settings/System Startup/Edit.
  21.  
  22. How to Edit the BOOT.INI File in Windows XP
  23. http://support.microsoft.com/support/kb/articles/Q289/0/22.asp
  24.  
  25. This user had 1 hard drive, partitioned into C and D drives. His BOOT.INI file looked like this: (the erroneous lines are in "blue")
  26.  
  27. [boot loader]
  28. timeout=1
  29. default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
  30. [operating systems]
  31. multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
  32. multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
  33.  
  34. The 3 in the erroneous lines, above, points to the 3rd partition on the first physical hard disk. Since this user only had 2 partitions, this value was incorrect. Changing the value to 2, in both lines, allowed the user to complete Windows XP's setup.
  35.  
  36. The corrected BOOT.INI looked like this:
  37.  
  38. [boot loader]
  39. timeout=1
  40. default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
  41. [operating systems]
  42. multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
  43. multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
  44.  
  45. HAL - Hardware Abstraction Layer
  46.  
  47. HAL is Microsoft's abbreviation for the Hardware Abstraction Layer, the technology and drivers that let the Windows NT, 2000, and XP operating systems communicate with your PC's hardware. HAL is one of several features--along with the NT file system (NTFS) that replaced the much less secure MS-DOS--that make NT-based operating systems more secure and reliable than Windows 95, 98, and Me.
  48.  
  49. HAL prevents applications from directly accessing your PC's system memory, CPU, or hardware devices (such as video and sound cards)--a method that can prevent many device conflicts and crashes. Unfortunately, HAL sometimes also slows or stops DOS games and programs, which need to load their own memory managers or control hardware directly for better performance.
  50.  
  51. With HAL in the way, developers must rewrite or even abandon their older software in favor of newer, HAL-compatible versions. Microsoft has pressured hardware makers to provide or support technologies such as MMX, DirectX, and 3D graphics language OpenGL, all of which allow fast but indirect access to the advanced high-performance features of video, sound, and CPU hardware. Such access also makes for a better visual experience when using Windows for Web and productivity applications; improved graphics performance is evident all over Windows XP's new user interface.
  52.  
  53. XP also offers some new compatibility-mode features that let you run programs meant to run under earlier operating systems, but, frankly, most DOS-based and even some Windows-based games simply won't work with the new OS.
  54.  
  55. Tip: To see which HAL is currently installed, open Device Manager, and expand the Computer branch. The entry that
  56. appears in this branch corresponds to the currently installed HAL.
  57.  
  58. Situations in Which Windows May Not Start in Safe Mode
  59. How to Troubleshoot Hardware Abstraction Layer Issues
  60. How to Move a Windows XP Installation to Different Hardware
  61. Setup Error Msg: Cannot find file: \Windows\System32\hal.dll
  62.  
  63. HAL.DLL is Missing - Updated by MVP Alex Nichol
  64.  
  65. Option 1:
  66.  
  67. Boot from your CD and follow the directions to start Recovery Console. Then:
  68.  
  69. Attrib -H -R -S C:\Boot.ini
  70. DEL C:\Boot.ini
  71. BootCfg /Rebuild
  72. Fixboot
  73.  
  74. Option 2:
  75.  
  76. Boot from your CD and follow the directions below to start Recovery Console.
  77.  
  78. Insert the Setup compact disc (CD) and restart the computer. If prompted, select any options required to boot from the CD.
  79. When the text-based part of Setup begins, follow the prompts; choose the repair or recover option by pressing R.
  80.  
  81. If you have a dual-boot or multiple-boot system, choose the installation that you need to access from the Recovery Console.
  82. When prompted, type the Administrator password. (if you didn't create one try pressing enter).
  83.  
  84. At the system prompt, type Recovery Console commands; type help for a list of commands, or help commandname for help on a specific command.
  85.  
  86. Most likely you will need to expand the file from the CD. The command would be expand d:\i386\hal.dl_ c:\windows\system32\hal.dll. Substitute d: for the drive letter of your CD. Once you have expanded the file type "exit" to exit the Recovery Console and restart the computer.
  87.  
  88. TIP: Recovering Windows XP using the Recovery Console
  89.  
  90. Update:
  91.  
  92. Shaun Gray (3/2005) states:
  93.  
  94. Let me review my experience / problem with hal.DLL with you all:
  95.  
  96. I Received a computer with win XP home sp2 that after uninstalling IML4, and Installing IML5, and rebooting. (IML being Imesh light)
  97. Computer displayed windows root\system32\hal.dll is missing or corrupt, please re-install.
  98.  
  99. NO MODES would boot from advanced boot options
  100. Only bootable option was from CD
  101. Repair console would not EDIT system from OEM XP HOME CD
  102. FixMBR did not solve anything
  103. Bootcfg /list, bootcfg /rebuild did not solve anything
  104. Fixboot did not solve anything
  105.  
  106. Solution Option 1 wouldn’t work with multi attributes with out “|” in between them. ******
  107. Solution Option 1 didn’t solve anything, except inadvertently adding a second OS to boot.ini
  108. Solution Option 2 was unusable with OEM XP HOME SP2 CD.
  109. Solution Opt 2 with XP PRO SP2 Integrated CD “Functioned”, but was "unable to expand file"
  110.  
  111. REINSTALLING WINDOWS IS NOT AN OPTION.
  112.  
  113. Final Solution:
  114.  
  115. Removed hard drive from system.
  116. Added Hard drive to a 2nd WORKING XP PRO System. As Slave on Cable select.
  117.  
  118. ***(all references to “D:\” are the Slave Hard drive damaged windows)***
  119.  
  120. Booted system and enabled - Explorer\tools\folder options
  121.  
  122. Display contents of system folders.
  123. Show Hidden Files and Folders.
  124. UN-check Hide Protected OS Files.
  125.  
  126. Go to “D:\” open Boot.ini in NOTEPAD, remove the Extra OS’s added with option 1.
  127. Close and Save changes to Boot.ini
  128.  
  129. Go to “My Computer” Right click on “D:\” select SEARCH “D:\”
  130.  
  131. Search “All or Part of the File Name” = “hal”
  132.  
  133. Hal.dll may or may not be found in “D:\WINDOWS\System32” either way it’s no good.
  134. A working copy of hal.dll WILL be found in “C:\WINDOWS\ServicePackFiles\i386”
  135. COPY THAT FILE “D:\WINDOWS\ServicePackFiles\i386\hal.dll”
  136. And Paste it to “D:\WINDOWS\System32” folder; if it asks to overwrite say YES.
  137.  
  138. You may now un-do the changes made to Explorer\tools\folder options to RE-Hide files.
  139. Shut Down the computer.
  140.  
  141. Remove the 2nd Drive and reinstall it to its own tower as Master.
  142.  
  143. You should Now be able to boot the computer up as if nothing ever happened.
  144.  
  145. With the exception that it will prompt you to reinstall some drivers, Just say YES and let it auto detect …THEY ARE ALREADY THERE. And will setup fine.
  146.  
  147. This "FIX" assumes that the computer in question HAS at ther very least service pack1, if not service pack 2.
  148.  
  149. If these patches have NOT been installed , I dont belive any such Reserve copy of hal.dll will wxist on the drive!
  150.  
  151. Thanks for reading,
  152. Shaun Gray
  153.  
  154. Note: This compilation of information are from various sources. All credit due to its authors.
  155. XP Support- 03/16/2005 06:07 AM - Home Page WinXP
  156. © Copyright Kelly Theriot MS-MVP(DTS) 2005. All rights reserved.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement