Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Recovery Console command prompt


  • Please log in to reply

#1
Jonathan

Jonathan

    Member

  • Member
  • PipPip
  • 11 posts
It all happened when I tried to use System Recovery. But before it could even start, I got the blue screen message of death:

STOP: c0000218 {Registry File Failure}
The registry cannot load the hive (File):
\SystemRoot\system32\config\SECURITY
or its log or alternate.
It is corrupt, absent, or not writable

I decided to find a solution on Google and stumbled upon several helpful websites. One in particular was a microsoft website. I printed the instructions to repair the file. I restarted the computer and repeatedly pressed F8. Then I chose Load Last Known Good. Next I chose Recovery Console. At the Recovery Console command prompt, I successfully typed:

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

pressing enter after each line. When I used the next set of commands,

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

it said that windows\repair\system is missing or is in the wrong directory. The other files seem to be there. When I encountered this, I panicked. So I then typed

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

and I restarted the comp and decided to get help. This site has helped me with my virus problem and I really appreciate that. I hope that you guys can help me again. Thanks so much in advance!
  • 0

Advertisements


#2
Jonathan

Jonathan

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
I wasn't sure weather you could repair one or two files or you have to repair all of those files at once.
  • 0

#3
admin

admin

    Founder Geek

  • Community Leader
  • 24,639 posts
Was your installation of Windows XP preinstalled when you purchased your system? That fix doesn't work for OEM installations.
  • 0

#4
Jonathan

Jonathan

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
No, it was not preinstalled.
  • 0

#5
Jonathan

Jonathan

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
Could I just fix the SECURITY file instead of all of them? I think that it may cause some problems though. Please tell me what you think. Thanks
  • 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