HELLO EVERYONE !
On this video,
I will show you how to restore Registry backup in windows computers...
in order to fix blue screen of death or BSOD error,
that can prevent you from booting normally.
Restoring Registry to previous registry store,
will repair startup failure and many other issues...
if the backup was enabled in a computer operated with
Windows 7,
Windows Vista,
Windows 8,
or Windows 10.
However,
this property is no longer enabled by
default in the new windows versions,
starting from windows 10 version 1803.
So, you have to check your windows version...
and if the registry hives are present in the RegBack folder
before trying to restore your registry.
I will show you how to check RegBack folder and how to restore your registry,
but before starting,
don’t forget to subscribe,
activate the bell icon and like the video to
encourageus publishing more useful videos.
The video contents will be divided into 7 parts:
The video contents will be divided into 7 parts: 1- How to boot into Windows Recovery Environment
The video contents will be divided into 7 parts: 1- How to boot into Windows Recovery Environment 2- How to determine the windows partition
The video contents will be divided into 7 parts: 1- How to boot into Windows Recovery Environment 2- How to determine the windows partition 3- How to check windows version and build number
The video contents will be divided into 7 parts: 1- How to boot into Windows Recovery Environment 2- How to determine the windows partition 3- How to check windows version and build number 4- How to check if there is a copy of registry backup or not
The video contents will be divided into 7 parts: 1- How to boot into Windows Recovery Environment 2- How to determine the windows partition 3- How to check windows version and build number 4- How to check if there is a copy of registry backup or not 5- How to restore registry backup manually or using command prompt (CMD)
The video contents will be divided into 7 parts: 1- How to boot into Windows Recovery Environment 2- How to determine the windows partition 3- How to check windows version and build number 4- How to check if there is a copy of registry backup or not 5- How to restore registry backup manually or using command prompt (CMD) 6- How to enable the registry backup on windows 10 using CMD
The video contents will be divided into 7 parts: 1- How to boot into Windows Recovery Environment 2- How to determine the windows partition 3- How to check windows version and build number 4- How to check if there is a copy of registry backup or not 5- How to restore registry backup manually or using command prompt (CMD) 6- How to enable the registry backup on windows 10 using CMD 7- Important notes
first part: How to boot into Windows Recovery Environment (WRE).
This is an important step because the registry restore
won’t be done without booting into Recovery Environment,
in addition,
restoring registry is commonly used to repair
windows computers that failed to boot into desktop.
1.1.a. To boot into Windows Recovery Environment without installation media, do the followings:
1.1.a. Turn off the computer completely
1.1.b. Turn it on again
1.1.c. When the Windows logo appears with a circle of dots, ...
press and hold the Power key for 8 seconds or until the device turns off completely.
1.1.d. Repeat previous two steps until appearance of "Preparing Automatic Repair".
The device is now in the Windows Recovery Environment.
1.2.To open advanced restore options from Windows installation media (WIM) ...
such as DVD or USB, do the followings:
1.2.a. Turn off the computer completely
1.2.b. Connect a Windows Installation Media
1.2.c. Turn on the computer again.
1.2.d. Once you see the manufacturer logo, Press the F12 or another key from keyboard to enter the boot options.
Common F keys used to open Boot menu for diffrent brands:
1.2.e. Move to the DVD or the USB and then press the Enter button.
1.2.f. Press any key to continue.
US Keyboard layout UK Keyboard layout
1.2.h. Click on the Next button,
1.2.i. Click on the Repair your Computer option.
If you are unable to boot from windows installation media,
you may need to disable the Secure Boot from security tab
and/or enable USB Boot from boot tab in BIOS settings.
. In some Asus BIOS or similar PCs such as Acer or Hp laptops,
you have to enable Compatibility Support Mode or CSM,
in order to disable secure Boot.
Second part: How to determine the windows partition?
2.a. Open command prompt or CMD
Also you can open it by pressing the Shift+F10 keys from the keyboard.
2.b. Type BCDEDIT and hit Enter.
2.c. Determine the windows partition From OSdevice entry,
under Windows Boot Loader.
In my case, the windows is in the D partition.
2.d. If BCDEDIT failed to show you the BCD data, execute the following command before it: BOOTREC /REBUILDBCD
If the BCDBOOT failed to show you the windows partition, do the followings:
2.e. Type NOTEPAD and hit Enter
2.f. Click on File panel and select Open option.
2.g. Click on This PC icon
2.h. Open all partitions one by one until you determine which one is the windows partition.
Windows partition will contain the Windows folder, and Users folder.
Inside the Users folder you will see a folder with the name of your profile or account on the PC.
Third part: how to check your windows version and build number?
As mentioned previously, registry backup will not help you unless you have a windows version older than 1803.
So its important to know your windows version in order to know if you can use registry backup method to fix startup issues or not.
3.a. Open command prompt and execute BCDEDIT command to determine the windows partition:
3.b. Execute the following commands: CD /D D:\WINDOWS\SYSTEM32 Replace the D: with the windows partition in your computer.
3.c. Type WINVER and hit Enter.
As you can see, my windows edition is 10, and the version number is 2004.
This version of windows didn’t support registry backup.
3.d. Let’s see another example of windows version.
As you can see, the windows is on the C partition in my second operating system.
So, I will type C instead of D before the Windows path as followings: CD /D C:\WINDOWS\SYSTEM32
3.e. To show windows version, type WINVER and hit Enter.
As you can see, the windows version number is 1511.
This version of windows supports registry backup, and it comes enabled by default.
Fourth part: How to check if there is a copy of registry backup in REGBACK folder or not.
4.a. Execute BCDEDIT command to determine the windows partition.
4.b. Execute the following command to see the contents of the REGBACK folder: DIR C:\WINDOWS\SYSTEM32\CONFIG\REGBACK
4.b. Execute the following command to see the contents of the REGBACK folder: DIR C:\WINDOWS\SYSTEM32\CONFIG\REGBACK (Replace the C with the letter of your windows partition)
4.c. If you get 5 files inside the REGBACK folder with a size for each file >0, then you have a copy of your registry backup.
4.d. If all hive files have a size of zero
or if there is no any file inside REGBACK folder,
then you didn’t have a copy of registry backup and you can’t repair your boot by restoring registry backup.
Fifth part: a- How to restore the registry backup using command prompt.
To restore registry backup, we have to copy the hive files from REGBACK folder to CONFIG folder after renaming the corresponding hive files in the CONFIG folder.
But before doing that, there is important notes that you should know them first:
important notes:
important notes: - Don’t proceed to the next steps if there are no files inside the REGBACK folder.
important notes: - Don’t proceed to the next steps if there are no files inside the REGBACK folder. - Don’t restore any hive file from the REGBACK folder if its size is zero and don’t rename or delete that file in the CONFIG folder.
important notes: - Don’t proceed to the next steps if there are no files inside the REGBACK folder. - Don’t restore any hive file from the REGBACK folder if its size is zero and don’t rename or delete that file in the CONFIG folder. - Make a backup copy for all hive files inside the CONFIG folder, so you can restore them if you get a new issue.
Let’s starting.
5.a.1. Change directory in the CMD to CONFIG folder using this command: CD /D C:\WINDOWS\SYSTEM32\CONFIG
5.a.1. Change directory in the CMD to CONFIG folder using this command: CD /D C:\WINDOWS\SYSTEM32\CONFIG (Replace the C: with the letter of your windows partition)
5.a.2. Enter the following commands one by one to RENAME the registry hive files in the CONFIG folder: REN SAM SAM.OLD REN SECURITY SECURITY.OLD REN SOFTWARE SOFTWARE.OLD REN SYSTEM SYSTEM.OLD
Renaming the current Hive files in CONFIG folder will keep them from lose,
so you can restore them by just deleting the new files then revert their names to previous names.
Notice that we didn’t rename the DEFAULT file in CONFIG folder, because the DEFAULT file in the REGBACK folder has a size of zero.
5.a.3. Execute the shown commands one by one to COPY registry backup files from REGBACK folder to CONFIG folder. copy C:\Windows\System32\config\RegBack\SAM C:\Windows\System32\config\ copy C:\Windows\System32\config\RegBack\SECURITY C:\Windows\System32\config\ copy C:\Windows\System32\config\RegBack\SYSTEM C:\Windows\System32\config\ copy C:\Windows\System32\config\RegBack\SOFTWARE C:\Windows\System32\config\
5.a.4. Use Up and Down arrow keys from the keyboard to explore previous commands and modify or reuse them.
(Don’t forget to replace the C: with the letter of your windows partition)
Also Notice that we didn’t copy the DEFAULT file to the CONFIG folder, because the DEFAULT file in the REGBACK folder has a size of zero.
5.a.5. Let's confirm the changes in the CONFIG folder.
5.a.6. Press the Shift+F10 keys from keyboard to open another CMD window.
5.a.7. Navigate to the CONFIG folder.
5.a.8. Change Files of Type option to All files.
As you can see, the hive files are there with the new names for each one.
Fifth part: b- How to restore the registry backup manually.
To restore the registry files manually, do the followings:
5.b.1. Type NOTEPAD into the command prompt and hit Enter.
5.b.2. Click on File panel and select Open option.
5.b.3. Click on This PC icon to view all partitions.
5.b.4. Open windows partition and navigate to this path: Windows\System32\config
5.b.5. Change Files of Type option to All files.
5.b.6. Open REGBACK folder to confirm that you have a hive files with sizes not equal zero.
In my case, I have a backup for only 4 registry files, which are the SAM, SECURITY, SOFTWARE and SYSTEM.
5.b.7. Back to CONFIG folder and rename the files that have a backup in the REGBACK only.
You will not see the new names until you refresh the folder.
5.b.8. Now, open the REGBACK folder and copy the valid registry files to the CONFIG folder one by one.
5.b.9. Close all opened windows
5.b.10. Click on CONTINUE option to exit recovery environment and continue to windows 10.
The first boot may take longer time.
As you have seen, the windows booted to the desktop successfully.
Let's confirm the changes in the CONFIG folder again.
Sixth part: How to ENABLE the registry backup using CMD.
6.a. Type CMD into Cortana search box
6.b. Right-click on command prompt and select Run as administrator.
6.c. Execute the shown command: reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Configuration Manager" /v EnablePeriodicBackup /t REG_DWORD /d 0x1 /f
This command and all used commands are available in the video description.
6.d. Restart the operating system to apply changes.
Seventh part: Important notes:
1. Always refer to the video description and to the comments to see if there is any new update or modification related to restoring the registry backup.
1. Always refer to the video description and to the comments to see if there is any new update or modification related to restoring the registry backup. 2. There are other methods that you can use to fix boot problems if the registry backup was not enabled in your laptop. Refer to video description to see the links of others videos used to fix boot issues.
1. Always refer to the video description and to the comments to see if there is any new update or modification related to restoring the registry backup. 2. There are other methods that you can use to fix boot problems if the registry backup was not enabled in your laptop. Refer to video description to see the links of others videos used to fix boot issues. 3. If you have any question, don’t hesitate to add it, and we will do our best to help you.
Thanks for watching.
If you liked the video, leave a comment and subscribe.