Create a restore point automatically every time you start Windows!

5 min read

 

System Restore is one of the very useful features in the Windows system, as it plays an important role, which is to save a copy of the state of the system and it is stable to recover it when it is unstable, or in other words when problems occur such as Windows collapse and boot failure ... and others to avoid having to Reinstalling Windows again and losing the installed files and programs, in addition to the time spent in the installation process. However, if you forget to manually create a restore point before performing crucial actions such as installing a new software or driver, you can try the method we review below to have Windows create a restore point on its own every time right after turning on the device, so that you always have A stable system state backup can be restored at any time.

 


All you have to do at the beginning is to make a simple modification to the way the restore point feature works in Windows so that it is ready to work with the start of the system. In other words, Windows does not allow automatic restore point creation if another restore point was created in the last 24 hours, but with a simple modification with the help of the Registry Editor tool, we can change that. Then, we use the Task Scheduler tool to execute the restore point Creation command every time you turn on the device after Windows boot. So, let's start by explaining the steps directly in the next lines.

 

So, you will open the Registry Editor tool, either by searching for it by pressing the Win + S keys, or by opening the Run window by pressing the Win + R keys together, then typing [regedit] and pressing Enter to open the tool window. After the Registry Editor window appears, use the left sidebar to move to the following path, or copy and paste the path into the address bar above, then press Enter:

 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore

 

 


After accessing the SystemRestore folder, right-click in any empty place on the right side, then point the mouse cursor towards New to display a sub-menu, from which you press the DWORD (32-bit) Value option to create a new key for which you will specify the name SystemRestorePointCreationFrequency, then press Enter to save the name. By default, the new key will have a value of zero (0) which is exactly what we need Windows allows automatic restore point to be created more than once in 24 hours. You can now close the Registry Editor and go to the second step.

 

Schedule automatic restore point creation

 

We open the Task Scheduler tool built into Windows by pressing the Win keys + the letter S together on the keyboard to open the search bar, then type “Task Scheduler” and then from the search results, click on the “Run” option. Alternatively, press Win + R together, and in the Run window that appears, type [taskschd.msc] and press Enter. The Task Scheduler window will appear immediately.

 

After running the tool, we create a task that creates a restore point when booting Windows. So you will start by clicking on the Create Task option in the left pane, and in the window that appears, click on the Name field to set the name of the task; You can choose any name that helps you to know the task, such as “Auto Create Restore Point”, and then make sure to activate the “Run whether user is logged on or not” option, and also put a checkmark () next to Run with highest privileges and then choose Windows 10 from the "Configure for" drop-down menu. As shown in the attached image above.

 


Now go to the "Triggers" section and then click on the "New" button at the bottom to appear a new window where you select "At Startup" from the Begin the task drop-down list as shown in the image above, and this is in order to do the task automatically every time at boot windows.

 

After that, go to the Actions section and press the New button to create the required actions in this task, so make sure to select the "Start a program" option from the Action menu and in the Program/script field write the command "wmic.exe" which is for running WMIC commands and then in The field in front of Add arguments, copy and paste the path below into it, knowing that Automatic Restore Point is the name of the restore point that will be created, and you can change it if you want:

 

/Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "Automatic Restore Point", 100, 7

 


 

After completing the required actions, go to the "Conditions" section and disable the "Start the task only if the computer is on AC power" option so that this task is run regardless of whether the laptop is connected to the charger or not; This is of course for laptop users only. Finally, go to the "Settings" section and activate the "Run task as soon as possible after a scheduled start is missed" option, then after completion press the OK button.

 


In the event that the computer is password protected, a pop-up window will appear asking you to type this password and press OK to save the settings, as this task is added to the system’s scheduled tasks. You can then close the Task Scheduler window.

 


Now every time you restart Windows during the boot process the task will run and create a system restore point automatically, which only takes a minute or two at most. This way, even if you forget to create a restore point, there is one already saved automatically in anticipation of any system problem that may occur. Later, if a system problem occurred and you were not able to boot and enter the system, you can boot from a USB flash drive or DVD that contains Windows copy files and go to the Advanced Options screen, then you will find a System Restore option that you start clicking on to select the nearest restore point to restore the system state as it was when generated automatically.

 

You can also review the Delete all or some system restore points in the Windows article to free up more space if the C partition does not have enough space due to saved restore points. If you want to completely disable the task, open the Task Scheduler tool, right-click on the task name from the Task Scheduler Library list, and choose "Delete" to delete the task.

 

 

You may like these posts

Post a Comment