{"id":1839,"date":"2016-03-05T11:03:13","date_gmt":"2016-03-05T05:33:13","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=1839"},"modified":"2022-01-24T08:43:50","modified_gmt":"2022-01-24T03:13:50","slug":"create-daily-restore-point-task-scheduler-script","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/create-daily-restore-point-task-scheduler-script\/","title":{"rendered":"How to Create Automatic System Restore Points Daily in Windows 10\/11"},"content":{"rendered":"<p>This post tells you how to schedule the creation of daily System Restore point during startup or logon in all versions of Windows, including Windows 10 and Windows 11.<\/p>\n<p>The first method involves a VBScript that I wrote to create restore points, and the 2nd method uses the WMI command-line tool <a href=\"https:\/\/www.winhelponline.com\/blog\/create-system-restore-point-script-windows-10-8-7-vista-xp\/\">Wmic.exe<\/a>. The script method has an advantage where you can force the creation of restore point even if a previous restore point was created within the last 24 hours.<!--more--><\/p>\n<h2>Create Restore Points Daily Using Task Scheduler<\/h2>\n<p>To create a daily <a href=\"https:\/\/www.winhelponline.com\/blog\/create-restore-protection-point-rollback-windows\/\">restore point<\/a> automatically, follow one of these methods:<\/p>\n<h3>Method 1: Using Task Scheduler and VBScript<\/h3>\n<ol>\n<li>Download <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/automatic_restore_point.zip\"><b>automatic_restore_point.zip<\/b><\/a>, unzip and extract the enclosed VBScript file to your <b>C:\\Windows<\/b> directory.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-7.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"373\" height=\"147\" \/><\/li>\n<li>Launch Task Scheduler (<code>taskschd.msc<\/code>) and click <b>Create Task&#8230;<\/b> in the Actions pane.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-1.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"211\" height=\"261\" \/><\/li>\n<li>Type the name and description for the task.<\/li>\n<li>Click Change User or Group&#8230;, type <b>SYSTEM,<\/b> and press ENTER. This makes the task run under the Local System account.<\/li>\n<li>Enable <b>Run with highest privileges<\/b> checkbox.<\/li>\n<li>Select <b>Windows 10<\/b> in the <b>Configure for:<\/b> drop-down list box.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-2.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"600\" height=\"438\" \/><\/li>\n<li>Click the Triggers tab, and click <b>New<\/b>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-3-1.png\" width=\"599\" height=\"480\" \/><\/li>\n<li>In the Begin the task, select either <b>At startup<\/b>, or <b>At log on<\/b> option. If selecting the latter, select <strong>Specific user:<\/strong> so that the task is triggered when logging on to the specific user account.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-3.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"591\" height=\"516\" \/><\/li>\n<li>Click OK, and click the Actions tab<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-3-2.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"598\" height=\"480\" \/><\/li>\n<li>Click <b>New&#8230;<\/b> In the New Action dialog, either type or Browse to select the following file:\n<pre>C:\\Windows\\System32\\Wscript.exe<\/pre>\n<\/li>\n<li>In the <b>Add arguments (optional)<\/b> field, type the path the script is moved, in this case:\n<pre>C:\\Windows\\automatic_restore_point.vbs<\/pre>\n<\/li>\n<li>Click OK.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-4.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"454\" height=\"258\" \/><br \/>\nThis adds the entry to the Actions tab.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-5.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"543\" height=\"181\" \/><\/li>\n<li>Click OK.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-6.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"361\" height=\"107\" \/><\/li>\n<\/ol>\n<p><b>That&#8217;s it!<\/b> You&#8217;ve configured Task Scheduler to create a System Restore point daily.<\/p>\n<div class=\"qt\">\n<h4>More Information &amp; Script Customization<\/h4>\n<p>To check if the scheduled creation of the system restore point has worked, open the System Restore (<code>rstrui.exe<\/code>) window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-8.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"566\" height=\"263\" \/><\/p>\n<p>Note that this script, by default, doesn&#8217;t create a restore point if a recent one exists and is created in the last 24 hours. To <strong>force<\/strong> the script to create the restore point regardless of the last restore point creation date\/time, open Notepad elevated (Run as Administrator) and change the following line in the script:<\/p>\n<pre>i24hrsLimit = 1<\/pre>\n<p>to<\/p>\n<pre>i24hrsLimit = 0<\/pre>\n<p>&#8230; and save the file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-9.png\" alt=\"Create Daily System Restore Points Automatically\" width=\"600\" height=\"209\" \/><\/p>\n<p>The downside of setting it to <code>0<\/code> is that a restore point will be created at every startup\/login.\u00a0For example, if you reboot the computer 3 times a day, there will be 3 restore points.<\/p>\n<p><em>(As you can see in the following screenshot, the script has been run twice and has successfully created two restore points on the same day bypassing the 24 hrs limit. The screenshot is from a Windows 11 device.)<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-25917\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/restore-point-script-rstrui-24-hrs-freq.png\" alt=\"system restore list of restore points in windows 11 - 24 hrs frequency\" width=\"641\" height=\"513\" \/><\/p>\n<\/div>\n<div class=\"qt\">\n<h4>Additional Notes<\/h4>\n<ol>\n<li>The VBScript script used in this article is based on my earlier script at <a href=\"https:\/\/www.winhelponline.com\/blog\/create-system-restore-point-script-windows-10-8-7-vista-xp\/\">Create System Restore Points Using Script Or Command-Line<\/a>, but slightly modified so as to make it run as a scheduled task.<\/li>\n<li>Windows has already a built-in System Restore task that is supposed to create regular system protection points. However, it may not be creating a restore point on a daily basis. Moreover, in Windows 8 and higher, automatic System Restore points are not created if one was already created in the last 24 hours. Also, the frequency (24 hours) can be altered by setting the registry value <code>SystemRestorePointCreationFrequency<\/code>, as specified in the MSDN article <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/aa378847(v=vs.85).aspx?f=255&amp;MSPPError=-2147217396\" target=\"_blank\" rel=\"noopener noreferrer\">CreateRestorePoint method<\/a> of the SystemRestore class.<\/li>\n<\/ol>\n<\/div>\n<hr \/>\n<h3>Method 2: Using WMIC.exe at Startup or Login<\/h3>\n<p>Use the same procedure as above (Steps 1 through 9) for creating the task, but in the &#8220;New Action&#8221; window use the following Program name in the Program\/script: text box.<\/p>\n<pre>wmic.exe<\/pre>\n<p>In the Add arguments (optional), use the following parameters:<\/p>\n<pre>\/Namespace:\\\\root\\default Path SystemRestore Call CreateRestorePoint \"Automatic Daily Restore Point\", 100, 7<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4151\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/03\/sr-task-11.png\" alt=\"create daily restore point script or wmic\" width=\"454\" height=\"500\" \/><\/p>\n<p><i>That&#8217;s it! Hope you found the script and article useful. Let me know what you think, in the Comments section below!<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post tells you how to schedule the creation of daily System Restore point during startup or logon in all versions of Windows, including Windows 10 and Windows 11. The first method involves a VBScript that I wrote to create restore points, and the 2nd method uses the WMI command-line tool Wmic.exe. The script method &#8230; <a title=\"How to Create Automatic System Restore Points Daily in Windows 10\/11\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/create-daily-restore-point-task-scheduler-script\/\" aria-label=\"Read more about How to Create Automatic System Restore Points Daily in Windows 10\/11\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[480,562,581],"class_list":["post-1839","post","type-post","status-publish","format-standard","hentry","category-windows","tag-scripts","tag-system-restore","tag-task-scheduler"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":282,"url":"https:\/\/www.winhelponline.com\/blog\/create-system-restore-point-script-windows-10-8-7-vista-xp\/","url_meta":{"origin":1839,"position":0},"title":"How to Create System Restore Points using Script or Command-Line","author":"Ramesh","date":"May 16, 2008","format":false,"excerpt":"System Restore is a valuable feature in Windows that helps you easily recover the system in the event of any misconfiguration. If you've been using the System Restore feature regularly, then you need to know how to create System Restore Points with a single click using the command-line. You can\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"create restore point wmic shortcut","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/05\/wmic-create-shortcut-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/05\/wmic-create-shortcut-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/05\/wmic-create-shortcut-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":9898,"url":"https:\/\/www.winhelponline.com\/blog\/automatically-backup-registry-hives-windows-10\/","url_meta":{"origin":1839,"position":1},"title":"How to Automatically Backup the Entire Registry in Windows","author":"Ramesh","date":"June 22, 2019","format":false,"excerpt":"Every System Restore point or shadow copy maintains a complete backup of the registry hives. However, Windows 10\/11 doesn't automatically create System Restore points every day. Restore Points are created only when installing important updates or drivers. Notwithstanding the System Restore's excellent capabilities, relying upon System Restore as a file\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"backup registry daily or weekly - regidlebackup task","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/registry-backup-task-regidlebackup.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/registry-backup-task-regidlebackup.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/registry-backup-task-regidlebackup.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1509,"url":"https:\/\/www.winhelponline.com\/blog\/error-0x80070032-when-creating-a-system-restore-point-in-windows-vista\/","url_meta":{"origin":1839,"position":2},"title":"Error 0x80070032 when creating a System Restore point in Windows Vista","author":"Ramesh","date":"October 30, 2007","format":false,"excerpt":"When you try to create a System Restore point in Windows Vista, the following error may occur:Could not create the scheduled task for the following reason:The request is not supported. (0x80070032)This happens if the Windows Event Log and the Task Scheduler services are disabled. Follow these steps to fix the\u2026","rel":"","context":"In &quot;Windows Vista&quot;","block_context":{"text":"Windows Vista","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-vista\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/articles\/content_images\/sr_vista.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1848,"url":"https:\/\/www.winhelponline.com\/blog\/restore-defender-mpidletask-task-scheduler-deleted\/","url_meta":{"origin":1839,"position":3},"title":"Restore Windows Defender Scheduled Scan Task After Deleting it Accidentally","author":"Ramesh","date":"March 5, 2016","format":false,"excerpt":"Windows Defender's built-in scheduled task named \"Windows Defender Scheduled Scan\" is run by Automatic Maintenance when the system is idle. If you've deleted this task by mistake, this post tells you how to get it back in Windows 10. Use any one of the following methods. Restoring Windows Defender Scheduled\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/mpidletask-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3374,"url":"https:\/\/www.winhelponline.com\/blog\/create-restore-protection-point-rollback-windows\/","url_meta":{"origin":1839,"position":4},"title":"How to Create a Restore Point and Roll-back to a Previous Restore Point","author":"Ramesh","date":"June 29, 2016","format":false,"excerpt":"System Restore has always been an invaluable rescue feature built-in with all versions of Windows. It helps you revert back to a previous working state if something goes haywire after installing a software, device driver or an OS update delivered through Windows Update. This post tells you how to enable\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"system restore (rstrui.exe)","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/06\/restore-point-windows.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/06\/restore-point-windows.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/06\/restore-point-windows.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2735,"url":"https:\/\/www.winhelponline.com\/blog\/event-id-414-task-misconfiguration-event-log\/","url_meta":{"origin":1839,"position":5},"title":"How to Fix Event ID 414 Task Misconfiguration Errors in System Event Log?","author":"Ramesh","date":"April 6, 2016","format":false,"excerpt":"Task Scheduler may write Event ID 414 entries mentioning \"Task Scheduler service found a misconfiguration in the NT TASK\\task name\" in the System Event log. This happens if the program or script which the task was configured to launch, is missing.For example, here is a 414 event from the System\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/scheduler-414-err-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/scheduler-414-err-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/scheduler-414-err-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/1839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=1839"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/1839\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=1839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=1839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=1839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}