Monday, January 20, 2014

Windows\System32\Config\System missing or corrupt fix

If possible download " Hiren boot cd",  available in below mentioned link.,


http://www.hiren.info/pages/bootcd


boot via cd and go to mini-xp to load virtual windows xp,


go to run and type regedit, take backup of regedit ( go to file and export).


Now open command prompt and type the following.,
   
At the command prompt, type the following lines, pressing ENTER after you type each line:
     
del c:\windows\system32\config\sam

del c:\windows\system32\config\security

del c:\windows\system32\config\software

del c:\windows\system32\config\default

del c:\windows\system32\config\system

copy c:\windows\tmp\software c:\windows\system32\config\software

copy c:\windows\tmp\system c:\windows\system32\config\system

copy c:\windows\tmp\sam c:\windows\system32\config\sam

copy c:\windows\tmp\security c:\windows\system32\config\security

copy c:\windows\tmp\default c:\windows\system32\config\default
---
Now restart the computer.