Site menu:

Windows 7 > Tips

Create Daily Restore Point in Windows 7

By: Arie Slob

Windows 7 creates a restore point once every 7 days automatically, if no other restore points have been created. When you install Windows Updates, most (if not all) will create a restore point as part of their install routine.

A lot of 3rd party software packages you install will also create a restore point as part of their installation routine.

You have to realize that Windows System Restore is not a substitute for a backup routine, and system restore only 'backs up' system files, not user files.

Now if you still want to have Windows create a daily restore point, here's how:

  • Copy the code below in a text file, then rename it to SR.vbs
    'Create a Daily System Restore point
    If WScript.Arguments.Count = 0 Then
      Set oShell = CreateObject("Shell.Application")
      oShell.ShellExecute "wscript.exe", """" & WScript.ScriptFullName & """ Run", , "runas", 1
      Set oWshShell = WScript.CreateObject("WScript.Shell")
      swinmgmts = "winmgmts:\\.\root\default:Systemrestore"
      GetObject(swinmgmts).CreateRestorePoint "Automatic Restore Point", 0, 100
    End If
  • Place this in your User folder (C:\Users\your user name\)
  • In Task Scheduler, click Create a Basic Task, give it a name (I named mine Auto System Restore)
  • Click Next. Daily should already be checked as Task Trigger
  • Click Next. You should adjust the starting time to your preferences
  • Click Next. Start a program should be the default action
  • Click Next. Under Program/script, browse to \Windows\System32 and select wscript.exe
  • In the Add arguments box, enter the path to the SR.vbs script (in my case C:\Users\Arie\SR.vbs)
  • Click Next. Check the box Open the Properties dialog for this task when I click Finish, then click Finish
  • On the General tab, select Run whether user is logged on or not AND Run with highest privileges
  • On the Settings tab, select Run this task as soon as possible after a scheduled start is missed
  • Click OK. You'll be prompted for your (amdin) password, enter it

That should do it.

Please note that you will need to have a password set on your user account for this to work. To set a password and have Windows log you in automatically, see Log into your User Account Automatically.