STOP: C0000218 {Registry File Failure}

STOP: C0000218 {Registry File Failure}

Postby stephen » Wed Sep 19, 2007 8:35 pm

The Hard Drive in Windows XP Machine had bad sectors

when windows tries to boot it gets part way in then blue screens witj

Code: Select all
STOP: C0000218 {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.

Beginning System Dump of physical memory


Solution
1. I imaged the drive to a new disk and selected the option to ignore disk errors
2. the new disk still reported same error
3. Booted from XP CD and select R for Recovery Console on the first screen pause
4. looked at microsoft site http://support.microsoft.com/Default.aspx?kbid=307545
5. ran these commands
At the Recovery Console command prompt, type the following lines, pressing ENTER after you type each line:
Code: Select all
md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

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

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


6. Type exit to quit Recovery Console. Your computer will restart.

7. the computer restarted Ok and I could login and see files, however there was some problems with some programs like microsoft registration page not showing any text

8. so I did a repair install of windows
ie boot from Windows XP Home upgrade CD and select Repair install.

9. Now the PC tries to boot and then restarts again through the booting process. So I have an unusable PC again.

10. Tried step 5 again ie copy the SAM etc files from the repair folder but this did not help.

11. Tried step 8 again ie another Repair install from the Windows Home Upgrade CD.
Last edited by stephen on Thu Sep 20, 2007 11:16 am, edited 1 time in total.
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Blog questioning correct procedure

Postby stephen » Wed Sep 19, 2007 8:54 pm

This blog asks question which of two methods is the best to run to fix the
STOP: C0000218 {Registry File Failure}
problem

http://icrontic.com/forum/showthread.php?t=51294
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane


Return to WIndows XP Issues

Who is online

Users browsing this forum: No registered users and 3 guests

cron