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 Set System Restore Point script

Discussion in 'Windows XP' started by aroonie, 2010/10/29.

  1. 2010/10/29
    aroonie

    aroonie Inactive Thread Starter

    Joined:
    2010/10/29
    Messages:
    1
    Likes Received:
    0
    This solved my problem, The post is 6 years old but deserves an Olympic gold medal so I repeat it below. Thank you Rusta wherever you may be:

    "You can also make a small script and keep it on the Desktop. All you need to do then is to click this and a "fresh" Restore Point is created.

    Here's how to create a script that will create a restore point when you double-click it:

    1. Open Notepad, type the following listing and save it with the file extension .vbs. Important! Make sure that you enclose the file name in quotation marks so Notepad doesn't add the .txt file extension to the name. For example "SystemRetore.vbs" or whatever you want to name it. Whatever you call it, it must end in .vbs. If you don't enclose the entire file name in quotes Notepad will save it as a plain text file and it will be useless to you.

    Copy and paste only the text in "Blue" below to a notepad file and save it as explained above.

    Set SRP = GetObject( "winmgmts:\\.\root\default:Systemrestore" )
    CSRP = SRP.CreateRestorePoint( "Before Changes ", 0, 100 )


    2. Double-click the script file you just created, any time you want to create a fresh System Restore Point.

    It only takes a few seconds to do this. And no dialogues are shown to confirm that a Restore Point was created. If you want to double-check you can click "Start" "All Programs" "Accessories" "System Tools" "System Restore" and click "Restore My Computer To An Earlier Time" . You'll see the restore point you just created (called "Before Changes ") right there. Now be sure to cancel out of System Restore.

    Regards - Rista "

    Cheers to all.........................aroonie
     
  2. 2010/11/01
    mattman

    mattman Inactive Alumni

    Joined:
    2002/06/10
    Messages:
    8,198
    Likes Received:
    63
    Hi and welcome to the WindowsBBS community,

    Thanks for sharing that with us. It's good you found it helpful.

    I will mark this thread Resolved so that others will know it is a solution.
     

  3. to hide this advert.

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.