How to create automatic system restore for windows system

How to create automatic system restore for windows system

To create an automatic system restore point in Windows, you can set up a scheduled task that runs the System Restore command automatically. Here’s a step-by-step guide to setting it up:

 

Step 1: Enable System Protection

  1. Open System Properties:
    • Press Win + R to open the Run dialog.
    • Type SystemPropertiesProtection and press Enter.
  2. Configure System Protection:
    • Under the System Protection tab, make sure the protection is turned on for your system drive (usually C:).
    • If it’s not enabled, select the drive, click Configure, then select Turn on system protection and adjust the maximum disk space used for restore points if necessary.

Step 2: Create a Scheduled Task to Automatically Create Restore Points

  1. Open Task Scheduler:
    • Press Win + R to open the Run dialog.
    • Type taskschd.msc and press Enter to open Task Scheduler.
  2. Create a New Task:
    • In the Task Scheduler window, click on Action in the menu bar and then click Create Task.
  3. Set General Settings:
    • In the General tab, give the task a name, like “Automatic System Restore Point”.
    • Select Run whether user is logged on or not to ensure the task runs even if you’re not logged in.
    • Check Run with highest privileges.
  4. Set Trigger:
    • Go to the Triggers tab and click New.
    • Set the trigger to Daily or according to how often you want to create restore points.
    • Configure the time and frequency, then click OK.
  5. Set Action:
    • Go to the Actions tab and click New.
    • In the “Action” dropdown, select Start a program.
    • In the “Program/script” field, type powershell.
    • In the “Add arguments (optional)” field, enter:
      powershell

      -ExecutionPolicy Bypass -Command "Checkpoint-Computer -Description 'Automatic Restore Point' -RestorePointType 'MODIFY_SETTINGS'"
    • Click OK.
  6. Set Conditions and Settings (Optional):
    • You can configure additional settings under the Conditions and Settings tabs, such as waking the computer to run the task or stopping it if it runs longer than a certain time.
  7. Save the Task:
    • Click OK to save the task. You may be prompted to enter your password for administrative privileges.

Step 3: Test the Task

  1. Run the Task Manually:
    • In Task Scheduler, find your task in the list.
    • Right-click the task and select Run to test if it creates a restore point successfully.

Additional Tips

  • Check Existing Restore Points: You can manage and check existing restore points through System Properties > System Protection > System Restore.
  • Automate Restore Point Deletion: Windows automatically manages restore point disk usage, but you can also script deletion based on your criteria using PowerShell if disk space becomes an issue.

 

By setting up this task, your Windows system will automatically create restore points at regular intervals, helping you easily revert to a previous state if needed.

Related posts

Leave a Comment