How to Back Up and Restore the Windows Registry

The Windows register is a database that contains important, machine-specific settings and data regarding about everything in your computer — preferences, applications, users, attached devices and so on. The register contains two basic elements : keys and values. The Windows operate on system is constantly referring to the register ; for exercise, to open a program, install new software or change your hardware, Windows must check the values of sealed keys .
A register file can become corrupt due to malware or issues, which can lead to poor performance or evening the function system crashing. To ensure you can recover from corruption, you should back up your reg files regularly. So permit ’ s find out how to make an stallion register stand-in and restore the register in Windows .
Handpicked related message :

  • Windows Server 2016 Security eBook 

Making a Windows Registry Backup

back up the Windows Registry Using Regedit

back up your register regularly, and besides before you attempt to change, create or remove register settings or hives, or install fresh system drivers, so you can revert to a known good version if something goes wrong. Follow these steps to create a backing :

  1. Press the Windows button and the R button simultaneously to open the Run window.
  2. Type “regedit” to open the registry editor and press Enter.
  3. Click File > Export.
  4. In the dialogue box, enter a name for the backup file (for example “rgbkp2018”), select the location where you want to export registry file and click Save to create and save the backup.

Making a Windows Registry Backup

Backing up the Windows Registry Using the Command Prompt

You can export register records by typing reg export and a particular register settle key at the command prompt. To export multiple keys, you can use a script like the trace :

reg export HKCR C:\RegBack\HKCR.Reg /y

reg export HKCU C:\RegBack\HKCU.Reg /y

reg export HKLM C:\RegBack\HKLM.Reg /y

reg export HKU C:\RegBack\HKU.Reg /y

reg export HKCC C:\RegBackHKCC.Reg /y

You can besides back up your register mechanically with third-party register cleaning software like CCleaner Registry Cleaner ; you can find more about top detached tools in the article “ How to Perform Windows Registry Repair. ”

Restoring the Windows Registry

You can restore your register in respective different ways. here are the most common methods :

  • From Safe Mode
  • From the command prompt
  • Using System Restore
  • Using Automatic Repair
  • Using System File Checker
  • By resetting the PC
  • Using the DISM command
  • By reinstalling Windows from scratch

How to Restore a Registry Backup from Safe Mode

This is the most basic method acting. First, boot Windows in Safe Mode by pressing the F8 button while turning your computer on. When you boot in Safe Mode, Windows loads a minimal environment that helps ensure a stable system and protect critical files and drivers from corruption. Once you ’ ve booted into Safe Mode, perform the follow commands :

  1. Press the Windows button and the R button simultaneously to open the Run window.
  2. Type “regedit” and press Enter.
  3. Click File > Import to import a registry file.
  4. In the Import Registry dialogue box, browse to the location where you saved the file of your backup and click Open.

How to Restore a Registry Backup from Safe Mode
alternatively, a slenderly quicker method acting is to browse to the location with the backing, right-click the charge and blue-ribbon Merge. The file will be mechanically imported to your register .
How to Restore a Registry Backup from Safe Mode The Merge Feature

How to Restore the register from the Command Prompt

In some situations, the Windows system will not boot into dependable Mode, so you need to manually restore your register from the command prompt. To do this, you ’ ll need your master Windows OS magnetic disk or an ISO picture on the bootable flash tug with your Windows operate on system.

Tap the F8 button before Windows starts and choose Repair My Computer. If F8 doesn ’ triiodothyronine work, boot from your cadmium or flash drive by selecting your cd-rom or blink of an eye drive as a primary bootable device in the BIOS and enter the repair Windows manner from there. After booting the Windows OS setup, go to System Recovery and select the command prompt .
We ’ ll be assuming your Windows directory is located on the C drive. Enter these commands to change your working directory to the directory with your backup :

Cd /d C:\windows\System32\config

xcopy *.* C:\RegBack\

cd RegBack

dir

then replace the current register settings with the ones from the backing using these commands :

copy /y software ..

copy /y system ..

copy /y sam ..

note that the two periods are character of the command .
After this process completes, restart your calculator .

How to Restore the Windows Registry with System Restore

You can besides restore your computer ’ s register using a Windows system restore point. If your calculator has System Restore enabled, restore points will be created automatically when major changes are made to the arrangement, such as the installation of new drivers. You can besides create restore points manually .

  1. To open the System Restore window, click the Start menu and enter “restore” in the search box.
  2. Select System Restore from the list of results.
  3. Select a restore point. Windows will select the most recent restore point. If the registry corruption has been around for a while, click Show more restore points to see earlier ones. Each restore point will have a timestamp as well as a brief description of why the restore point was created.
  4. Click Scan for affected programs to see all of the programs and drivers that will be deleted from the computer and all programs that will likely not work correctly if you proceed with the restore. A system restore will not affect any of your personal files.
  5. Click Next and then Finish to start the restore process. This may take a few minutes. Your computer will reboot after the restore is complete.

How to Restore the Registry with Automatic Repair

Newer versions of Microsoft Windows, starting from Windows XP, include an automatic repair feature. When you run automatic Repair, it will attempt to fix corrupt register keys and rectify invalid keys. In Windows 10, take these steps ( note that in Windows XP, Windows Vista and Windows 7, the steps might be different ) :

  1. Open the Settings
  2. Go to the Update & Security section and click
  3. On the Advanced Startup panel, click Restart now.
  4. After the computer reboots, on the Choose an option screen, click Troubleshoot.
  5. On the Advanced Options screen, click Automated Repair.
  6. Choose an account and log in when prompted to do so.
  7. Automatic repair will start. Your computer might reboot during this process.

How to Restore the Registry with System File Checker

Another direction to fix a defile register is to run the System File Checker :

  1. Run cmd.exe with administrator rights.
  2. In the command window, type “sfc /scannow” and press Enter.
  3. Wait until the scan is complete and then reboot if needed.

How to Restore the Registry by Resetting the personal computer

Windows 10 allows you to reset your calculator and leave all your files untouched. This option wholly refreshes your arrangement files and may help with restoring the register after a system barge in. here are the steps to follow :

  1. Go to Settings and click Update and Security.
  2. Select
  3. In the Reset This PC section, click Get Started and then click Keep My Files.
  4. Click Next twice and then click Finish.

Perform a Registry Restore with the DISM Command

  1. Run cmd.exe with administrator rights.
  2. Run the following command: DISM /Online /Cleanup-Image /ScanHealth
  3. Wait until the scan process completes.

Reinstalling Windows from scratch

If these methods didn ’ deoxythymidine monophosphate fix your register problems, then you probably will have to reinstall Windows from chicken feed, which will reset the register to factory settings .

decision

You should back up your register on a regular agenda and before any major change so you can restore it if the installation of a plan, driver or device causes issues. It is besides crucial to track changes to your register entries to cursorily spot register corruption. In particular, malware frequently changes register startup keys so it will start mechanically after each boot. You can learn more about tracking Windows Server register changes in this guide about detecting modifications to startup items in the Windows register .
1299535882 bpfull Jeff Melnick
Jeff is a early Director of Global Solutions Engineering at Netwrix. He is a long-time Netwrix blogger, speaker, and presenter. In the Netwrix web log, Jeff shares lifehacks, tips and tricks that can dramatically improve your system government know .

Webinar banner Registry attacksWebinar banner Registry attacks

source : https://thefartiste.com
Category : Tech

About admin

I am the owner of the website thefartiste.com, my purpose is to bring all the most useful information to users.

Check Also

articlewriting1

Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.