# How to fix corrupt registry

my registry seems to have gone corrupt missing certian permisions and wont let me edit certian strings. Can you recommend some freeware that fixes the registry

-
which OS you are using – Ghost Answer Apr 25 '12 at 10:11
sorry windows xp pro 32bit sp3 – ben950 Apr 25 '12 at 10:18

There is a tool called SubInACL from Microsoft, which, with the correct commands, can go through the registry and fix permissions. However, I do not have a source for this because I only used it at the shop I worked at.

That said, I found another option from a fairly reliable source (while searching for "SubInACL"). Assuming that recovering from an earlier restore point is not possible, it may be worth looking at.

If you have Windows XP Professional, you can type in a single command to repair the registry. This command is

secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

This only works with Windows XP Professional and will not have any effect on other versions.

-
Thank you. you have saved me from the pain of reinstlling xp =) – ben950 Apr 26 '12 at 13:00
Always glad to be of assistance! – user3463 Apr 26 '12 at 22:18

Start the Recovery Console, create a temporary folder, back up the existing registry files to a new location, delete the registry files at their existing location, and then copy the registry files from the repair folder to the System32\Config folder. When you have finished this procedure, a registry is created that you can use to start Windows XP. This registry was created and saved during the initial setup of Windows XP. Therefore any changes and settings that occurred after the Setup program was finished are lost.

1. Insert the Windows XP startup disk into the floppy disk drive, or insert the Windows XP CD-ROM into the CD-ROM drive, and then restart the computer. Click to select any options that are required to start the computer from the CD-ROM drive if you are prompted to do so.
2. When the "Welcome to Setup" screen appears, press R to start the Recovery Console.
3. If you have a dual-boot or multiple-boot computer, select the installation that you want to access from the Recovery Console.
5. At the Recovery Console command prompt, type the following lines, pressing ENTER after you type each line:
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
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

1. Type exit to quit Recovery Console. Your computer will restart.
-
You could, in theory also do this from a livecd. Its one of those awesome, little known things. – Journeyman Geek Jun 15 '12 at 13:45

There are many way to recover your corrupted registry like using

1. system restore
2. List item

by recovery console