Friday, December 19, 2008

Missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM

Boot with Windows XP CD > press any key to continue >
STEP1:
1. When the "Welcome to Setup" screen appears > press R to start the Recovery Console.
2. > 1: > press ENTER with admin password
3. type each line:
4.
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
5.
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.

Note You may receive the following error message:
C:\System Volume Information is not accessible. Access is denied. If you receive this message,

1. Type the following line, and then press ENTER:
cacls "driveletter:\System Volume Information" /E /G username:F
2. If you need to remove the permissions after troubleshooting, type the following line at a command prompt:
cacls "driveletter:\System Volume Information" /E /R username
This command removes all permissions for the specified user.

STEP 2 :
C:\Windows>CD C:\system~1\_resto~1
C:\system~1\_resto~1\>dir
Note: What you'll want to do is find the 2nd highest numbered folder in that list. ex: choose RP23 instead of last RP24
C:\system~1\_resto~1>cd rp23
C:\system~1\_resto~1\rp23>cd snapshot

follow the above 1 to 4 of STEP1: and type 5.
copy _REGISTRY_USER_.DEFAULT c:\windows\system32\config\default
copy _REGISTRY_MACHINE_SAM c:\windows\system32\config\sam
copy _REGISTRY_MACHINE_SECURITY c:\windows\system32\config\security
copy _REGISTRY_MACHINE_SOFTWARE c:\windows\system32\config\software
copy _REGISTRY_MACHINE_SYSTEM c:\windows\system32\config\system

6. type EXIT and restart