Become a member

Get the best offers and updates relating to Liberty Case News.

― Advertisement ―

spot_img

How to make ChatGPT your default search engine for Edge and Chrome on Windows 11, 10

On Windows 11, you can now set ChatGPT Search as your new default search engine on the most popular browsers, including Microsoft Edge, Google Chrome,...
HomeTechnologyHow to enable automatic Registry backup on Windows 11, 10

How to enable automatic Registry backup on Windows 11, 10


  • To enable automatic backups for the Registry on Windows 11 (and 10), create the “EnablePeriodicBackup” DWORD in the Registry and set its value to “1,” then create a new task to use the Task Scheduler to run the “RegIdleBackup” task on a periodic schedule.

You can still enable the function to create automatic backups of the Registry on Windows 11 (and 10), and in this guide, I will explain this process. In previous versions, the operating system included the ability to automatically create a copy of the entire Registry inside the “RegBack” system folder. However, to help reduce storage usage, Microsoft removed this functionality with the release of the April 2018 Update

As a result, if you want to recover the system after a corrupt registry hive, you will quickly find that inside the C:\Windows\System32\config\RegBack folder, each registry hive was 0kb in size. However, Windows 10 (as well as Windows 11) includes a registry key that allows you to enable automatic backups again for the entire Registry. The only caveat is that configuring the Registry key isn’t enough. You must also create a secondary task to run the original “RegIdlebackup” task on a specific schedule. Otherwise, this feature won’t work automatically.

In this guide, I’ll explain the steps to enable the functionality to automatically create daily Registry backups on your computer running Windows 11 or 10.

Warning: Modifying system files can further damage your Windows installation if it’s not done correctly. It’s assumed that you know what you’re doing and have previously created a full backup of your computer. Use these instructions to create a backup of Windows 11. Proceed with caution and use this as the last course of action.

Enable automatic Registry backups on Windows 11

To enable automatic backups of the Registry, use these steps:

  1. Open Start.

  2. Search for regedit and click the top result to open the Registry.

  3. Browse the following path:

    HKLM\System\CurrentControlSet\Control\Session Manager\Configuration Manager
  4. Right-click the Configuration Manager (folder) key, select the New submenu, and click the DWORD (32-bit) Value option.

    Registry Configuration Manager

  5. Name the key EnablePeriodicBackup and press Enter.

  6. Double-click the newly created DWORD and set the value from 0 to 1.

    Registry EnablePeriodicBackup key

  7. Click the OK button.

  8. Restart your computer to apply the changes.

  9. Open Start.

  10. Search for Task Scheduler and click the top result to open the console.

  11. Browse the following path:

    Task Scheduler Library > Microsoft > Windows > Registry.
  12. (Optional) Right-click the RegIdleBackup task and select the Run option to run the backup manually.

    Run RegIdleBackup task manually

  13. Right-click the Registry key and choose the “Create Basic Task” option.

    Task Scheduler Create Basic Task

  14. Confirm a name for the task. For example, Run the RegIdleBackup task.

    Task Scheduler task name

  15. Click the Next button.

  16. Choose the Daily option for the “Trigger” setting.

    Task Scheduler trigger

    Quick tip: You can choose any schedule that’s more convenient for you.

  17. Click the Next button.

  18. Customize the schedule to run the task.

    Task Scheduler daily schedule configuration

  19. Click the Next button.

  20. Select the “Start a program” for the “Action” setting.

    Task Scheduler start a program

  21. Click the Next button.

  22. Confirm the following app in the “Program/script” setting: schtasks

    Task Scheduler run Registry backup tgask

    schtasks
  23. Confirm the following argument in the “Add argument” setting:

    /run /i /tn "\Microsoft\Windows\Registry\RegIdleBackup"
  24. Click the Next button.

  25. Check the “Open the Properties dialog for this task when I click Finish” option.

    Task Scheduler open task properties

  26. Click the Finish button.

  27. Click the “Change User or Group” button.

    Task Scheduler Change User or Group

  28. Click the Advanced button.

  29. Click the Find Now button.

  30. Select the SYSTEM group.

    System group for task

  31. Click the OK button.

  32. Click the OK button again.

  33. Check the “Run with highest privileges” option.

  34. Click the OK button.

After you complete the steps, the task will run on the specified schedule to run the task that creates a backup of the entire Registry using five files (Default, Sam, Security, Software, and System), overwriting the previous backup in the “RegBack” folder.

Although it’s possible to modify the “RegIdleBackup” task, it will not work. The only way to make this feature work is by creating a task that runs the “RegIdleBackup” task on schedule, which should work on Windows 10 and 11.

If the time comes when the computer won’t start because of corruption in one of the registry hives, use this guide to restore the Registry from backup to allow the operating system to start correctly.

Why You Can Trust Pureinfotech

The author combines expert insights with user-centric guidance, rigorously researching and testing to ensure you receive trustworthy, easy-to-follow tech guides. Review the publishing process.



Source link