Windows Registry is usually a database collecting information, settings, options and various values along with configuration in Windows Operating system developed by Microsoft for providing the individuals a different way of working and performing their functions. Windows Registry is also known as the Registry making it to be having a distinct point than the operating system. Sometimes the registry gets corrupted and results in making the system unable to start and perform the various functions. Here we have the steps to fix corrupt registry in Windows operating system for removing the error in the desktop.

registry

You will like this also: Increase RAM using USB Drive in Windows 7



Fixing the Corrupt Registry in Windows 7 / 8 / 8.1

  • Insert the Windows Setup CD/DVD into your CD/DVD ROM and then reboot your system. A message will pop-up asking that you want to boot from CD or not, select to do so option.
  • On the setup screen press the R button on keyboard for starting the Recovery Console. The console will present you with the command prompt, then enter the commands below and hit Enter after each command:

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



del c:\windows\system 32\config\system
del c:\windows\system32\config\software
del c:\windows\system 32\config\sam
del c:\windows\system32\config\security
del c:\windows\system 32\config\default



 copy c:\windows\repair\system c:\windows\system32\config\system
copy :\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



  • Write exit for leaving the console and reboot your system, after desktop reboots and then restart it. Press the F8 key on keyboard for booting into Safe Mode
  • After the desktop is restarted go to My Computer and navigate to the Tools menu, then click on Folder Options menu after that navigate to View tab.
  • Beneath the Hidden Files and Folders, check the box stating Show Hidden Files and Folders and uncheck the box stating Hide Protected Operating system files.
  • You now need to find the restore point file folder always started with “RP”. Choose one folder which was created recently, you see date of each folder was created going to View and clicking Details.

Windows-7-System-Restore-



  • Open the Snapshot and copy the files to the C:\Windows\Tmp folder and rename them according to the instructions below.
    _REGISTRY_USER_DEFAULT (rename to DEFAULT)
    _REGISTRY_MACHINE_SECURTY (rename to SECURITY)
    _REGISTRY_MACHINE_SOFTWARE (rename to SOFTWARE)
    _REGISTRY_MACHINE_SYSTEM (rename to SYSTEM)
    _REGISTRY_MACHINE_SAM (rename to SAM)
  • Restart the system and start the Recovery Console as you did in the starting.

windows-7-registry



  • At the CMD, type the following:
    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

restore

  • Restart the system. Once loaded, perform the System Restore.


Rate this post

Be Sociable, Share!