1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved System restore not creating scheduled restore points

Discussion in 'Windows 7' started by Alicia J, 2010/08/27.

  1. 2010/08/27
    Alicia J Lifetime Subscription

    Alicia J Geek Member Thread Starter

    Joined:
    2002/01/07
    Messages:
    1,132
    Likes Received:
    1
    The only time System restore makes a restore point is for critical updates and manual restore points. I have installed a new version of AV and it did a restore point for that also.

    It is not showing any restore points (in the list of times to revert to) made after startup or midnight, the default setting that I haven't changed.

    In the task scheduler it does show that a system restore was created at startup this AM for instance??

    Systemrestoretasksch.jpg

    Systemrestorepoints.jpg

    Is this an issue with the scheduler or the system restore process and how do I go about fixing it?
     
    Last edited: 2010/08/28
  2. 2010/08/28
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    Arie,
    #2

  3. to hide this advert.

  4. 2010/08/28
    Alicia J Lifetime Subscription

    Alicia J Geek Member Thread Starter

    Joined:
    2002/01/07
    Messages:
    1,132
    Likes Received:
    1
    I missed the part about 7 days. Can you tell me why the last run time listed in task scheduler is not available as a restore point?
     
  5. 2010/08/29
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    Because most likely the task didn't result in a restore point. If the 7 days haven't passed, the task will run & 'complete successfully', but no restore point will have been created.
     
    Arie,
    #4
  6. 2010/08/29
    Alicia J Lifetime Subscription

    Alicia J Geek Member Thread Starter

    Joined:
    2002/01/07
    Messages:
    1,132
    Likes Received:
    1
    That would explain it. Thanks Arie.
     
  7. 2010/08/29
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    This is the work-around I posted to the other thread:

    OK, I played around a bit & this is what I was able to do to solve this.

    Copy the code below in a text file, then rename it to SR.vbs:

    Code:
    '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "
    '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
    Else
      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.

    Next we'll create a task to run it:

    1. In Task Scheduler, click Create a Basic Task, give it a name (I named mine Auto System Restore)
    2. Click Next. Daily should already be checked as Task Trigger
    3. Click Next. You should adjust the starting time to your preferences
    4. Click Next. Start a program should be the default action
    5. Click Next. Under Program/script, browse to \Windows\System32 and select wscript.exe
    6. In the Add arguments box, enter the path to the SR.vbs script (in my case C:\Users\Arie\SR.vbs)
    7. Click Next. Check the box Open the Properties dialog for this task when I click Finish, then click Finish
    8. On the General tab, select Run whether user is logged on or not AND Run with highest privileges
    9. On the Settings tab, select Run this task as soon as possible after a scheduled start is missed
    10. Click OK. You'll be prompted for your password

    That should do it :)
     
    Arie,
    #6
  8. 2010/08/29
    Alicia J Lifetime Subscription

    Alicia J Geek Member Thread Starter

    Joined:
    2002/01/07
    Messages:
    1,132
    Likes Received:
    1
    SR.vbs:
    With the : ?


    '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "
    '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
    Else
    Set oWshShell = WScript.CreateObject( "WScript.Shell ")
    swinmgmts = "winmgmts:\\.\root\default:Systemrestore "
    GetObject(swinmgmts).CreateRestorePoint "Automatic Restore Point ", 0, 100
    End If

    The whole thing? Including
    '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "
    'Create a Daily System Restore point
    '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "
    Or copy from here down:

    If WScript.Arguments.Count = 0 Then
    Set oShell = CreateObject( "Shell.Application ")
    oShell.ShellExecute "wscript.exe ", " "" " & WScript.ScriptFullName & " "" Run ", , "runas ", 1
    Else
    Set oWshShell = WScript.CreateObject( "WScript.Shell ")
    swinmgmts = "winmgmts:\\.\root\default:Systemrestore "
    GetObject(swinmgmts).CreateRestorePoint "Automatic Restore Point ", 0, 100
    End If

    Sorry Arie, I know nothing about scripts.
     
  9. 2010/08/31
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    Yes, as I wrote:

    Yup, all of it, although the 1st lines are just a comment...
     
    Arie,
    #8
  10. 2010/08/31
    Alicia J Lifetime Subscription

    Alicia J Geek Member Thread Starter

    Joined:
    2002/01/07
    Messages:
    1,132
    Likes Received:
    1
    I'll see how chrisw makes out and then go from there. Thanks Arie.
     
  11. 2010/09/02
    chrisw

    chrisw Inactive

    Joined:
    2004/05/28
    Messages:
    311
    Likes Received:
    0
    Alicia,

    I'm still stuck, Arie's been really helpful but I still suspect a bug in Win7. SR was much cleaner in XP.

    chrisw
     
  12. 2010/09/02
    Alicia J Lifetime Subscription

    Alicia J Geek Member Thread Starter

    Joined:
    2002/01/07
    Messages:
    1,132
    Likes Received:
    1
    Yes I agree it was. I ended up using GoBack in XP but before that I used system restore. (still did back ups).
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.