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

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

  • Administrator
  • 24,501 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