Fix the registry – Guide for Windows XP, Vista, 7, 8, 8.1, 10

634
Fix the registry – Guide for Windows XP, Vista, 7, 8, 8.1, 10

Here we can see, “Fix the registry – Guide for Windows XP, Vista, 7, 8, 8.1, 10.”

In Windows XP, repair a corrupt registry.

Follow these steps to repair a corrupt registry on a Windows XP system:

  1. Restart the machine after inserting the Windows XP setup CD.
  2. To boot from the CD, press any key.
  3. To get to the Repair Console, press R.
  4. The Administrator password must be entered. When the Command Prompt appears, type the following instructions one at a time, pressing Enter after each one, replacing C: with the drive letter assigned by Windows:
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

How to Backing up current registry hives

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

How to Deleting current registry hives

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

How to Restoring registry hives from a repair folder

5. Remove your CD and type exit:

exit

6. Press the Enter key.

7. Restart your computer.

8. After booting, continually press the F8 key until the Startup Options screen displays, then choose to boot into Safe Mode.

Also See:  Nordictrack Commercial x32i Incline Trainer Treadmill

9. Start the Windows Explorer program (or open any folder or open My Computer)

10. Select Tools from the drop-down menu.

11. Select Folder Options from the menu bar.

12. Navigate to the View tab.

13. To clear the Hide protected operating system files (Recommended) check box, go to the Show hidden files and folders section and select Show hidden files and folders (unchecked)

14. To confirm these actions, select Yes.

How to Windows XP show hidden files screen

15. Go to My Computer > C: drive, or the drive where Windows was installed.

16. Select the System Volume Information folder from the drop-down menu. If you are refused access to a folder, please follow these steps to regain access: http://support.microsoft.com/kb/309531. If your Windows XP installation is on NTFS rather than FAT32, you’re more likely to see an Access forbidden message. If it’s formatted in FAT32, you can proceed with the steps below.

17. Open any folder that hasn’t been created yet, such as when you first logged onto the computer for this session. This may be verified by right-clicking on the first folder and checking the date. These folders have a title format that looks like this:

_restore{87BD3667­3246­476B­923F­F86E30B3E7F8}
Open any RP folder in that folder, e.g. RP1, and go to Snapshot.These are called Restore Points. Here is an example of path:
C:\System Volume Information\_restore{D86480E3­73EF­47BC­A0EB­A81BE6EE3ED8}\RP1\Snapshot

19. From the Snapshot folder, copy the following files to C:\Windows\Tmp

  • _REGISTRY_MACHINE_SAM
  • _REGISTRY_MACHINE_SYSTEM
  • _REGISTRY_MACHINE_SOFTWARE
  • _REGISTRY_MACHINE_SECURITY
  • _REGISTRY_USER_.DEFAULT

20. After copying the files, rename them in the Tmp folder (not the Snapshot folder) as follows:

  • Rename _REGISTRY_USER_.DEFAULT to DEFAULT
  • Rename _REGISTRY_MACHINE_SECURITY to SECURITY
  • Rename _REGISTRY_MACHINE_SOFTWARE to SOFTWARE
  • Rename _REGISTRY_MACHINE_SYSTEM to SYSTEM
  • Rename _REGISTRY_MACHINE_SAM to SAM

21. Restart your computer and select the CD drive this time.

22. To get to the Recovery Console, press R.

23. Once Command Prompt has loaded, type the commands below one by one, pressing Enter after each command:

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

How to Deleting current registry hives

Keep going with the following commands:

copy c:\windows\tmp\software.bak c:\windows\system32\config\software
copy c:\windows\tmp\system.bak c:\windows\system32\config\system
copy c:\windows\tmp\sam.bak c:\windows\system32\config\sam
copy c:\windows\tmp\security.bak c:\windows\system32\config\security
copy c:\windows\tmp\default.bak c:\windows\system32\config\default

How to Restoring registry hives from the backup

24. Remove your CD by typing exit and pressing Enter:

exit

25. Restart your computer.

26. After the computer has been restarted, go to System Restore and select Restore to a prior point:

  • Click Start button.
  • Go to the All Programs page.
  • Select Accessories
  • Then choose Tools.
  • Restore the system by clicking System Restore.

28. Follow the procedures in the System Restore wizard.

In Windows Vista, repair a corrupt registry.

You can use any of the following methods to repair a corrupt registry in Windows Vista:

Repair the startup

Follow these steps to execute Startup Repair:

  1. In the disc tray, place the original Windows Vista DVD.
  2. Start by booting from the DVD.
  3. Select a keyboard layout and a language.
  4. Select Repair your computer from the Welcome screen.

How to Windows Vista Repair Your Computer Menu

5. Select your operating system from the drop-down menu.

6. Next should be selected.

7. Select Startup Repair from the System Recovery Options window.

How to Windows Vista System Recovery Options

8. To finish the process, follow the steps.

Installing an Upgrade

Because an Upgrade Install would reinstall Windows Vista without damaging your files, it may be able to repair a faulty registry.

Please notice the following before continuing with the instructions below:

  • If you have SP1 (Service Pack 1) installed on your Windows Vista system, your original installation DVD must also have SP1.
  • If you have SP2 (Service Pack 2) installed on your Windows Vista system, your original installation DVD must also include SP2.

The instructions are as follows:

  1. As an administrator, log in to Windows Vista.
  2. In the disc tray, place the Windows DVD.
  3. If AutoPlay does not immediately launch the DVD, go to My Computer and double-click the DVD drive.
  4. Click Install Now

How to Windows Vista Repair Your Computer Menu

5. For installation, select Do not obtain the latest updates.

6. You can manually upgrade Windows Vista with the newest updates available once you complete the Upgrade Install.

7. The license key should not be typed.

8. Uncheck the box that says, “Automatically activate Windows when I’m online.”

9. Next should be selected.

10. Do you want to put your product key in right now? pick No in response to the question

11. Check the checkbox. I have picked the edition of Windows that I purchased after selecting the type of Windows Vista you purchased.

12. Next should be selected.

13. Upgrade by clicking Upgrade.

14. Remove the DVD and follow any remaining instructions.

After you’ve completed the Upgrade Install, enter the following license key:

  1. Startup Windows Vista.
  2. Activate the Control Panel
  3. Navigate to System
  4. Click the Change product key in the Windows activation area.

Use the Command Prompt

Follow these procedures to replace the registry in a Windows Vista system:

  1. Open Command Prompt and type C:\, where C:\ is the drive letter on which Windows Vista is installed:
C:\

2. Press the Enter key.

3. Type cd Windows\System32\Config

4. Type MD Temp and press Enter

5. Type the commands below and hit Enter after each one:

copy BCD­Template Temp
copy COMPONENTS Temp
copy DEFAULT Temp
copy SAM Temp
copy SECURITY Temp
copy SOFTWARE Temp
copy SYSTEM Temp

How to Backing up the registry hives

6. Type the commands below and hit Enter after each one:

ren BCD­Template BCD­Template.bak
ren COMPONENTS COMPONENTS.bak
ren DEFAULT DEFAULT.bak
ren SAM SAM.bak
ren SECURITY SECURITY.bak
ren SOFTWARE SOFTWARE.bak
ren SYSTEM SYSTEM.bak

How to Renaming the old the registry hives

7. Then, one by one, type the following commands, pressing Enter after each one:

copy Regback\BCD­Template BCD­Template
copy Regback\COMPONENTS COMPONENTS
copy Regback\DEFAULT DEFAULT
copy Regback\SAM SAM
copy Regback\SECURITY SECURITY
copy Regback\SOFTWARE SOFTWARE
copy Regback\SYSTEM SYSTEM

How to Restoring the registry hives

In Windows 7, repair a corrupt registry.

You can use any of the following methods to repair a corrupt registry in Windows 7:

Repair the startup

Follow the steps below to execute Startup Repair.

Method 1

  1. In the disc tray, place the original Windows 7 installation DVD.
  2. Restart your computer.
  3. When it reads “Press any key to boot from CD or DVD,” press any key.
  4. Choose a language and a keyboard layout.
  5. Select Repair your computer from the menu.

Install Now

windows 7

6. Choose an operating system.

7. Select Startup Repair.

How to Windows 7 System Recovery Options Screen

8. To finish the procedure, follow the wizard’s instructions.

Method 2

  1. Restart your computer
  2. Before the Windows 7 logo displays, press the F8 key numerous times during startup.
  3. Select Repair your machine from the Advanced Options menu.

Advanced Boot Options on Windows 7

4. Choose a language and a keyboard.

5. Choose Startup Repair.

Advanced Boot Options on Windows 7

6. To finish the process, follow the wizard’s instructions.

Installing an Upgrade

An Upgrade Install may repair a faulty registry because it will reinstall Windows 7 without harming your files.

The instructions are as follows:

  1. Startup Windows 7
  2. Place the Windows 7 DVD in the drive.
  3. If AutoPlay doesn’t work, try opening the DVD from your computer.
  4. Install Now is the button to use.
  5. Make sure the option I wish to assist in making Windows installation better is unchecked.
  6. Click Install the most recent updates by going online.
  7. Accept the terms of the license.
  8. Next, select Upgrade.
  9. Untick the box that says, “Automatically activate Windows when I’m online.”
  10. Next, click Next. Later, at the Help safeguard your computer and enhance Windows automatically screen, you can ask me questions. Once this process is complete, you can install Windows 7 updates.
  11. Follow the on-screen directions to finish the upgrade.

After you’ve completed this process, go ahead and activate your license key:

  1. Navigate to the Control Panel.
  2. Navigate to System
  3. Click the Change product key in the Windows activation area.
Also See:  Genshin Impact's Own Squid Game Is A Difficult Break

Use the Command Prompt

Follow these procedures to replace the registry in a Windows 7 system:

  1. Open Command Prompt and type C:\, where C:\ denotes the drive letter on which Windows 7 is installed.
  2. Enter the command cd Windows\System32\Config.
  3. Type MD Temp and press Enter
  4. Type the following commands and press Enter:
copy BCD­Template Temp
copy COMPONENTS Temp
copy DEFAULT Temp
copy SAM Temp
copy SECURITY Temp
copy SOFTWARE Temp
copy SYSTEM Temp

How to Backing up the registry hives

5. Type the commands below and hit Enter after each one:

ren BCD­Template BCD­Template.bak
ren COMPONENTS COMPONENTS.bak
ren DEFAULT DEFAULT.bak
ren SAM SAM.bak
ren SECURITY SECURITY.bak
ren SOFTWARE SOFTWARE.bak
ren SYSTEM SYSTEM.bak

Renaming the old the registry hives

6. Then, one by one, type the following commands, pressing Enter after each one:

copy C:\Windows\System32\Config\Regback\BCD­Template C:\Windows\System32\Config\BCD­Template
copy C:\Windows\System32\Config\Regback\COMPONENTS C:\Windows\System32\Config\COMPONENTS
copy C:\Windows\System32\Config\Regback\DEFAULT C:\Windows\System32\Config\DEFAULT
copy C:\Windows\System32\Config\Regback\SAM C:\Windows\System32\Config\SAM
copy C:\Windows\System32\Config\Regback\SECURITY C:\Windows\System32\Config\SECURITY
copy C:\Windows\System32\Config\Regback\SOFTWARE C:\Windows\System32\Config\SOFTWARE
copy C:\Windows\System32\Config\Regback\SYSTEM C:\Windows\System32\Config\SYSTEM

Restoring the registry hives

In Windows 8 or 8.1, repair a corrupt registry.

In Windows 8 or 8.1, you have the following options for repairing a corrupt registry:

  • Start the Automatic Repair Refresh process.
  • Your files will not be affected by the Refresh option. Windows 8 will reinstall any applications you’ve installed and generate a replica of them on your desktop, but you should back up your data beforehand.
  • Reset. Resetting your computer will wipe all of your files and any settings or configurations you have made.

Run Automatic Repair

Follow these steps to start Automatic Repair, which will attempt to correct a faulty registry on your Windows 8 or 8.1 system:

  1. Activate the Settings menu.
  2. Go to the General tab.
  3. Click Restart immediately in the Advanced Startup panel.
  4. Click Troubleshoot on the Choose an option screen.
  5. Click Automated Repair on the Advanced Options screen.
  6. When prompted, select an account and log in. Automatic Repair should now begin, and your computer may reboot during this procedure.

How to Windows 8 Advanced Startup screen

Refresh

Follow these steps to do a Refresh on your Windows 8 or Windows 8.1 system:

  1. Navigate to the Settings section.
  2. Change your PC’s settings
  3. Click the Update and Recover button.
  4. Select Recover.
  5. Click Refresh your PC without impacting your files in the Refresh your PC section. Begin now.
  6. To complete the refresh procedure, follow the instructions.

Windows 8 Recovery Screen

Reset

Follow these procedures to reset your Windows 8 or Windows 8.1 system:

  1. Change your PC’s settings by going to Settings > Change PC Settings.
  2. Click the Update and Recover button.
  3. Select Recover.
  4. Click Remove everything and reinstall Windows in the Remove everything and reinstall Windows section. Begin now.
  5. To complete the refresh procedure, follow the instructions.

How to Windows 8 Recovery Screen

In Windows 10, repair a corrupt registry.

In Windows 10, you have the following options for repairing a corrupt registry:

  • Start the Automatic Repair Refresh process.
  • Your files will not be affected by the Refresh option. Windows 10 will reinstall any applications you’ve installed and create a replica of them on your desktop, but you should back up your data beforehand.
  • Reset. Resetting your computer will wipe all of your files and any settings or configurations you have made.

Run Automatic Repair

Follow these instructions to start Automatic Repair, which will attempt to repair a faulty registry on your Windows 10 system:

  1. Activate the Settings menu.
  2. Select Update & Security from the drop-down menu.
  3. At the Recovery tab, click Advanced Startup -> Restart now
  4. Click Troubleshoot on the Choose an option screen.
  5. Click Automated Repair on the Advanced Options screen.
  6. When prompted, select an account and log in. Automatic Repair should now begin, and your computer may reboot during this process.’

Windows 10 Advanced Startup screen

Refresh

Follow these steps to run a Refresh on your Windows 10 system:

  1. Navigate to the Settings section.
  2. Go to Security and Updates.
  3. Select Recover.
  4. Click Get started now.
  5. Click Get started in the Reset This PC section.
  6. Click Keep My Documents
  7. To complete the refresh procedure, follow the instructions.

Windows 10 Recovery screen

Reset

Follow these procedures to perform a Windows 10 system reset:

  1. Navigate to the Settings section.
  2. Go to Security and Updates.
  3. Select Recover.
  4. Click Get started now.
  5. Click the Reset This PC button under the Reset This PC section. Begin now.
  6. Remove everything by clicking Remove Everything.
  7. To complete the refresh procedure, follow the instructions.

Windows 10 Recovery screen

Troubleshooting

Windows XP Registry Permissions 

The registry permissions in Windows XP (only the Professional edition) can prevent you from modifying specific keys.

Method 1

Follow these procedures to unblock it and fix the permissions:

  1. Start a Command Prompt
  2. Type this command:
secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

3. Press the Enter key.

Fixing permissions with secedit

Method 2

If Method 1 fails to resolve the permissions, try the following steps instead:

  1. SubInACL Tool can be downloaded straight from Microsoft: http://www.microsoft.com/en-us/download/details.aspx?id=2351…
  2. Start the.exe file.
  3. Start a Command Prompt
  4. Press Enter after typing the following command:
cd "%ProgramFiles%\Windows Resource Kits\Tools

5. Tools for Windows Resource Kits

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f 
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive%\ /grant=administrators=f /grant=system=f

6. Restart the computer.

Conclusion

I hope this information was helpful. If you have anything to add, please do so in the comments.

User Questions:

1. How do I clean and repair my registry?

In most cleaning tools, starting a registry dusting is a two-click operation. Take, for example, CCleaner. Simply go to the registry tab in the sidebar, select ‘Scan for Issues,’ and then ‘Fix Selected Issues.’ And that’s all there is to it.

2. Is it necessary to repair the registry?

If your registry is corrupted, you’re in for more trouble, and a registry cleanup won’t help – at the very least, you’ll need to run System Restore. Not utilizing a registry cleanup isn’t in any way “risky.” The registry entries that are naturally collected aren’t hazardous.

3. What is the meaning of a registry error?

Incorrectly removed software can leave registry entries that cause start-up issues, resulting in registry errors. A large number of useless files on your computer system might also cause registry issues by consuming system resources for no reason.

Also See:  How to Transfer Data from Iphone to Iphone

4. Registry scanner/fixer that actually works and isn’t scumware

Registry scanner/fixer that actually works and isn’t scumware from windows

5. Broken Registry Items on New PC

Broken Registry Items on New PC from windows