Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

missing hal.dll


  • Please log in to reply

#1
dbldady

dbldady

    Member

  • Member
  • PipPip
  • 13 posts
The missing hal.dll is haunting me. But I need help backing up files first.

I "think" the PC crashed during an auto windows update on 2/17. It is set to check m$update on Sunday after patch Tuesday. The generic windows "installing" splash was flickering ... more like wigging out when I walked through the room. Then it appeared to reboot. Then the error "missing or corrupt hal.dll please reinstall ...

I have tried the alternate methods in M$ kb 314477: bootcfg/rebuild, then fixboot, now I get "load needed DLLs for kernel" error.

expand d:\i386\hal.dl_ c:\system32\hal.dll from the recovery console gave me a "cannot create hal.dll file" ... well something like that.

CHKDSK from the recovery console dosen't come up with any complaints.

Can't boot to safe mode at all.

I have searched through this and other forums, tried another method or two with no success.

By the way, this Windows XP Media Center sp2 has never crashed in the two years I have owned this machine.
All patches until now installed. Norton 360 fully operational.

I also installed the same copy of windows to my storage drive and tried to copy/paste the hal.dll file from system32 in this temp. install to the broken factory install, same error. I'm pretty sure hal.dll was missing from the broken system32 folder when I browsed it just before ctrl-v.
( I use the storage drive to capture enormous video files for editing. Best to capture on a separate drive from the capture software/windows system drive)

Sooooo... I think I'll do a recovery installation, a pain, unless there is another idea I haven't found yet.
But I want to back up some "access denied" files first.

I can browse the broken windows boot drive from the temp. windows boot, but some files I want to back up deny access.
OK ... more forum searching. At least the broken drive isn't dead.

At first, one critical folder in documents\settings in my login wouldn't open and showed zero files ... bad ... I attempted to change the owner (security permissions) in safe mode (from the temp. boot). Now I can browse the folders in the critical parent folder, but I cannot copy them. I think I did the "replace subcontainers" correctly also. Honestly I have tried so many times with different folders and files I can't remember what I did specifically each time. I do know I get access denied every time I try to copy. Most files I haven't tried to open or edit because I am not yet willing to install m$office/ m$money on the temp. drive until I'm really desperate. Also I think I encrypted this main and subfolders at one point, and/or made them private. The folder and filenames are green in windows explorer. I have shared digital photo files (not private) in another directory where some individual files deny access while others allow copy to the backup. I have been able to copy other files and folders in my documents\settings and all of the other users files as well. I was logged in during the initial crash.

Yeah I'm a mess, and only know enough to be dangerous. I really don't want to do a full windows install and redo all my programs, settings etc. The machine was just right before last Sunday. So I joined this forum to figure this out.

I promise to do backups before patch Tuesday each month in the future. Thanks if you can help.

Edited by dbldady, 24 February 2008 - 11:00 PM.

  • 0

Advertisements


#2
dbldady

dbldady

    Member

  • Topic Starter
  • Member
  • PipPip
  • 13 posts
Upon further searching while waiting for a reply, I re-checked the kellys korner article.
http://www.kellys-korner-xp.com/xp_haldll_missing.htm

I attempted the suggestion to fix the boot.ini file. A windows search returned a backup boot.ini in windows\pss dated before the crash.

OK ... but ...

From a command prompt, "dir f:\" (f is the broken windows install) displays autoexec.bat, config.sys, drivers, program files, windows, documents and settings, etc. but no BOOT.INI ???

Now I'm definitely in over my head.

Edited by dbldady, 24 February 2008 - 10:43 PM.

  • 0

#3
happyrock

happyrock

    Tech Moderator

  • Retired Staff
  • 9,285 posts
read it all before doing anything....
go here for the lowdown on replacing the hal.dll



if you remove the drive and slave it to a working computer first ...you should be able to backup all your data before proceeding with any other fixes..
another option to back up your data is using puppy linux...it boots and runs totally in ram as long as you have at least 265 mb of ram...this option saves you the trouble of removing the hd...
get puppy linux...Get puppy-2.16-seamonkey-fulldrivers.iso download it and burn it to cd ...if you don't have a burning program that will burn .ISO files go here and get burncdcc ..a small FAST no frills iso burning program...make sure in the bios the cd drive is the first boot device....put the cd in the cd drive..boot your computer....puppy will boot and run totally in ram...if your hardware is is good working order you will know...
after you get it running and your at the desktop...you take the puppy linux cd out and then you can use the burner to copy all yor data to cd/dvds
you can also use it to backup your data to a external usb harddrive..just have it hooked to the computer when you boot up with puppy...
==========================
quick guide for saving data...music..files on a system that will not boot using puppy Linux..
these instructions are for backing up to a flash drive...they will work using a external usb hard drive too

after you get to puppy desktop..
click on the drives icon...looks like a flash drive...top row..it will list all the drives connected to

your computer...

click on the red icon for the drive you want to mount...in this case its a flash drive ...puppy will

mount the drive..the drive icon turns green when its mounted...
minimize the drives mounter window..you will need it again in a few minutes..
drag the right edge of it sideways to shrink it to its narrowest size...then drag the window to the
right edge of the screen...

now click on the icon that looks like a filing cabinet (kind of yellow) on the main drive...it should
already be green..
you will see a list of all the folders on the main drive Usually your C: drive..shrink that window to

the narrowest you can..drag that window to the left side of the screen...
at this point you should have 2 windows open on your desktop..the flash drive on the right side..
go back to the folders on the C: drive...click on the documents and settings folder...then your user
name or all users..find the folders that has your data..
drag and drop the folder with the data you want to make copies of to the flash drive window...

your options are to move ..copy ect...JUST COPY..if its to big you will have to open the folder and
drag and drop individual files until the flash drive is full...(I have a 120 GB external USB drive for
big data recovery jobs and a 4 GB flash drive for the smaller jobs)..after you get the files copied to
the flash drive...
Click on the drives mounter you minimized earlier
UNMOUNT THE FLASH DRIVE by clicking on the green icon..you will once in awhile get error messages when
unmounting the drive..ignore them..when the flash drive icon turns red again its safe to remove the
flash drive..trot on over (stroll if you want to look cool) to another computer and plug in the flash

drive and copy all the data files ( I drag and drop) to the other computer..
make sure the other computer can read them...

now delete the data on the flash drive...take it back to the misbehaving computer and plug it in

again..click on the drives icon again and repeat until you have all your data transferred to the working
system..

Edited by happyrck, 22 February 2008 - 09:41 AM.

  • 0

#4
dbldady

dbldady

    Member

  • Topic Starter
  • Member
  • PipPip
  • 13 posts
Hey happyrck

I tried puppy linux and got "permission denied" when I tried to copy the encrypted files from one mounted drive to another ... oh well ... I did make a 3.01 iso disk as well, thanks for turning me on to PL!

So ... today I attempted this repair suggestion which I found here:
http://webcast.broad...e.jsp?id=8658-0

NOTE: The above link has some incorrect info. Read the replies following this from ztruker, who learned me some 'bout this!

This procedure is also explained in M$ kb307545.

I did this: from the repair console

md c:\windows\tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.kpp
copy c:\windows\system32\config\software c:\windows\tmp\software.kpp
copy c:\windows\system32\config\sam c:\windows\tmp\sam.kpp
copy c:\windows\system32\config\security c:\windows\tmp\security.kpp
copy c:\windows\system32\config\default c:\windows\tmp\default.kpp

( the misbehaving files are at least backed up incase I really mess this up )

Next your told to do this:

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

Then:

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\system\software c:\windows\system32\config\software
copy c:\windows\repair\system\sam c:\windows\system32\config\sam
copy c:\windows\repair\system\security c:\windows\system32\config\security
copy c:\windows\repair\system\default c:\windows\system32\config\default

In the first line here, my comp. listed the file in "windows\repair" as "system.bak" Ok, I copied it to the "windows\system32\config" folder and renamed it to "system"

When I next tried to copy "windows\repair\system\software" I got a "could not find file" ... drats ... now I'm stuck
I can't find a subfolder under "windows\repair" named "system"
Or more likely I can't figure out how to find it.
While searching for that answer, I read in M$ kb307545:

"WARNING Do not use the procedure that is described in this article if your computer has an OEM-installed operating system. The system hive on OEM installations creates passwords and user accounts that did not exist previously. If you use the procedure that is described in this article, you may not be able to log back into the recovery console to restore the original registry hives."

This a Dell OEM windows setup CD ( why did I pay extra for it when I bought the PC? )

I stopped right there
and put the "windows\system32\config" files back the way they were. Now it is again "missing hal.dll" upon boot.

For those of you who are as troubled as me, but bought your OS off the shelf, read the above article and comments carefully, many have claimed success. Read ztruker's post below also! For those who are willing to help me, I promise not to buy proprietary anything again.

Are there any Dell PC users or other XP repair mullahs out there who can guide me through this?
Again I really want to avoid a windows reinstall because I have encrypted data that I cannot get backed up to a PC with a working OS.

Well ... and I don't feel confident that a repair install will allow me access to those encrypted files when that odyssey is completed anyway.

Thanks again to all who can help !

Edited by dbldady, 24 February 2008 - 10:48 PM.

  • 0

#5
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
Your best bet would be to borrow a retail copy of XP from a friend and use it to complete the repair procedure you started, only follow the MS Article, not the one you posted a link for since it's wrong.

http://support.micro...kb;en-us;307545

I know the MS one works as I've used it several times but only with a retail version of XP, not a OEM version. You may be able to use a retail XP Home or XP Pro CD, even though you have Media Center. Worth a try.

Your link:
copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\system\software c:\windows\system32\config\software
copy c:\windows\repair\system\sam c:\windows\system32\config\sam
copy c:\windows\repair\system\security c:\windows\system32\config\security
copy c:\windows\repair\system\default c:\windows\system32\config\default

MS Article:
copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default

See the difference? Also, the following files should be in the Repair directory, sizes may vary but should be similar):
1,688 autoexec.nt
	 2,577 config.nt
 1,462,272 default
	24,576 SAM
   785,350 secsetup.inf
	45,056 SECURITY
   203,778 setup.log
29,065,216 software
  4,427,776 system

Edited by Ztruker, 24 February 2008 - 08:41 PM.

  • 0

#6
dbldady

dbldady

    Member

  • Topic Starter
  • Member
  • PipPip
  • 13 posts
Thanks for all your thoughts ztrucker!

I realized the folly of the article I referred to after I made the post, guess I'll edit out the link. The website it came from had some html formatting issues, according to comments posted there.

Anyway ... I am worried about the OEM issue. kb307545 warns against using the procedure outlined there because it could overwrite existing user accounts on an OEM install, or something like that. Thus making any previously encrypted files inaccessible, I presume. That is what I am worried about.

So at this point I am in over my head, but learning.

The OEM cd does get me into the recovery console. What I don't understand is how OEM system files behave during the procedure. I need to fully understand the "warning" in KB307545 before I proceed.

By the way, when recovery console starts, I have only to hit enter without typing an admin password ( I thought I had once set an admin password )

If I follow the procedure in kb307545 and kb309531, how can I first preserve the EFS security certificates so I can retrieve encrypted files after windows is working again? If the EFS thing isn't an issue here then let me know and I'll forge ahead.
Well ... I want to back up EFS certs no matter what, with all the scary stories I have read about, that seems prudent, I just don't know how.

praise be to the XP mullahs

Edited by dbldady, 24 February 2008 - 10:51 PM.

  • 0

#7
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
This MS Article seems to indicate you can recover but you need a working, bootable XP. Read through it and see what you think.

Edit; Forgot the link!
http://support.microsoft.com/kb/890951

Edited by Ztruker, 25 February 2008 - 12:00 PM.

  • 0

#8
happyrock

happyrock

    Tech Moderator

  • Retired Staff
  • 9,285 posts

I tried puppy linux and got "permission denied" when I tried to copy the encrypted files from one mounted drive to another ... oh well ... I did make a iso disk as well

get the version of puppy linux I told you to get puppy-2.16-seamonkey-fulldrivers.iso ...I had the same problem with "permission denied" when I tried using 3.01

this thread here may also help...post #2 about how to access encrypted files

Edited by happyrck, 25 February 2008 - 08:57 AM.

  • 0

#9
dbldady

dbldady

    Member

  • Topic Starter
  • Member
  • PipPip
  • 13 posts
happyrck

Thanks for keeping an eye on this thread, I did try puppy linux-2.16-seamonkey-fulldrivers.iso. The "permission denied" message appeared while using 2.16. Still something to do with the origional XP EFS on those files I suppose. I'll keep experimenting however. I need to learn more about puppy.

I mentioned that I made a 3.01 iso also because I appreciate you telling me about those little puppy linux gems.

Thanks for any new ideas.
  • 0

#10
happyrock

happyrock

    Tech Moderator

  • Retired Staff
  • 9,285 posts
I edited my last post,,,gave a link to a thread that may help

Edited by happyrck, 25 February 2008 - 09:03 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP