jcarterx2 Posted July 28, 2008 Posted July 28, 2008 When I turn on my machine, I get:The registry cannot load the hive (file):\SystemRoot\System32\Config\SAMor its log or alternate.It is corrupt, absent, or not writable.Beginning dump of physical memory...I can get to the recovery console, but have no clue about what to do.Also, have my files been dumped?Thanks in advance for some much needed help!
IcemanND Posted July 29, 2008 Posted July 29, 2008 There's a couple of ways to possibly fix it. though all require that you have not turned off System Restore.Easiest, you need a BartPE cd or equivalent.Boot form the cd, launch your preferred file explorer i.e. A43.browse your hard drive to:c:\windows\system32\configmake a new directory in this folder named backup.copy the file contents from c:\windows\system32\config to c:\windows\system32\config\backupnow go to c:\system volume information\_restore{GUID}\RPxx\snapshotwhere GUID is a unique ID, and xx is the second to last RP folder.From the snapshot folder copy the following to c:\windows\system32\config:_REGISTRY_MACHINE_SAM_REGISTRY_MACHINE_SECURITY_REGISTRY_MACHINE_SOFTWARE_REGISTRY_MACHINE_SYSTEM_REGISTRY_USER_.DEFAULTGo back to c:\windows\system32\configdelete SAM, SECURITY, SOFTWARE, SYSTEM, DEFAULTRename the copied files_REGISTRY_MACHINE_SAM to SAM_REGISTRY_MACHINE_SECURITY to SECURITY_REGISTRY_MACHINE_SOFTWARE to SOFTWARE_REGISTRY_MACHINE_SYSTEM to SYSTEM_REGISTRY_USER_.DEFAULT to DEFAULTReboot system and it should boot up assuming your SAM file was not corrupted in the restore point you just restore from.Hard way, do all this copying and deleting and renaming by hand in the command window from the recovery console.
JedMeister Posted July 29, 2008 Posted July 29, 2008 UBCD4Win is an easy BartPE style environment to build with little or no knowledge. Have a look at www.ubcd4win.org. You can then follow the above advice to save your system (assuming you've gat a non-corrupted restore point).
jcarterx2 Posted July 29, 2008 Author Posted July 29, 2008 Thanks for the advice here, but I'm at a loss. I don't have, or even understand, anything about BartPe or any of this!!!
IcemanND Posted July 29, 2008 Posted July 29, 2008 the boot from your xp cd to the recovery console. Once in the recovery console type the following, except what is in italics:c:cd \windows\system32\configmd backupcopy *.* backupdel SAMdel SECURITYdel SOFTWAREdel SYSTEMdel DEFAULTcd \system volume informationdir /a{you will see a directory that the name begins with _restore follow by q unique ID number replace {guid} in the next line with this id number}cd _restore{guid}dir /ad rp*.*{in the list of directories select the second to last one listed RPxxx where xxx is a number, replace xxx with that number in the next line}cd RPxxx\snapshotcopy _REGISTRY_MACHINE_SAM c:\windows\system32\config\SAMcopy _REGISTRY_MACHINE_SECURITY c:\windows\system32\config\SECURITYcopy _REGISTRY_MACHINE_SOFTWARE c:\windows\system32\config\SOFTWAREcopy _REGISTRY_MACHINE_SYSTEM c:\windows\system32\config\SYSTEMcopy _REGISTRY_USER_.DEFAULT c:\windows\system32\config\DEFAULT{reboot}
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now