I got a "STOP 0000218 registry file failure. The registry cannot load the
hive (file)\ systemroot\ system32\config\SAM or its log or alternate. It is
corrupt, absent or not writable"
I have another bootable hard disk clone of the drive from 2008 that I
installed replacing the existing C drive. When I started Windows, it said
that Windows failed to start on the last attempt. I guess something was
written to the bios because that clone drive did start when I tested it
after making it a clone. It ran chkdisk, said all was fine, the rebooted.
Same thing happened again and again. I can understand that the Windows
registry files may be corrupt on the existing C boot drive, but why the
cloned drive from last year wont work is beyond my comprehension.
I can boot the computer with a Windows 98 emergency boot disk, go to a C:
prompt and copy to and from the C drive and a floppy disk. In addition, from
the DOS prompt, I'm able to view all files and directories on the existing C
drive, and they appear to be correct.
The computer booted from the Windows XP CD and I went to the restore console
but cannot run a restore since is cannot access the SAM file.
I have an Award V6.00PG bios.
I do have a recent backup of the C drive on an external disk.
Any ideas as to what might be preventing windows XP from starting? I cannot
go into safe mode either, the computer reboots. But the computer accepts
the Win 98 emergency boot disk and allows me to access my C drive. But... I
cannot delete hiberfil.sys because of its attributes.
thanks,
bubsy
Use the hard disk drive diagnostic utility from the hard disk drive
maufacturer to see if the hard disk drive has failed and/or if there is some
other error (memory, cables, etc.)
Nothing was written to your BIOS. ;-)
--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html
"Bubsy" <colgat...@yahoo.com> wrote in message
news:4b2479e1$0$59779$bb4e...@newscene.com...
bubsy
"Rich Barry" <rba...@socal.rr.com> wrote in message
news:%23cs$W37eKH...@TK2MSFTNGP02.phx.gbl...
--
Hope this helps.
Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
--
db���`�...�><)))�>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- @Hotmail.com
- nntp Postologist
~ "share the nirvana" - dbZen
~~~~~~~~~~~~~~~
>
>
"Bubsy" <colgat...@yahoo.com> wrote in message
news:4b2479e1$0$59779$bb4e...@newscene.com...
How to Recover from a Corrupted Registry that Prevents Windows XP from
Starting
http://support.microsoft.com/default.aspx?scid=kb;en-us;307545
Once you've recovered, you might want to look here, as well:
How to Troubleshoot Registry Corruption Issues
http://support.microsoft.com/default.aspx?scid=kb;en-us;822705
You should also run diagnostics on your RAM, in case it is defective
and failed to properly write the registry file back to the hard drive
during the seemingly normal shutdown, and the manufacturer's
diagnostics on the hard drive, as it reported errors.
Use MemTest86 (http://www.memtest86.com/) to check the RAM, and obtain
the hard disk diagnostic utility from the manufacturer of your hard drive.
--
Bruce Chambers
Help us help you:
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/default.aspx/kb/555375
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin
Many people would rather die than think; in fact, most do. ~Bertrand Russell
The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot
which windows installation would you like to log onto?
I select 1
The Recovery program then hangs. I think the problem is that the SAM file is
corrupt and I don't think the Recovery Console can run with that file
missing.
bubsy
"Bruce Chambers" <bcha...@cable0ne.n3t> wrote in message
news:e63m3rBf...@TK2MSFTNGP06.phx.gbl...
bubsy
"Bruce Chambers" <bcha...@cable0ne.n3t> wrote in message
news:e63m3rBf...@TK2MSFTNGP06.phx.gbl...
If RC hangs, there may be something wrong with your CD, CD drive, or
RAM.
Yes it does, Daave. You need authentication to logon to the Recovery
Console, if the SAM hive is corrupt you will not be able to authenticate.
John
I retract my erroneous statement. And thanks for the correction.
In that case, OP should consider a Repair Install, no? I would normally
recommend the good 'ol manual System Restore, but since that needs the
RC, that ain't gonna work...
The SAM needs to be replaced by a backed up copy, there is a copy of the
SAM in the restore points, you could try one of those. You just have to
use a method other than the Recovery Console to do the replacement, you
can use a Bart PE disk or mount the drive in a USB enclosure and do it
with another Windows installation.
http://support.microsoft.com/kb/316751
John
I have a cloned hard disk of that drive from about a year ago. For some
reason, when I tried to get it to boot last week, it got to the "starting
windows" screen then the computer rebooted which led me to believe that I
had a bios or hardware problem because that cloned disk should boot. But
let's set that issue aside for now. Let's assume that that disk is fine and
bootable.
To make it easier, I'm going to refer to the drive that I'm having problems
with as the "SAM" drive since the missing or corrupt SAM seems to be an
issue.
I ran the WD diagnostics on the SAM drive and it passed all the
diagnostics. I'm also able to write to and copy from the SAM drive using the
Win98 emergency boot disk to load DOS and the files I copy are intact and
not corrupt. and..
I have a RECENT backup of the SAM drive to an external USB Drive. That
backup was made using Windows backup and I have separate backups for the C
drive files and the system state. so..
If I put the cloned disk on the primary controller as the master (boot)
disk, and put the SAM drive on the primary controller as the slave and.. if
the computer then boots into Windows using that cloned drive, would I be
able to use Windows backup to restore the system state from the USB drive to
the SAM drive. (In other words, is Windows Backup able to restore to a
location other than the original since in this case I'd want to restore the
system state to the D drive rather than the C drive)?
The risk here is that if something else is wrong (like a boot sector virus
or similar?) the cloned disk might now get corrupt.
As an alternative, I planned to do a reinstall of XP to the SAM drive then
restore my files from the external USB drive, but the installation disk
(which is an upgrade from 98 to XP Home) hung at "searching for a previous
version of Windows". I deleted the saved Win98 files long ago. I think I
still have the Win 98 OEM disk however so if there was someway to point to
XP home disk to the Win 98 disk (I have two CD ROM drives) I guess that
should allow Windows XP to install, and then I should be able to restore the
recent backup of the SAM drive from the external USB drive with Windows
backup.
One more thing... Each time I try to boot, checkdisk runs and finds more and
more cross linked files. It sounds like something is messing with the
existing file structure and messing them up. Is it OK to run a previous
version of Scandisk (the one that is on the Win98 emergency boot disk) to
check the SAM drive and repair it?
Two things I regret
1. Not spending the extra $100 to upgrade to XP Professional instead of XP
Home which an IT tech friend of mine tells me is much better than Home. and
2. Not converting from FAT32 to NTFS when I did the Win98 to XP Home
upgrade.
as a side note, I removed and reinserted the memory DIMS or whatever they
were called years ago. Memory and BIOS seem to be behaving normally.
thanks,
bubsy
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:ORR0wLIf...@TK2MSFTNGP04.phx.gbl...
What is the exact message you get?
Missing or corrupt messages at start up do not necessarily mean the
file is really missing or corrupt.
Usually, missing or corrupt messages at boot time really just means
that Windows cannot locate the file because something else is wrong.
The something else is usually quite simple to resolve.
Just like a message that hal.dll is missing or corrupt does not mean
hal.dll is really missing, but unfortunately when folks see that
message they start wasting a lot of time trying to replace the hal.dll
when that is not the problem at all.
Why don't you just boot the XP Recovery Console (make a bootable CD if
you don't have one), run chkdsk /r (works with FAT32 or NTFS),
determine if the SAM file is really missing or not, if it is missing
or even suspicious then just replace it and all of your registry files
(replace the 5 files as a group) with the probably tens of others
already on your HDD, reboot, fix remaining problems.
Just what is a manual system restore?
Are you of the belief that the end result of executing KB307545 and
System Restore from the GUI will be the same?
John
First, go to Windows Explorer>Tools>Folder Options>View. Check " Show hidden
files and folders". Uncheck " Hide protected
Operating System files". Then go to X:\System Volume
Information\restore\RPfolder\Snapshot Folder. X=Your drive RPFolder will be
numbered ie: RP1. Copy the first five files after
the Repository Folder. Then go to X:\Windows\System32\Config Folder. When
Config folder is open create a new folder. Then
move SYSTEM, SOFTWARE, SAM, DEFAULT and SECURITY files that already exist
there to new folder. Now paste the five files you copied from
Snapshot Folder. Rename each file by removing REGISTRY_MACHINE_ from each
file. You should now have a recent working
Registry. Recent being keyword. If you used the five files in the Repair
Folder it will put you back to the registrys original state when first
installed.
Note: Usually you will see a few if not many RP folders. Choose the Fifth
most recent. So if your most recent RP Folder is
numbered RP20 then choose RP15 to select the registry files.
Ok, to sum up all you are doing is first making the System Volume
Information folder visible. ( Unhidden ). Next navigate to the Snapshot
folder and copy the five files ( REGISTRY_MACHINE_SYSTEM, SAM, SOFTWARE,
DEFAULT and SECURITY. Then navigate to the Config Folder and while there
create a new folder and move the SYSTEM, SAM, SOFTWARE, DEFAULT and
SECURITY files that
already exist there
to new folder. Then paste the copied files into the Config Folder. Remove
the REGISTRY_MACHINE_ from each file. You now have a recent working
registry.
"Bubsy" <colgat...@yahoo.com> wrote in message
news:4b2479e1$0$59779$bb4e...@newscene.com...
Over the holidays, I'll have access to another computer and I'll try this. I
might be able to do it sooner by using the Win98 emergency boot disk and DOS
commands but it'll be really complicated.
bubsy
"Rich Barry" <rba...@socal.rr.com> wrote in message
news:uym3tzTf...@TK2MSFTNGP02.phx.gbl...
bubsy
"Rich Barry" <rba...@socal.rr.com> wrote in message
news:uym3tzTf...@TK2MSFTNGP02.phx.gbl...
Thinking it might be a problematic cable, I removed the primary controller
cable from the drive, removed the secondary controller cable from the DVD
and CD Rom drives, and used that cable to connect the primary controller to
my C drive. I still wasn't able to boot to windows. It got to the Windows XP
screen but then rebooted.
I booted the computer from the XP CD and started the recovery console which,
for some reason, ran. From the recovery console, I ran chkdsk /p and
chkdsk/r which resulted in no errors. I also ran fixboot and fixmbr. The
computer STILL wont boot to windows XP. I get to the starting windows screen
then the system reboots.
When I had the secondary controller cable disconnected (the one to the CDRW
and DVDRW drives) the computer tried to boot to Windows 98 and couldn't find
the files it needed. Windows XP home was installed as an Upgrade to 98 SE.
When I went to the install windows command on the XP CD it gave me a license
to accept, so it looks like it will allow me to install XP-Home upgrade
(assuming it finds some Win98 file somewhere that it can verify as an
upgrade from 98 to XP).
But, before I attempt that drastic step, is there some other command that I
can try with the recovery console?
thanks,
bubsy
"Rich Barry" <rba...@socal.rr.com> wrote in message
news:uym3tzTf...@TK2MSFTNGP02.phx.gbl...
"Bubsy" <colgat...@yahoo.com> wrote in message
news:4b2479e1$0$59779$bb4e...@newscene.com...
Reboot means different things to different people, so please describe
what reboot means to you and what you see on the screen.
When the system was working properly was it set to login
automatically?
Have you seen this article that highlights your exact issue?
http://support.microsoft.com/kb/822705
Let's say your registry is somehow FUBAR. It is not hard to replace
the 5 "important" registry files involved in the startup process with
some older ones long enough to allow you to at least boot and then
decide what to do next.
I am not paying attention to all this try, try, try stuff. You can
try all day, you need to fix.
There is not moving hardware around to other systems. If your system
gets far enough to get that error, then XP is at least trying to load,
but can't read the file.
If the registry files are screwed up, replace them.
I would put all your original hardware back like it was to see the
error, boot the Windows Recovery Console from your genuine XP
installation CD or if you don't have one, make a bootable Recovery
Console CD (easy), then proceed to fix it.
Run chkdsk, etc. all from the RC.
There is really no such thing as a manual system restore. You can
implement a portion of what an actual System Restore does with
KB307545 to get you going again and then do a real System Restore.
You can implement KB307545 from the Recovery Console:
http://support.microsoft.com/kb/307545/
For those that think KB307545 is equal to some kind of "manual system
restore" perform this convincing test:
Create a Restore Point, uninstall something simple like Games. Reboot
and Games are gone. Perform a System Restore, reboot and the all the
games are back and work fine.
Uninstall Games again, reboot and implement KB307545, reboot and see
how your games work now (they don't).
KB307545 is not the same as a System Restore and it is not a manual
system restore. It is to allow you to get your system running long
enough to do a proper System Restore (if it is still needed). See the
often overlooked Step 4.
After running Bitdefenders recovery CD's memory test, I learned that one of
my two memory DIMMs was NG. (each is 256). When I removed it, I was able to
boot the clone disk. But that disk is from 2008 and some very important
changes were made to my system between then and now, the most important of
which was a different antivirus program.
Here is where I'm at now with the Original Disk. The Windows Repair console
did allow me to begin a Repair Install of windows. It checked the files,
copied the new ones, then rebooted checked the installation, then said the
Repair Installa was completed and needed to reboot a final time. At that
point, when it triedto go into the Windows GUI, I got
Stop C000021a Fatal System Error. The Windows Logon Process System Process
Terminated Unexpectedly with a status of 0X0000135 (0X00000000 0X00000000)
The system has been shut down.
Any ideas as to a next step?
bubsy
"Rich Barry" <rba...@socal.rr.com> wrote in message
news:OwAAj%23ngKH...@TK2MSFTNGP06.phx.gbl...