How to fix corrupt registry

0

my registry seems to have gone corrupt missing certain permissions and won't let me edit certain strings. How would I fix my registry?

ben950

Posted 2012-04-25T10:09:22.140

Reputation: 722

which OS you are using – Ghost Answer – 2012-04-25T10:11:24.300

sorry windows xp pro 32bit sp3 – ben950 – 2012-04-25T10:18:56.660

Answers

2

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.

Source: http://www.ehow.com/how_6666571_fix-windows-xp-registry-permissions.html

user3463

Posted 2012-04-25T10:09:22.140

Reputation:

Thank you. you have saved me from the pain of reinstlling xp =) – ben950 – 2012-04-26T13:00:28.270

Always glad to be of assistance! – None – 2012-04-26T22:18:23.367

2

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.

To complete, follow these steps:

  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.
  4. When you are prompted to do so, type the Administrator password. If the administrator password is blank, just press ENTER.
  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.

Alfiian Restu

Posted 2012-04-25T10:09:22.140

Reputation: 21

You could, in theory also do this from a livecd. Its one of those awesome, little known things. – Journeyman Geek – 2012-06-15T13:45:29.417