How To Backup Windows Registry Server 2008
The Windows registry is a database that contains important, machine-specific settings and data regarding about everything in your computer — preferences, applications, users, attached devices and then on. The registry contains two basic elements: keys and values. The Windows operating system is constantly referring to the registry; for example, to open a program, install new software or change your hardware, Windows must bank check the values of sure keys.
A registry file can get corrupted due to malware or issues, which can lead to poor functioning or even the operating system crashing. To ensure yous tin can recover from abuse, you should back up your reg files regularly. And so permit's observe out how to make an entire registry backup and restore the registry in Windows.
Making a Windows Registry Backup
Back upwardly the Windows Registry Using Regedit
Back upwards your registry regularly, and also before you lot attempt to change, create or remove registry settings or hives, or install new system drivers, so you can revert to a known good version if something goes incorrect. Follow these steps to create a backup:
- Printing the Windows button and the R push button simultaneously to open up the Run window.
- Type "regedit" to open the registry editor and press Enter.
- Click File > Consign.
- In the dialogue box, enter a name for the backup file (for example "rgbkp2018"), select the location where y'all desire to export registry file and click Save to create and save the fill-in.
Backing up the Windows Registry Using the Command Prompt
You can export registry records past typing reg consign and a detail registry root key at the command prompt. To export multiple keys, you lot tin use a script like the following:
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
Y'all can too dorsum upwards your registry automatically with 3rd-party registry cleaning software similar CCleaner Registry Cleaner; you lot can find more near top free tools in the article "How to Perform Windows Registry Repair."
Restoring the Windows Registry
Y'all can restore your registry in several different ways. Here are the nigh common methods:
- From Prophylactic Manner
- From the control prompt
- Using Arrangement Restore
- Using Automatic Repair
- Using System File Checker
- Past 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. First, boot Windows in Safe Mode by pressing the F8 push while turning your computer on. When you boot in Safe Mode, Windows loads a minimal environment that helps ensure a stable organization and protect vital files and drivers from corruption. In one case you've booted into Safe Manner, perform the following commands:
- Press the Windows button and the R button simultaneously to open the Run window.
- Blazon "regedit" and press Enter.
- Click File > Import to import a registry file.
- In the Import Registry dialogue box, browse to the location where you lot saved the file of your backup and click Open.
Alternatively, a slightly quicker method is to scan to the location with the backup, right-click the file and select Merge. The file will be automatically imported to your registry.
How to Restore the Registry from the Command Prompt
In some situations, the Windows organisation will not boot into Safe Manner, and so you need to manually restore your registry from the command prompt. To do this, you'll need your original Windows OS disk or an ISO image on the bootable flash drive with your Windows operating system.
Tap the F8 push button earlier Windows starts and cull Repair My Reckoner. If F8 doesn't piece of work, kick from your CD or flash drive by selecting your CD-ROM or flash bulldoze as a primary bootable device in the BIOS and enter the repair Windows mode from there. After booting the Windows Bone setup, become to Arrangement Recovery and select the command prompt.
We'll be bold 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 registry settings with the ones from the backup using these commands:
copy /y software .. copy /y arrangement .. copy /y sam ..
Note that the two periods are office of the control.
After this process completes, restart your reckoner.
How to Restore the Windows Registry with System Restore
You can also restore your computer's registry using a Windows system restore point. If your computer has System Restore enabled, restore points will exist created automatically when major changes are made to the system, such as the installation of new drivers. Y'all can also create restore points manually.
- To open the System Restore window, click the Showtime carte and enter "restore" in the search box.
- Select System Restore from the listing of results.
- Select a restore betoken. Windows will select the nigh contempo restore bespeak. If the registry abuse has been around for a while, click Show more restore points to run into earlier ones. Each restore point will have a timestamp also every bit a brief description of why the restore point was created.
- Click Browse for affected programs to run into all of the programs and drivers that volition be deleted from the computer and all programs that volition likely not piece of work correctly if you continue with the restore. A system restore will not affect any of your personal files.
- Click Side by side and so Stop to start the restore process. This may take a few minutes. Your computer will reboot afterwards the restore is consummate.
How to Restore the Registry with Automatic Repair
Newer versions of Microsoft Windows, starting from Windows XP, include an automated repair characteristic. When you run Automated Repair, it volition attempt to set up corrupt registry keys and repair invalid keys. In Windows ten, take these steps (notation that in Windows XP, Windows Vista and Windows 7, the steps might be different):
- Open the Settings
- Get to the Update & Security section and click
- On the Advanced Startup console, click Restart now.
- After the reckoner reboots, on the Choose an pick screen, click Troubleshoot.
- On the Advanced Options screen, click Automated Repair.
- Choose an business relationship and log in when prompted to practice so.
- Automatic repair volition start. Your computer might reboot during this process.
How to Restore the Registry with System File Checker
Some other style to fix a corrupted registry is to run the System File Checker:
- Run cmd.exe with administrator rights.
- In the command window, type "sfc /scannow" and press Enter.
- Await until the scan is consummate and so reboot if needed.
How to Restore the Registry past Resetting the PC
Windows 10 allows yous to reset your computer and exit all your files untouched. This option completely refreshes your organization files and may assistance with restoring the registry after a organization crash. Here are the steps to follow:
- Go to Settings and click Update and Security.
- Select
- In the Reset This PC section, click Get Started and and then click Continue My Files.
- Click Adjacent twice and then click Finish.
Perform a Registry Restore with the DISM Command
- Run cmd.exe with ambassador rights.
- Run the following command: DISM /Online /Cleanup-Image /ScanHealth
- Await until the scan process completes.
Reinstalling Windows from Scratch
If these methods didn't fix your registry issues, then you probably will accept to reinstall Windows from scratch, which will reset the registry to mill settings.
Conclusion
You should support your registry on a regular schedule and before whatsoever major alter so y'all can restore it if the installation of a program, driver or device causes issues. It is also important to track changes to your registry entries to quickly spot registry corruption. In particular, malware often changes registry startup keys so it will commencement automatically after each reboot. You lot can learn more near tracking Windows Server registry changes in this guide about detecting modifications to startup items in the Windows registry.
Source: https://blog.netwrix.com/2018/10/30/how-to-back-up-and-restore-the-windows-registry/
Posted by: cohenthold2000.blogspot.com
0 Response to "How To Backup Windows Registry Server 2008"
Post a Comment